Debugging a rule
When you run a rule from the Business Rules workspace, Planning Business Modeler translates the rule into SQL or multidimensional expressions (MDX) code. When you use the Debug rule menu option, Planning Business Modeler displays the translated code for analysis.
Unlike the Validate Rule Set or Rule or Execute Rule Set or Rule options on the Actions menu, which can apply to rule sets, you can only debug one rule at a time.
Rules of type Consolidation, Currency, Intercompany Reconciliation, Model Property/Variable, and Outbound cannot be debugged.
To debug an individual rule
In the Workspace Browser pane, click Models.
On the model site workspace, click a row in the table to open a model.
Click the Business Rules tab.
Click to select a business rule in the table.
Note
You might have to expand a rule set in order to select an individual rule.
Right-click to display the shortcut menu, and then select Debug Rule or click the Debug Rule icon.
This displays the Debug RuleResults message box. If the rule you are debugging contains parameters, the Parameters for Rule message box is also displayed.
Note
You might be prompted to validate a rule if you have not validated the rule previously.
In the Debug Rule Results dialog box, view the results and then click OK.
Note
You can copy the contents of the dialog box.