Skip to main content

AccumulationRegisterRecordSet._Accumulation register name_.BeforeWrite

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.

Availability

Server, thick client, external connection, mobile application (server), mobile standalone server.

Note:

This handler temporarily disables safe mode (this does not apply to handlers added by configuration extensions).

Translation

Русская версия: РегистрНакопленияНаборЗаписей._Имя регистра накопления_.ПередЗаписью (AccumulationRegisterRecordSet._Accumulation register name_.BeforeWrite)