pen one
09/29/2020, 12:17 AMbattk
09/29/2020, 12:19 AMbattk
09/29/2020, 12:20 AMpen one
09/29/2020, 12:31 AMif ((type == 'item') && (name == 'quantity') && (name == 'costitemtype'))battk
09/29/2020, 12:36 AMbattk
09/29/2020, 12:36 AMbattk
09/29/2020, 12:42 AMjen
09/29/2020, 6:49 PMjen
09/29/2020, 6:49 PMfunction FieldChanged(type, name) {
// Check that we changed the quantity for anitem.
if(type == 'item' && name == 'quantity') {
// Check that the cost estimate type is whatever value we need it to be
var cet = nlapiGetCurrentLineItemValue('item', 'custitemtype');
if(cet == /* put your check value here */) {
// execute the rest of your code here
}
}
}pen one
09/29/2020, 9:06 PM