Hello, I am trying to set a foreign country in the...
# suitescript
p
Hello, I am trying to set a foreign country in the addressbook sublist on a vendor record by using the following code: subrecAddress.setText({ fieldId: 'country', value: stCountry });
b
basic answer is to set the country first
in your case, you probably want to use setValue
p
what value do you need to set the country field? I get the full text version such as 'India'
should match the 2 letter iso 3166 code
p
got it