InformationRegisterRecordManager.<Information register name>.Write

Syntax:

Write(<Replace>)

Parameters:

<Replace> (optional)

Type: Boolean.
Defines the replacement mode of the existing record with the same set of register changes and the same period (for periodic registers). True - if there is an information register record with such set, it is replaced; False - record will be appended to those already existing in the information base.
Default value: True.

Description:

Writes a record of the information register with current property values to the database. If information register record has been previously read from the database, then when this method is executed, the read record is first deleted and then the modified record is written. You can use <Replace> parameter to determine whether the method will replace a record, if by the moment of method execution another record with the same values for register dimensions and the same period for periodic registers exists, except the read record.

Availability:

Server, thick client, external connection, Mobile application (server).

Note:

When called with <Replace> parameter set to False, the recordset is cleared after writing to the information base.

Example:

Rate.Write();

    

1C:Enterprise Developer's Community