Delete trigger method for doctype

When submitting a record in a doctype there is on_submit when cancelling a record there is on_cancel and when inserting/saving there is validate. How about when a record is deleted? what would it be?

ok i found it on_trash method

1 Like