Assignment
Conceptual properties
Logical properties
Data types
Use
Generation of instructions in the INITIALIZATION section, after the load view instruction (PRESENT( Adelia Context or Visual Adelia and Adelia Web Contexts) ), for all properties, whatever their use.
Click below for more information on generating management rules in programs (generation paragraph, and the generation point within the paragraph):
Substitution principles
The management rule text variables $$Id are replaced by the screen field of the property to which the management rule is assigned.
The management rule text variables $LogicalProperty are replaced by the file field of the property named LogicalProperty, if the latter belongs to the same entity as the property to which the management rule is assigned.
Important note: The replacement of the $$Id and $LogicalProperty variables with a screen field or a file field obeys different rules according to the variable syntax and the program type.
Click here for more information about substitution principles.
Example
Date formatting.
1. Specification of the management rule:
WDATE = $$DATE
$$DATE = &DATE6_FORMAT (WDATE;YMD;DMY)
2. Result in the program:
WDATE = ZDATE
ZDATE = &DATE6_FORMAT (WDATE;YMD;DMY)