AccountingRegisterRecordSet.<Accounting register 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. The structure of the resulting table matches the structure of the recordset. The extra dimension values are downloaded along with extra dimension types. For each extra dimension, a pair of columns with identifiers of types ExtDimensionType<Number> and ExtDimension<Number> is created for a register that does not support correspondence, and of types ExtDimensionTypeDr<Number>, ExtDimensionDr<Number>, ExtDimensionTypeCr<Number>, and ExtDimensionCr<Number> for a register that does support correspondence. The numbers <Number> need not match the numbers of the extra dimension types in the corresponding account.

Availability:

Server, thick client, external connection.

Example:

Reg = AccountingRegisters.SelfSupporting;
RecordsSet = Reg.CreateRecordSet();
RecordsSet.Filter.Document.Value = Ref;
FocalData = RecordsSet.Unload();


    

1C:Enterprise Developer's Community