Discussions
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.