This code:
var salesOrderStatus = nlapiLookupField('salesorder', '10403', 'orderstatus'); is throwing this error:
Error Code: SSS_INVALID_SRCH_COLUMN
Error Data: An nlobjSearchColumn contains an invalid column, or is not in proper syntax: orderstatus.
[LIST][*] I have confirmed with the help that 'orderstatus' is the correct field name.[*] I have confirmed in my account that 10403 is a valid sales order[*] I have confirmed with the help that 'salesorder' is the correct record id.[/LIST] I'm able to load the sales order with nlapiLoadrecord() and retrieve the orderstatus value no problem.So I'm really confused why this isn't working. I'm still on the old version os NS, not sure if this has something to do with the new version?Has anyone else found this problem?