Create revision of an object
Syntax
$object.createRevision()
Description
Determines the revision in which a business object was created.
Parameter
Name | Type | Description | Mandatory | Default |
---|---|---|---|---|
object | Business object | The business object for which the creation revision is to be determined. | yes |
Return value
Type: Revision
The revision of the business object in which the business object was created.
Examples
Example 1
$object.createRevision()
Output: r42
If the given business object object
was created in the 47th revision.