Create a Check Using Enterprise Knowledge Language
If you want to indicate that a check is valid (or not), use the
AddNewTuple
method.
- Enter the statement in the
Name area to specify that the check is to be
applied to all dimensions. To do so:
- Double-click
Add new argument and enter the argument
name.
- Select the type in the
Type list.
- Copy and paste the following script to the editor and click Apply to
test the syntax.
- 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.
- Enter the statement in the
Name area to specify that the check is to be
applied to all dimensions. To do so:
- Double-click
Add new argument and enter the argument
name.
- Select the type in the
Type list.
- Copy and paste the following script to the editor and click Apply to
test the syntax.
- 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.
- Enter the statement in the
Name area to specify that the check is to be
applied to all dimensions. To do so:
- Double-click
Add new argument and enter the argument
name.
- Select the type in the
Type list.
- 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.
- Enter the statement in the
Name area to specify that the check is to be
applied to all dimensions. To do so:
- Double-click
Add new argument and enter the argument
name.
- Select the type in the
Type list.
- Copy and paste the following script to the editor and click Apply to
test the syntax.
- Click
OK. A rule is added to the rule base in the
tree.