All im trying to do is check to see if the default...
# suitescript
r
All im trying to do is check to see if the default billing has a country set then do certain logic and if its not set then do other logic
n
if (isDefaultBilling == true) should be replaced with if (isDefaultBilling == 'T')
r
The condition is working fine
the issue is I am getting a Value for Country when I don’t physically see a country value on the record
n
Not sure how can that be. What is the value you are getting? Also, try on a different record as well.
r
When I do getValue I get “US” when I do getText I get an error.