RecalculationRecordSet.<Recalculation name>.Read
Syntax:
Description:
Availability:
Example:
Registr = CalculationRegisters.FocalChargesEmployeesOrganization; Recalculation = Registr.Recalculations.RecalculationOfFocalCharges; RecordsSet = Recalculation.CreateRecordSet(); RecordsSet.Filter.RecalculationObject.Value = Ref; If PhysPersons <> Undefined Then RecordsSet.Read(); RowsToRemoval = New Array; For Each Record In RecordsSet Do If PhysPersons.FindByValue(Record.PhysPerson) <> Undefined Then RowsToRemoval.Add(Record); EndIf; EndDo; For Each Line In RowsToRemoval Do RecordsSet.Delete(Line); EndDo; EndIf; RecordsSet.Write(); |