Dear Community,
I am trying to come up with a simple script button that clears all the quantity to zero on my item sublist.
I've already have a custom button on my item sublist.
I've tried using selectLineItem, setLineItemValue through a loop to change all the qty on my list.
...for 13+ item lines on my item sublist.
it works, but it takes about 8 seconds (freezing up)...way too slow.
is there a better/faster way to clear all the quantity to zero? i don't want to remove the lines. i just want to set it to X qty for all items
can this be written through a suitelet? i am using a user event to load the button, then calling the clear all quantity function on an undeployed client event