Hi All, I have a scenario where I am running a sch...
# suitescript
s
Hi All, I have a scenario where I am running a schedule script and in my schedule script I have some record which are loaded and its edited and saved. I was just wondering is possible to not run the userevent which are deployed in the record ?
m
Hi Samyt, In 1.0, use var currentContext = nlapiGetContext(); if( (currentContext.getExecutionContext() != 'scheduled') {//then proceed }. In 2.0, use the N/runtime module. var executionContext = runtime.executionContext;