$object.revision()
Determines the revision in which a business object exists.
| Name | Type | Description | Mandatory | Default |
|---|---|---|---|---|
| object | Business object | The business object for which the revision is to be determined. | yes |
Type: Revision
The revision of the business object if it is a historical state or CURRENT for a current object.
$historicObject.revision()
Output: r42
If the given business object historicObject is in revision r42.
$currentObject.revision()
Output: CURRENT
If the given business object currentObject is not a historical object, but a current object.