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