AccountingRegisterRecordSet.<Accounting register name>.Write
Syntax:
Parameters:
<Replace> (optional)
Defines existing record replacement mode in accordance with current filter settings. If True, existing records will be deleted before saving. False - records will be appended to those already existing in the information base.
Default value: True.
Description:
Availability:
Note:
The platform revision, verifying whether records match settings of accounts, is not performed when accounting register records are generated programmatically. The developer must provide setting proper data. In particular, it concerns extra dimensions values, dimension values and resources concerned with accounting flags of account.
Example:
EmptyProceduralDocument = Document.EmptyRef(); Set = AccountingRegisters.SelfSupporting.CreateRecordSet(); Set.Filter.Recorder.Set(Recorder); Set.Read(); // process the set // ... Set.Write(True); |