InformationRegisterRecordSet.<Information register name>.BeforeWrite

Syntax:

BeforeWrite(<Cancel>, <Replacing>)

Parameters:

<Cancel>

Type: Boolean.
Information 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 information register set is recorded. The handler procedure is called after the recording transaction but before writing the information register record set.

    

1C:Enterprise Developer's Community