GT
Specification | Value |
---|---|
Description | Checks if an attribute value is greater than another attribute's value (or a constant). |
Parameter 1 Name | attribute1 |
Parameter 1 Type | numeric (int, double, decimal) or datetime type |
Parameter 2 Name | attribute2 |
Parameter 2 Type | numeric (int, double, decimal) or datetime type |
Parameter 3 Name | - |
Parameter 3 Type | - |
Return value | If attribute1 > attribute2, the returned value is 'True', if else - the operator returns 'False'. |
Make sure that the compared attributes are from the same type.
For example, Parameter 1 and Parameter 2 must be both integers, or doubles, or decimals, or datetime.
Example:
10: GT ATTRIB:LineNo CONST:30
OUTPUT:
If 'LineNo = 40', the output will be 'True'.
If 'LineNo = 30', the output will be 'False'.
If 'LineNo = 20', the output will be 'False'.
Note
The repository of the attribute is Crm.Sales.SalesOrderLines