superkumario64
01/05/2018, 12:49 AMlog.debug("record update", "start");
var objRecord = record.load({
type: record.Type.CUSTOMER,
id: srch.id
});
log.debug("record update", "loaded");
objRecord.setValue({
fieldId: 'custentity_initiallasent',
value: 'T'
});
var entityidd = objRecord.getValue({
fieldId: "entityid"
});
log.debug("entittyid", entityidd);
log.debug("record update", "value set");
objRecord.save({
enableSourcing: true,
ignoreMandatoryFields: true
});
log.debug("done", "huzzah");
Why will this record not get saved? I see the "record update", "value set" in the execution logs, but it never gets to "done", "huzzah"