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