The ValidationRevisionComparisonType enumeration contains types of value modification between revisions. It is used by the following properties:
Value | Brief description |
0 | Change. The value has changed. |
1 | Increase. The value has been increased. |
2 | Decrease. The value has been decreased. |
3 | AddedValue. The value is added. |
4 | RemovedValue. The value is removed. |
5 | NonChanged. The value has not changed. |
Change, NonChanged, Increase, Decrease. If at least one of the compared values is empty, the comparison returns False. Thus, these validation types check only changes in the existing values.
AddedValue. If value was empty and it becomes not empty, the comparison returns True. For the rest, the comparison returns False.
RemovedValue. If value was non-empty and it becomes empty, the comparison returns True. For the rest, the comparison returns False.
See also: