This is getNextLocalSequenceNumber, a member of class OdBmDocumentHistory.
OdBmDocumentHistory Methods