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.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
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