|Navigation: Templates > Guide to all Templates > Extension Templates > Local Business Rules Manager >====== Local Business Rules Manager ======|
The Local Business Rules Manager is used to designate the business rules that will be checked in the designated procedure. The Global Business Rules extension should first be applied before setting the following options:
All Rules Description
Enter the name to be used as the title text of the rules list window. The Business Rules Handler controls the rules list window.
Check Rules After Open Window
Check this box if you wish to check your selected business rules immediately after the window is opened. You can then give the user the option to view “broken rules”, so that they are aware of information that must be entered.
Check Rules After Fields Change
Check this box if you wish to check your selected business rules immediately after fields are completed (accepted) on the window. This can allow your business rules to be consistently checked, especially in the scenario where multiple fields are used with a particular rule.
Check for Global Rules Controls
Check this box to apply the global settings of selected controls to apply to this procedure. See Business Rules Controls for more information.
Press this button to designate special hot fields that may or may not be populated on your window, but are included in the business rules that you need to check.
Used Global Rules
Press this button to allow you to include rule bases (or sets) that you have defined globally.
Press this button to allow you to create new rule bases (or sets) to check locally in this procedure.
Override Global Form/Browse Controls Actions
Check this box to enable the When any Rule is broken group, which allows you to override the Global settings.
When any Rule is broken
Regardless of where the Rules Set is defined (Global or Local), the settings here designate specific controls that must be disabled or hidden anytime that a rule is broken. These settings can be overridden on the procedure level.
Disable Form “SaveButton”
Check this box to disable any SaveButton control template when a rule is broken.
Hide Browse “InsertButton”
Check this box to disable any InsertButton that is a populated component of the Browse Update control template when a rule is broken.
Hide Browse “ChangeButton”
Check this box to disable any ChangeButton that is a populated component of the Browse Update control template when a rule is broken.
Hide Browse “DeleteButton”
Check this box to disable any DeleteButton that is a populated component of the Browse Update control template when a rule is broken.
The specified controls above may be disabled or hidden when the window is first opened, after a rule check reveals one that is broken.
Check for Global All Rules ' Other Controls
Check this box to allow this procedure to check for global control equates to hide/unhide or disable/enable when a rule is broken. When unchecked, the global settings are ignored by this procedure.
All Rules ' Other Controls
Press this button to display a dialog that allows you to hide/unhide or enable/disable special controls anytime that a rule is broken. On the procedure level, the controls you set are only valid within this procedure's scope.