DocumentObject.<Document name>.OnWrite

Syntax:

OnWrite(<Cancel>)

Parameters:

<Cancel>

Type: Boolean.
Indicates that document recording is cancelled. If this parameter is set to True in the body of the handler procedure, document recording will not be completed.
Default value: False.

Description:

Occurs when the object writing is executed. A handler procedure is called after the object is written in the database but before the writing transaction is completed.

See also:

DocumentObject, method Write

    

1C:Enterprise Developer's Community