Documentation >
MAC-PAC Reference Library >
Distribution >
Expert Configurator >
Key Concepts and Procedures >
Expert Configurator Rules >
End Debug Rule
End Debug Rule
Identifies the ending point, within a Bill of Rules, to end tracking rules processed and to display the Debug Screen. The end debug rule can be used in sales order entry configuration and/or pricing configuration.
If an error causes the configuration process to end and a start debug rule was processed, the debug screen will automatically display; regardless if an end debug rule exists or not.
Identification
System Identifier: 06
Valid Rule Categories: Sales Order Entry
Pricing
No action expressions are used in an end debug rule.
Add an End Debug Rule
1. Display the Rules Maintenance Function Select screen.
a. Select the Expert Configurator option from the System Application Menu.
b. Select the Sales Order Entry or Pricing Rule Maintenance options from the Expert Configurator Application Menu to display the select screen.
2. Enter the Function Select information.
a. Assign a unique number to the rule.
b. Enter the action code for an end debug rule in the Action Code field. Action codes are defined in category Y03 on the Reference File.
c. Enter a 1 (addition) in the Maintenance Code field.
d. Press the Enter key to display the header screen.
3. Enter the header information. See the Standard Rules Header screen (EC100S03) for more information.
4. Press the Enter key to display the detail screen.
a. Enter the condition statement. (Optional)
The condition determines if the rule result is true or false. If the condition expression is interpreted as true, the action expressions are processed. Rules are released based on the result of the condition. If no condition is entered, the condition is interpreted as true. In some cases, the user may want to end rule-tracking only in particular cases. For example, the user could write a condition statement that would quit tracking rules and display the debug display screen when a particular combination of options were chosen:
((O,LUXURY,EQ,"Y"),&,(O-COLOR,EQ,"CEDAR")). In this case the debug would end when an order for a luxury model of a cedar color desk was processed.
If an end debug rule is not defined, the Debug Display Screen, initiated by a start debug rule will only be displayed if an error in configuration occurs and the online configuration process ends.
Change an End Debug Rule
1. Select the Sales Order or Pricing Rule Maintenance option from the Expert Configurator Application Menu to display the select screen.
2. On the Rule Maintenance Function Select screen:
a. Enter the end debug rule number in the Rule Number field.
b. Enter a 2 in the Maintenance Code field to change the header information for the end debug rule. Enter a 3 in the Maintenance Code field to change the detail information for the end debug rule.
3. Change the descriptive data for the end debug rule and press the Enter key.
4. If all fields are valid, the rule is changed on the Rule Master File.
Reactivate or Deactivate an End Debug Rule
1. Select the Sales Order or Pricing Rule Maintenance option from the Expert Configurator Application Menu to display the select screen.
2. On the Rule Maintenance Function Select screen:
a. Enter the end debug rule number in the Rule number field. All rules released by this rule must be deactivated before this rule can be deactivated.
b. Enter a 4 in the Maintenance Code field to deactivate the end debug rule. Enter a 5 in the Maintenance Code field to reactivate the end debug rule.
3. Press the Enter key to deactivate or reactivate the end debug rule.
4. Press F3 to exit without deactivating or reactivating the end debug rule.