Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Change in the Default Behaviour of Shipping Cost
According to Suite Answer Id: 12660, we set the default shipping rate for our in house trucking to Flat Rate =0. This was done several years ago.
Sales will manually calculate the charge and enter it into the shippingcost field on an estimate or salesorder. Up until 6/13/2019 when an estimate or salesorder was edited (item removed, a subtotal recalculation occurred, etc.) and the corresponding SuiteScript triggered, the shipping cost was never affected. Now whenever an edit occurs the shipping cost changes back to the flat rate of Zero.
I found Answer ID 12034 that describes this as a default behavior. I can fix most of the code using NS's suggestion of saving the shipping cost after the loadRecord and resetting the field value just before the submitRecord.