Netsuite Tragic
07/05/2023, 2:01 AMvar currentRecordObj = context.currentRecord;
var fieldName = context.fieldId;
// Check if the field changed is either 'entity' or 'shipaddresslist'
if (fieldName === 'entity' || fieldName === 'shipaddresslist') {
// Get the value of the 'entity' or 'shipaddresslist' field
var fieldValue = currentRecordObj.getValue({
fieldId: 'shipstate'
});
log.debug('fieldValue : '+fieldValue);
battk
07/05/2023, 2:04 AMNetsuite Tragic
07/05/2023, 8:48 PM