Sylvain Goujon
12/11/2023, 2:46 PMalien4u
12/11/2023, 2:48 PMrecord.submitFields this will trigger at least an XEDIT event.battk
12/11/2023, 4:12 PMdisableTriggers which can be used like ignoreMandatoryFields in the optionsalien4u
12/11/2023, 4:19 PMdisabletriggers works is because it was available as:
nlapiSubmitRecord(recordType, {disabletriggers : true, enablesourcing : true});
In SuiteScript 1.0 and because SuiteScript 2.0 uses a lot of underlying 1.0 logic (it feels like a wrapper).
It will be interesting to test if this will work with 2.1.