Scott Foster
10/26/2022, 11:04 AMmichoel
10/26/2022, 11:22 AMnlapiGetCurrentLineItemValue
to retrieve field values on the current record. If you want to look up item fields, you will need a lookup (e.g. nlapiLookupField)michoel
10/26/2022, 11:23 AMvar itemId = nlapiGetCurrentLineItemValue('item', 'item');
var lifeCycle = nlapiLookupField('item', itemId, 'custitem_product_lifecycle');
if(lifeCycle === 'EOL (End of Life)') { ... }
Scott Foster
10/26/2022, 11:26 AMmichoel
10/26/2022, 11:26 AMScott Foster
10/26/2022, 12:49 PMec
10/26/2022, 5:33 PM