`beforeSubmit` and `afterSubmit` would trigger whe...
# suitescript
d
beforeSubmit
and
afterSubmit
would trigger when you hit a save on the record, not your button