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!