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.
NlobjSearchColumn Grouping
I am hoping somewhere here has some experience with this. I'm on the last leg of my script and I cannot figure out, for the life of me, why this is not working properly.
I basically have an array that contains the 'itemid' for multiple items. To keep it simple, in this example, The array is as follows:
searchResults[0].getValue('itemid') = '12345'
searchResults[1].getValue('itemid') = '12345'
searchResults[2].getValue('itemid') = '12345'
I'd like to get only unique values for the itemid field, based off of my search results. I've tried the following:
When I don't use the group function, it seems to be passing the values properly
0