COMPLETION Function
This function returns the completion status of the current document.
Syntax
COMPLETION()
Example
COMPLETION()
Returns 0 if the current document is not started, 1 if the document is fully complete, and 2 if the document is in progress.