DOCUMENT_ENQUEUE

Use

This method prevents other users from accessing a document. Only a logical lock can be set, that is, this lock only has an effect on the logical level.

Use of the remaining methods is possible as before. The method DOCUMENT_ENQUEUE should always be implemented when it is possible that several people have access to modify a document at the same time.

If there is an error in calling this method, perhaps because the document is already locked by another user, you should avoid executing modifying methods because otherwise data consistency cannot be guaranteed.

After finishing the modifications you should call the method DOCUMENT_DEQUEUE, which will unlock the document.