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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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