edition

edition(): Integer;

The edition method of the Object class returns the edition of the receiver as an integer value. Each object has an edition of 1 when it is created.

The edition is incremented each time that the object is updated in a specified transaction but only once for each transaction, and is used for buffer (cache) synchronization.

For more details about object editions, see "Using Object Editions" under "Unlocking Objects", in Chapter 6 of the Developer's Reference.