Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Searching for Item Group members results in wrong order
We have several item groups with "Reference Start/End Lines on Picking Tickets" set to false and "Display Components on Transactions" set to true.
I'm trying to write a set of user event scripts to validate our sales orders and fulfillments, and these scripts need to detect whether a set of line items represents an item group. Changing the properties of the item group is not an option.
My approach is to run a search on items of type 'Group' to get a list of member items, and then match them against the sales order line items. However, searching through the UI or the api returns the member items in a different order from the order specified in the item group. When entering an item group on a sales order, the member items get added in the order specified by the item group. This discrepancy is preventing me from writing my matching algorithm.