Order Editor Permissions Filters Tab

Use the Order editor Permissions Filters tab to limit the orders a role can view.

Click Add to open the Order Template Node Selection dialog box, where you can select the data node to filter on. To remove a filter, select any filter node defined in the Filters table and click Remove to delete the filter node from the list.

To specify filter values for a filter node, select it and click Properties. Modify values in the Filter Expression editor to configure your filter. For example, if you want a role to view orders only from Paris, select the data element city from the order template, and click Properties. In the Filter Expression editor, select the = operator, and enter Paris in the Value field. You can also filter using And/Or combinations. For example, if you want a role to view orders from either Paris or London, add another similar line separated by Or and specify London. The following table describes the fields on the Order editor Permissions Filters tab.

Field Use

Condition

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

Or is the default value, and indicates that either the expression before or the expression after Or can evaluate to true if the rule is to evaluate to true. Use And to indicate that both the expression before and the expression after And must 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. The options available in the Operator field depend on the data type used in the Data field.

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 fields, 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.