Hello all, I’m writting a map/reduce script and I would like to refresh an authentication token once at the beginning of the script execution. Does it need to be in the getInputData stage, and then I pass the token onto the next stages?
If i try to run it globally, I get “Failed to Evaluate script: all suitescript api modules are unavailable while executing your define callback”
Any help?