Checks a document for its locking. The locking here means that a document can't be edited or deleted. The locking of a document is defined by the tags LOCK typed in DocExt\Doc config named as the document's form. You should call the function when creating an object of DocExt class for a document before its changing in your code. Read more about this in the help topic - Creating object of DocExt class.
Syntax
DEdocLocked( doc )
Arguments
doc - NotesDocument, input. A document whose locking should be checked.
Return
Boolean. If the document is locked, the function returns the result True (-1). Otherwise the result is False (0).
Configs used
DocExt\Doc named as the document form.
Topic links:
Creating object of DocExt class
See also: