DocumentObject.<Document name>.Posting


Posting(<Cancel>, <PostingMode>)



Type: Boolean.
Document posting flag. If this parameter is set to True in the body of the handler, the document will not be posted.
Default value: False.


Type: DocumentPostingMode.
A current posting mode is passed to this parameter.


Occurs when you post a document. The main purpose of this event handler procedure is to generate document register records. Event is executed during write transaction.


If automatic register record deletion is turned on in configuration for this document type, then all document register records will be deleted before the event occurs.

See also:

DocumentObject, method Write


1C:Enterprise Developer's Community