``` log.debug("record update", "start"...
# suitescript
s
Copy code
log.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"