Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Problem with getting item info from a sales order saved search
I have a saved search that pulls sales orders for a specific customer based on their email. In the search, it also returns information about the item on the sales order. It works fine inside of NetSuite, but fails when i call it from a suitelet.
The failure occurs when i specify an item column in my column array. In the code snippet below, you will see the line - "columns[6] = new nlobjSearchColumn('storedescription');".
This causes the following error - "An nlobjSearchColumn contains an invalid column, or is not in proper syntax: storedescription."
I also get this error if i try to access the online price or any price. Is there a problem with my syntax? I can't find any suggestions in the online help.