is there a way to fetch countries and state list via suitescript 2.0?
m
michoel
01/15/2020, 10:57 AM
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.