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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Grouping on Search yields funny results
I am attempting to search on a transaction, and am looking for the total quantity ordered for a single item on the transaction, even if it is broken up between two lines.
For example, Widget A is sold on 2 line items of a Cash Sale (for whatever reason the customer wanted it on two lines) I want the quantities to be summed - ie line 1 there were 16 sold and line 2 there were 4, so show me the Sum of the 2 = 20.
HOWEVER, I am getting 60, consistently. The number of items sold when I am sum the quantity is coming out to 3x the quantity sold on all lines for that item. When I remove the SUM and display each line, I return 16 & 4. So, the query is correct.
0