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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
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