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