Attribute comparison
Use this comparison to compare values of two Application Document attributes that are selected for monitoring. You can compare attributes from the same Application Document or from different Application Documents. The attributes must have the same data type.
This table shows the syntax:
Syntax | [Attribute1][Operator][Attribute2] |
---|---|
Attribute 1 | One of the Application Document attributes that are 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 Application Document Attributes that are selected for monitoring. The attribute is of the same type as Attribute 1. |
Evaluation | The evaluation result is True or False. |
Example
Build a condition to verify if a partial shipment has occurred for a sales
order line. In the condition compare the OrderedQuantity
attribute
from the SalesOrder
Application Document with the
ShippedQuantity
attribute from the Shipment Application
Document.
Syntax | [Attribute1][Operator][Attribute2]
|
---|---|
Attribute 1 | OrderedQuantity
|
Operator | < |
Attribute 2 | ShippedQuantity |
The condition evaluates to true when the comparison between the values of the two attributes is true.