Join Slack
Powered by
All im trying to do is check to see if the default...
# suitescript
r
rmlakhani
10/31/2018, 1:30 PM
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
Nik
10/31/2018, 1:32 PM
if (isDefaultBilling == true) should be replaced with if (isDefaultBilling == 'T')
r
rmlakhani
10/31/2018, 1:32 PM
The condition is working fine
rmlakhani
10/31/2018, 1:33 PM
the issue is I am getting a Value for Country when I don’t physically see a country value on the record
n
Nik
10/31/2018, 1:36 PM
Not sure how can that be. What is the value you are getting? Also, try on a different record as well.
r
rmlakhani
10/31/2018, 1:37 PM
When I do getValue I get “US” when I do getText I get an error.
Open in Slack
Previous
Next