Attribute comparison

Use this comparison to compare values of two document attributes that are selected for monitoring. You can compare attributes from the same document or from different documents. The attributes must have the same data type.

This table shows the syntax of the attribute comparison condition type:

Syntax [Attribute1][Operator][Attribute2]
Attribute 1 One of the document attributes selected for monitoring. The attribute can be of any type.
Operator Comparison operator; depends on the attribute type.

See Operators in monitor conditions.

Attribute 2 One of the document Attributes selected for monitoring. The attribute is of the same type as Attribute 1.
Evaluation The evaluation result is True or False.

Example

You build a condition to determine whether a partial shipment has occurred for a sales order line. In the condition you compare the OrderedQuantity attribute from the SalesOrder document with the ShippedQuantity attribute from the Shipment document.

This table shows the condition:

Attribute 1 OrderedQuantity
Operator >
Attribute 2 ShippedQuantity

The condition evaluates to True if the value of OrderedQuantity is greater than the value of ShippedQuantity.