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
Undocumented 2009.1 Change to search column fields
FYI. We found a change to search column results in v2009.1 that caused an error in some scripts. It appears this was not the case before 2009.1. The change was not documented (unless I missed it).
The field "class" is class with "full hierarchy" and "classnohierarchy' should be used to get the class if you use that field as a column in a saved search method to get data.
classId = searchResult.getValue('class'); needed to be changed to
classId = searchResult.getValue('classnohierarchy');
Have fun!
0