In SuiteScript 1.0, when calling save we have the option to pass disabletriggers true to avoid running user event scripts from a scheduled script. In my case, I'm using SuiteScript 2.0, and trying to save a vendor record before attaching address and contact details. But, various User Event scripts are triggered which save the vendor record and cause a RCRD_HAS_BEEN_CHANGED error in the original Map/Reduce.
Is there a way to avoid triggering user event scripts in SuiteScript 2.0?
For reference, in SS1.0:
nlapiSubmitRecord(salesorderrecord, {disabletriggers : true, enablesourcing : true});
But this doesn't appear to work in 2.0