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.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Recalculate Shipping Cost in Suitelet?
Does anyone know of a way to have the system recalculate real-time shipping costs via a Suitelet server-side script?
I have a custom suitelet that takes package information (provided in a POST request when the user submits a custom form) and transforms a sales order to an item fullfillment transaction via the nlapiTransformRecord function. The script adds the package lines to the item fulfillment with weight, declared value, etc...
I want to have the system perform a Shipping Cost recalculation based on the packages added to the new item fulfillment during script runtime.
0