ConfigVisibleRule

Top 

Some rules can be defined to display the block with specific values or parameters. The rules determine whether a configuration option is presented to the operator, based on previous configuration selection. Therefore, it is possible to restrict options. The rule is created in SQL syntax.

Field

Description

Parameter Insert

Parameters and Set Objects that are already defined, are displayed in a selection list. They can be used to create a rule.

Script

The language syntax that the rule is written in. Available options are:

DW Script

SQL formula

JavaScript formula

Java script

VBScript formula

VBScript

See Script Syntax  

Input field

Insert the visible rule for the object. All defined parameters and Set-Objects can be used in the configuration.

 

Example:

[a] = 5

[color] = red

[a] > 5 or [b] = 3

 

To have a parameter not visible (maybe for special cases):

1 = 2

 

see Script Syntax  

 

help-achtungNote:

When using the SQL formula, database accesses may reduce the performance of the configurator window.

The check button

Check for syntax errors in the entered script.

Flag

flaggreen – The rule is error free

flagyellow – Warning (default)

flagred – Error in rule

Result line

Shows the result of the evaluated rule.

Evaluation of the rule

Shows the evaluated rule with status message.

 


Help URL: https://help.beascloud.com/beas202404/index.html?configvisiblerule.htm