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
PSA: Result.getValue(options) API has changed - but the documentation has not
Hi All,
We have a few scripts that use the "function" column on search results to do things like group dates by month/quarter/etc. We were calling these searches and processing the results in SS2. We would typically do something like:
result.getValue({ name: 'trandate', summary: 'group' });
And life was grand. That was until about a week ago, when all of these calls started to fail. Using the above would return null.
After some digging in the browser, the API now takes 4 parameters - name, join, summary, and func. If you do not specify the func options, you get null. So our new call is:
0