SequenceRecordSet.<Sequence name>.OnWrite

Syntax:

OnWrite(<Cancel>, <Replacing>)

Parameters:

<Cancel>

Type: Boolean.
Indicates that object writing is cancelled. If you set this parameter to True in the body of the handler procedure, the object will not be written.
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 when the object writing is executed. A handler procedure is called after the object is written in the database but before the writing transaction is completed.

    

1C:Enterprise Developer's Community