Event adelete_before

This event is called before the deletion of a line, after the automated consistency control of the referential integrity has been done.

The deletion can still be refused if an error is set in this event. If not, the deletion will be done in the database by the DeleteByKey instruction. This instruction deletes the current line if the UpdTick value has not been modified.

For nested classes, this event is done in descending nesting order. This means that the event is done at the header level and then on every nested line. If a line has sub-lines, the sub-lines events are done after every line event.

Context

The following variables or properties are available in the context: