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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Updating a Custom Field when an Order is Approved
Since the shipping costs and handling charges are 2 separate fields in the sales orders, to know the total shipping charges we always need to get our calculators and add them together.
To avoid this we created a custom body field called "custbodytotship" which is updated with the sum of the shipping/handling charges. We got this to work every time an order is entered manually and saved, but not when the orders come from the web. We need to manually edit and save the order for this field to be updated.
We want to to have this custom field updated every time we APPROVE an order. So we created the following script:
0