Event ainsert_control_before

Description

This event is called before the insertion of a line in the database. It allows assigning values on properties, because no control has yet been done on the properties.

After this event is called, three controls will be done on every property of the class:

When nested classes must be controlled, such as a 3-level header / line / sub-line structure exists, the event is performed on the header level first, then on the first line and its associated sub-lines, on the second line and its associated sub-lines, and so on.

Context

The following variables or properties are available in the context: