Rule debugger (form)
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
Click Product information management > Common > Product builder > Product models. Create or double-click a product model. Click Functions > Test model. The Rule debugger form automatically opens when you perform a test of your model.
Use this form to check the rules and constraints that you have built for the product models.
Note
You can access the Rule debugger form only if you select the Use rule debugger check box in the Options form. For more information, see Enable/disable the rule debugger.
Tasks that use this form
Enable/disable the rule debugger
Validate the rules of the product model
Navigating the form
The following tables provide descriptions for the controls in this form.
Tabs
Tab |
Description |
---|---|
Overview |
View information from the General and Validation rule tabs. |
General |
View information about the type of variable with which you are working, associated user input, and the result of the evaluation of the rule. |
Validation rule |
View information about how your rules are declared. |
Buttons
Button |
Description |
---|---|
Clear |
Use this button to delete the list of validation rules. |
Exit |
Use this button to exit the Rule debugger form. |
Fields
Field |
Description |
---|---|
Debug number |
The sequential number of the current debug session. |
Clause number |
The rule clause number in the Product Builder module that you are evaluating in this step. |
Variable |
The name of the modeling variable. |
Index |
Indicates the index of the variable that is selected. Index is set if the variable is of type array. |
Validation type |
The type of activity that caused this rule to appear. Activity types include user input, default, formula, action, and constraint. |
User input |
This check box is selected if the current line appears in reaction to user input. |
True |
This check box is selected if the current action/constraint evaluates to true and if the current validation type is not formula, user input, or default value. |
False |
This check box is selected if the current action/constraint evaluates to false and if the current validation type is not formula, user input, or default value. |
Outcomes |
The currently assigned value of the variable. |
Description |
The name of the rule that you are testing. |
Version |
The version of the related product model. |
Local/Global |
The type of the rule. Validation rules can be global or local. Global rules can be applied to several models. Local rules are set up for only one product model. |
Data type |
The type of data that the current variable holds. |
Attribute type |
The product variable type. |
Rules checked |
This check box is selected when the rule has passed the syntax check. |
See also
Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).