Event control

Description

This event is called when modifications are made to properties in a class unless the assignment is done in the AREAD_AFTER event. The data type controls (format) and the verification that the field is not empty, if mandatory, have already been done.

In this code, the development partner can only perform controls and call an ASETERROR method for an error. In this case, the update of the property will not be done.

No direct update can be done on the property.

Context

The following variables are available in the context:

  • CURPRO variable gives the name of the concerned property.
  • AINDEX variable 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.
  • this is the current instance where the property is located.

Note

A global control (CURPRO being empty) is called after all field controls have been performed.