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.
How to combine items and add up the quantity using SuiteScript?
Hi All,
I want to ask about suitelet. So I have a Purchase order transaction, on a sublist of items, I want to combine the quantity of items if the items are the same, for example item A1 qty = 1, A1 qty = 2, A1 qty = 3 and A2 qty = 2. So the result I want is A1 qty = 6, A2 qty = 2. How to create an array in the suitelet to combine these quantity items?
Thanks,
Rizky
Tagged:
0