<@UFAHSLYJ1> If it's only breaking for deletes and...
# suitescript
j
@Craig If it's only breaking for deletes and you don't want it to run just add an if at the top of you afterSubmit that makes it only run if it's not a delete
if(scriptContext.type !== scriptContext.UserEventType.DELETE){