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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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
Column types invalid on nlobjList addColumn
I'm doing a search that contains results from list/record fields and applying them to an nlobjList.
For the method addColumn(name,type,label,align), if I apply the type 'select', it gives me an error. If I change the type to 'text', it returns a value, but unfortuantely returns the value (integer) of the list/record and not the text (as is done in a typical UI search).
How do you get the result to return the text of the list/record column? Is there another name to be used in 'type' for list/record columns?
Help docs would indicate that is should be 'select' based on both other methods that use a 'type' parameter and in the SuiteScript Records Browser which defines the column as a 'select'.
0