Order Editor Rules Tab

Use the Order editor Rules tab to create rule definitions at the order level. When modeling rules, see "Properties View Rules Expression Tab" for more information. The following table describes the fields on the Order editor Rules Definition tab. The Order editor Rules Comments tab and the Order editor Rules Notes tab are blank fields.

Field Use

Condition

When defining multiple rule expressions, each rule expression is separated by an And or an Or.

And is the default value, and indicates that both the expression before and the expression after And must evaluate to true if the rule is to evaluate to true. Use Or to indicate that either the expression before or the expression after Or can evaluate to true if the rule is to evaluate to true.

Data

Enter the XPath expression to identify the location of the data node.

You can also select a data node from the Data Element view and drag the selected data node into the Data field to define the XPath expression. To drag the selected data node into the Data field, press and hold the Alt key before you select and drag the data node to the field.

Note: XPath uses path expressions to select data nodes in XML documents. A path expression with a single dot (.) represents the current node. Two dots (..) represents the parent of the current node. A slash (/) represents the root node.

XPath and XQuery fields are limited to 4000 characters.

Operator

Select an operator from the list.

Note: When selecting an operator from the Operator field of the Order editor Rules tab, all possible operators are displayed, whether or not they are valid. To ensure only valid operators are displayed, choose an operator from the Properties view Rules Expression tab. The options available in the Properties view Rules Expression tab in the Operator field depend on the data type used in the Data field. See "Properties View Rules Expression Tab" for more information.

Data/Value

Enter an XPath expression or enter a fixed value.

You can select a data node from the Order Template tab and drag the selected data node into the Data/Value field to define the XPath expression. To drag the selected data node into the Data/Value field, press and hold the Alt key before you select and drag the data node to the field.

Note: XPath uses path expressions to select data nodes in XML documents. A path expression with a single dot (.) represents the current node. Two dots (..) represents the parent of the current node. A slash (/) represents the root node.

XPath and XQuery fields are limited to 4000 characters.