Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
nlapiGetLineItemText giving null value on Save Record function.
nlapiGetLineItemText is giving null value when written on Save Record function.But the same code is giving the correct values when written on Field change function.
Any ideas?
for (var i=1; i<=count; i++) { var unitVal = nlapiGetLineItemText('item','units',i); nlapiSetLineItemValue('item','custcol_units_text',i,unitVal); }Thanks,
Iby
0