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