RecalculationRecordSet.<Recalculation name>.Write
Syntax:
Parameters:
<Replace> (optional)
Defines the replacement mode of the current records in accordance with the current filtering settings (i.e. by recalculation object). 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:
If you specify the replacement, then all existing records will be deleted before writing new records in accordance with the current filtering settings (i.e. by recalculation object).
Availability:
Note:
Example:
Registr = CalculationRegisters.FocalChargesOrg; Recalculation = Registr.Recalculations.Recalculation; // clear the record set RecordsSet = Recalculation.CreateRecordSet(); RecordsSet.Filter.RecalculationObject.Value = DocRow.Document; RecordsSet.Write(); |