Executed when a user tries to delete a record.
Tables
This trigger executes before the default delete behavior. The record is not deleted if an error occurs in the trigger code.