screnshaw
04/21/2022, 1:12 PMDetails: Fail to evaluate script: All SuiteScript API Modules are unavailable while executing your define callback
when I try and upload a file (already created) that references this library file. Anyone seen this before or know how to get around it? It works as long as I don't actually call the runtime module
function getEnvironment() {
log.debug("envtype", runtime.EnvType)
}
return {
DEV: 'SANDBOX',
TEST: 'UAT',
PRODUCTION: 'PRODUCTION',
getEnvironment:getEnvironment
};
Sandii
04/21/2022, 2:13 PMscrenshaw
04/21/2022, 3:38 PM