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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
CASE 705104: nlapiGetLineItemValue is throwing UNEXPECTED ERROR
I have been testing a server Suitescript that is triggered before save for a sales order and it looks through the line items looking for information.
When the script gets to this line:
var itemID = nlapiGetLineItemValue('item', 'item', 0);
It creates an unexpected error. I have tried the same thing with a few other columns as well as looking for the information after submit using the record object to no avail. I think it maybe something specific to this account as other scripts I've written for my other account seems to be fine.
Thanks in advance for your help!
0