@PabloZ I had posted originally. Our issue was related to to the order total not updating when we set the shipping amount in the cart script. Our original implementation relied on the order total updating when the shipping cost was set via the changed field function. Our initial workaround was to also use the recalc function to set the shipping and then the order total would update. Someone later pointed out that if we changed one of the parameters in
nlapiSetFieldValue
, we wouldn’t need the recalc function as they had the same issue.