Using (almost)standard live-integration as supplied from DW, we have som strange behavoir, when getting data for an order from NAV.
We are getting user specific prices for at loggedin customer, and setting those prices on the order. That is all fine.
The problem is the fee for shipping is not getting set.
The orders totalprice is not updated to reflect the shipping option selected.
If we try to call "order.ForcePriceRecalculation()" then the shippingfee is set, if we make a second update call to the cart.
Looking at it in the debugger, we can se that on the first call, the shippingmethod is not set to reflect the "changed" shipping. Doing an update to the cart, the fee is correct.
I am attaching the c# file for reference
/Kenneth