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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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