Hey all, any suggestions for comparing shipcountry...
# suitescript
c
Hey all, any suggestions for comparing shipcountry and a country field? Seems shipcountry uses a short code and country field returns internal id for country (which can't be looked up for further details from what I can see) or lookup as text returns the full country name so no direct comparison available.
s
I'd use NFT
geography
module to do a lookup.
you can of course swipe that module code by itself, without the rest of NFT https://github.com/ExploreConsulting/netsuite-fasttrack-toolkit-ss2/blob/master/geography.ts
c
Interesting. I shall have a look thank you!