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!
Can't Change SO Quantity
I have made a client script to change the SO quantity field for all items on page init event.
But the script doesn't work, I will explain the steps a take to test my code.
- At first I use the API function nlapiSetLineItemValue('item', 'quantity', 1, 6); nothing happened.
- Then I tried this function with a custom column field, it works but you can't see the change until you select the item line.
- Next I tried to select the item line and change the value and text of a custom column field and quantity field, then commit the line.
[B]
nlapiSelectLineItem('item',i)
0