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.
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