Documentation >
MAC-PAC Reference Library >
Distribution >
Expert Configurator >
Key Concepts and Procedures >
Rule Definition >
Return Rules
Return Rules
When a condition is met that requires a previously processed option select screen to be reviewed or changed (and no screen validation rule results in that screen being redisplayed), a return rule is specified. A screen validation rule will cause the most recent screen generation rule in its releasing path to be redisplayed.
A return rule specifies a previously processed sales order entry rule that should be returned to depending on the logical interpretation of the current rule. Screen Generation rules are most commonly the type of rule used as a return rule. For example, if the current rule's result is listed as true, and the current rule is processed and interpreted as true, control is passed to the rule that is listed as the return rule. By returning in this manner, a previously processed option select screen is re-displayed for review or reentry of options.
Screen validation rules are used to validate information entered on an option selection screen. A return rule is specified for situations in which a rule, not released by the most recently processed screen generation rule, induces the need to redisplay a screen which has already passed all validation. The return rule is not required to be a screen generation rule. However, in order to process a return rule, a subsequent screen generation rule must exist in the releasing path, between the return rule and the rule that specifies the return rule.