There is a built-in function for documenting versions in Notes Domino. Depending on the models that he configured in the database design (and assuming that the database designer is not working independently), the versions will either respond to the original parent or vice versa, where new versions become parent, with older versions being the answer.
All this, however, is to automatically adjust the hierarchy of responses in the database when you edit documents. How all other database structures interact with this hierarchy depends on the developer.
What you probably want to do is create a view that displays only documents at the top of the response hierarchy. You can then review this view and know that the documents you receive from it are the latest versions.
, , "", .
SELECT form*="Article" & !@IsAvailable($ref)
, . .
,
doc.getResponses()
a DocumentCollection, . . doc.getParentDocumentUNID(), db.getDocumentByUNID(). , :
db.getDocumentByUNID(doc.getParentDocumentUNID())
, , .