Discussions
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)