RecalculationRecordSet.<Recalculation name>.Read

Syntax:

Read()

Description:

Reads records from the database by the filter specified.

Availability:

Server, thick client, external connection.

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();


    

1C:Enterprise Developer's Community