AccumulationRegisterRecordSet.<Accumulation register name>.BeforeWrite

Syntax:

BeforeWrite(<Cancel>, <Replacing>)

Parameters:

<Cancel>

Type: Boolean.
Accumulation register set write cancel flag. If the parameter value is set to True in the body of the handler procedure, writing is not performed and the exception is raised.
Default value: False.

<Replacing>

Type: Boolean.
Set write mode.
True - the set records in the database are replaced by writing.
False - the current record set is added to the database by writing.

Description:

Occurs before the record set is executed. The handler procedure is called after the recording transaction begins but before the beginning of writing the record set of accumulation register.

    

1C:Enterprise Developer's Community