ExternalDataSourceTableRecordSet.<External source name>.<External data source table name>.OnWrite

Syntax:

OnWrite(<Cancel>, <Replacing>)

Parameters:

<Cancel>

Type: Boolean.
The set's writing in the database cancel flag.
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:

It occurs on writing the table with a set of records. The handler procedure is called after the table with a set of records has been written to the database but before the writing transaction ends.

    

1C:Enterprise Developer's Community