DocumentObject.<Document name>.BeforeDelete

Syntax:

BeforeDelete(<Cancel>)

Parameters:

<Cancel>

Type: Boolean.
Document delete flag. If in the body of the handler procedure a value of this parameter is set to True, document deletion will not be executed.
Default value: False.

Description:

Occurs in the deleting transaction prior to actual deletion of the object from the database.

    

1C:Enterprise Developer's Community