CalculationRegisterManager.<Calculation register name>.CreateRecordSet
Syntax:
Returned value:
Description:
Availability:
Note:
Example:
// Execute the recalculation by defined list of physical persons // Main charges RegOfCharge = CalculationRegisters.MainChargesOrg; RecordsSet = RegOfCharge.CreateRecordSet(); // set Filter RecordsSet.Filter.Recorder.Value = Ref; RecordsSet.Filter.PhysPerson.Use = True; For Each PhysPerson In PhysPersons Do RecordsSet.Filter.PhysPerson.Value = PhysPerson; RecordsSet.Read(); // calculate records CalculateRecordsOfRegister(RecordsSet); RecordsSet.Write(True, True); EndDo; |