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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
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