Hello. Is there any settings that force to set Shi...
# general
b
Hello. Is there any settings that force to set Ship To Select as Custom in Sales Order if SO is created in SuiteScript? I don't see it happens in UI but if I create SO in SuiteScript and set its Shipping Address like this, it always change to Custom.
Copy code
addressId = 18112;                
                soRec.setValue('billaddresslist', addressId);
                soRec.setValue('shipaddresslist', addressId);
Bill To Select is chosen as expected which is 18112 and Shipping address shows same value but Ship To Select is changed to Custom. I undeployed all scripts and WFs shown in Scripted Records to make sure it happens from other scripts/WFs. I found that if I set Shipping Cost field static, it shows properly but if I comment it then it changes to "Custom" Any help would be appreciated.