Event init
Description
This event is called for every property through the AINIT class method by the supervisor layer, just after the creation of an instance. If an instance is created before a read operation from the database, it will not be called.
This event is also called on child class properties when a line is inserted by the standard methods used to insert a line.
Context
The following variables or properties are available in the context:
CURPROvariable gives the name of the concerned property.AINDEXvariable gives the current index if the property is an array. This is available only on some system classes. No variable arrays exist on persistent or normal classes.
Note
After all INIT events have been performed, a final one is called with an empty CURPRO value to allow the execution of global code if needed.