get the billingaddress subrecord and get its count...
# suitescript
b
get the billingaddress subrecord and get its country field
k
Exactly, I am looking for a distinction to verify which billing address has been selected.
b
finish going through the example about retrieving a value from the shipping address
👍 1
your code should be very similar, with mainly changes to internal ids
and probably using scriptContext.newRecord instead of loading the sales order