beforeSubmit(type) // Before Submit, 1.0
beforeSubmit(scriptContext) // Before Submit, 2.0
afterSubmit(type) // After Submit, 1.0
afterSubmit(scriptContext) // After Submit, 2.0
ParameterDetailsSuiteScript 2.0-scriptContext{Object}scriptContext.newRecord{N/record.Record} A reference to th...