Multiple Shipping Routes. The client is using this...
# suitescript
e
Multiple Shipping Routes. The client is using this feature, I have worked in different customizations with this feature. I'm having an issue when I update a sales order, specifically the ship to on the line level and then saving the order (user event script, after submit that is triggered after saving a custom record), the extra shipping groups are not generated. I mean, I'm adding different ship to on specific lines and for every change, a new shipping group should be added. At least that is the behavior when I have created an order via script. The weird thin is that if I update the order manually on the UI, and click calculate, the extra shipping groups are added. So I"m not sure if I'm missing something on the script that should trigger the re-calculation of the shipping groups, my understanding that it is automatically.
If someone faced the same issue, before I asked to stanley-ai I was already re-loading and saving the sales order on the same script. However it seems that NetSuite wanted me to set again the address on the line level and that did it 🙂 So I'm not sure if I'm missing something on the first loop/set of the address but repeating the process seems to trigger the NetSuite Multiple shipping routes. This is for an already order created and I was just editing it.