is there a way to fetch countries and state list v...
# suitescript
v
is there a way to fetch countries and state list via suitescript 2.0?
m
You can get the two digit alpha code by starting to create a record and checking the available select options as per the example here https://suitescript.blogspot.com/2017/06/fetch-country-list-country-code.html?m=1, but there is also a numeric internalid that I haven't found a way to retrieve via code. Most people just hardcode a lookup table.
v
Thank you @michoel, this is helpful. 🙂