erictgrubaugh
12/07/2020, 8:23 PMload()
the record, add the new line values using setSublistValue()
, then save()
the record. Why wait until afterSubmit
? Generally if you're modifying the same record, you want to prefer beforeSubmit
to avoid committing the record to the database twice on every save