Executed before a record is deleted from the table.
(Boolean) If true, the record is deleted. If false, the record is not deleted. This value is checked after each function call.
The action is canceled but the page is not closed if an error occurs in the trigger code. You can use this trigger to write to the database.