Hello. I set billing address and shipping address ...
# suitescript
b
Hello. I set billing address and shipping address in SO record.
Copy code
soRec.setValue('billaddresslist', addressId);
                soRec.setValue('shipaddresslist', addressId);
I can see Bill To Select is chosen as I set, but that Ship To Select is always showing me as 'Custom'. Could someone help me on this please?
c
is the address you are trying to set available on the customer as an address?
b
Yes it is. That's why Bill To Select is chosen properly?
I checked customer record as well
If I print it in XML, it shows weird value and if I find that in Customer Saved Search it doesn't exist
Even I set in one code, they are different in XML
b
make sure there isnt another script or workflow which is modifying the address
b
I undeployed all UE scripts and WFs
I found that if I set Shipping Cost field static, it shows properly but if I comment it then it changes to "Custom"
b
for this particular issue, you also want to check client scripts on address record forms
b
could you tell me where to find that scripts please?
b
b
Does this mean it doesn't have attached scripts?
b
yes