does anybody know how can i get the deployment ID ...
# suitescript
m
does anybody know how can i get the deployment ID of the script I am running? (Map reduce)
s
First run the N/runtime module, do getCurrentScript(), and one of the object members can give you a deployment ID, does that work?
Copy code
// Add additional code
...
var scriptObj = runtime.getCurrentScript();
log.debug('Deployment Id: ' + scriptObj.deploymentId);
...
// Add additional code
https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4439939144.html
m
thanks