SequenceRecordSet.<Sequence name>.BeforeWrite


BeforeWrite(<Cancel>, <Replacing>)



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 and the exception is raised.
Default value: False.


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.


Occurs before the set is recorded. The handler procedure is called after the recording transaction begins but before the beginning of record-set writing.


1C:Enterprise Developer's Community