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
nlapiLookupField() throwing bogus errors
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?
Steve Klett | Senior Developer
NetValue Technology
0