Allows mentioning an attribute to indicate that we want a transaction rule to be executed after that attribute value has been entered by the user.
Rule [ IF after(attribute) ];
It's the attribute for whose value we want to wait in order to execute the rule.
A2 = A3 *A4 if After(A5);
The rule is executed after the A5 attribute value has been entered by the user, or after level in the iSeries environment, or after confirm in the Java environment or Web interface.
It is not necessary to define rules like the following:
A2 = A3 *A4 if After(A3);
A2 = A3 *A4 if After(A4);
GeneXus already knows that to trigger these rules, it has to wait until the user has entered both A3 and A4. However, if you want to change the triggering moment, and set it to happen after having the value of a certain attribute that is not included in the rule, this function can be used.
Boolean (True or False)
The evaluation of the After(attribute) function returns a Boolean value (TRUE or FALSE).
The After(attribute) function becomes TRUE after the specified Attribute is entered by the user.
The After(attribute) condition works just like the Level(attribute) condition in the iSeries environment and works just like the After(confirm) condition in the Java environment or Web interface.
Only input attributes can be specified as parameters; otherwise, the Rule will not be triggered.
Objects Transaction object