Languages in Quality Rules Reuse and Quality Rules Capture

Create a Check Using Enterprise Knowledge Language

If you want to indicate that a check is valid (or not), use the AddNewTuple method.

  1. Enter the statement in the Name area to specify that the check is to be applied to all dimensions. To do so:
    1. Double-click Add new argument and enter the argument name.
    2. Select the type in the Type list.
  2. Copy and paste the following script to the editor and click Apply to test the syntax.
  3. Click OK. A check is added to the rule base in the tree.

Create a Check Using Knowledge Language

Use only the if statement. Note that if constructs cannot be nested.

  1. Enter the statement in the Name area to specify that the check is to be applied to all dimensions. To do so:
    1. Double-click Add new argument and enter the argument name.
    2. Select the type in the Type list.
  2. Copy and paste the following script to the editor and click Apply to test the syntax.
  3. Click OK. A check is added to the rule base in the tree.

Create a Check in Visual Basic

If you want to indicate that a check is valid (or not), set the Value attribute of the return Value object to 1 if the check is valid, or to 2 if the check is invalid.

  1. Enter the statement in the Name area to specify that the check is to be applied to all dimensions. To do so:
    1. Double-click Add new argument and enter the argument name.
    2. Select the type in the Type list.
  2. Copy and paste the following script to the editor and click Apply to test the syntax.

Create a Rule Using the Knowledge Language

Use only the if statement. Note that if constructs cannot be nested.

  1. Enter the statement in the Name area to specify that the check is to be applied to all dimensions. To do so:
    1. Double-click Add new argument and enter the argument name.
    2. Select the type in the Type list.
  2. Copy and paste the following script to the editor and click Apply to test the syntax.
  3. Click OK. A rule is added to the rule base in the tree.