I am using the script to calculate the shipping cost when the order is saved. Each line item has a shipping method and their % is stored in the custom body field. I get the shipping cost by multiplying the line amount with the % of that shipping method from custom field. It is working perfectly. I can set it on the "shipgroup" sublist.
The problem comes when calculating tax. There are times when the shipping for shipping method "A" should be 0 (based on 0% in the custom field). But in NetSuite, shipping item "A" is defined as 5%
So Avalara is calculating the tax based on 5% instead of 0%. I have set the line as Non-Taxable but it doesn't work on the current save. You need to edit the order, calculate the tax, and then save the order.
Any suggestions?