Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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: