RecalculationRecordSet.<Recalculation name>.Unload

Syntax:

Unload(<Strings>, <Columns>)

Parameters:

<Strings> (optional)

Type: Array.
Array of lines for a unloading. If it is not specified, are unloaded all the line long a set of records.

<Columns> (optional)

Type: String.
The list of columns in a format: " Column1, Column2... ". If the list is not set, columns will be copied all.

Returned value:

Type: ValueTable.

Description:

Creates a value table and copies all records of the set to it.

Availability:

Server, thick client, external connection.

Example:

Reg = CalculationRegisters.AddChargesOfEmployeesOfOrganization;
Recalculations = Reg.Recalculations.RecalculationOfAdditionalCharges;
RecordsSet = Recalculations.CreateRecordSet();
RecordsSet.Filter.RecalculationObject.Value = Ref;
Data = RecordsSet.Unload();


    

1C:Enterprise Developer's Community