erictgrubaugh
05/17/2017, 5:04 PMnlapiGetNewRecord docs (I imagine context.newRecord works equivalently):
Available in beforeLoad, beforeSubmit, and afterSubmit user event scripts. You are not allowed to submit the current or previous record returned by nlapiGetNewRecord.
When triggered by an inline edit event (type == xedit), this function only returns the field and sublist line item values that were edited. For all other triggers, nlapiGetNewRecord returns all record object values.