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.
SuiteWorld | October 25–28, 2026 | Las Vegas Where our community gets ready for 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. Join us
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. Join us
Getting result values off of a search resultset, getValue method fails
EDIT:
Problem gone. In my saved search there were a couple of lines where these 2 custom fields were empty, which resulted in every line of that column being empty when I tried to retrieve it through code, once I filtered away these in the saved search, the problem was gone and I retrieved values as intended.
Sorry for the both vague and redundant topic title but that's the best way I can describe the problem in 1 sentence.
I am currently running a saved searched through code.
var savedSearch = 'customsearch602'; // id-string var mySearch = search.load({ id: savedSearch }); var resultset = mySearch.run(); var results = resultset.getRange({ start: 0, end: 1000 }); // resultset returned as an array
Tagged:
0