Hello, any ideas how to know with suitescript if you are in Sanbbox 1 or Sandbox 2 ?
Copy code
var environment = runtime.envType;
only returns SANDBOX for both. thanks
n
NElliott
09/14/2020, 10:33 AM
never tried but have you looked at the accountid instead, maybe that includes more than just the numeric part? If you're in client script you could look at the url...