FormDataStructureAndCollection.Unload

Syntax variant: To unload columns

Syntax:

Unload(<Rows>, <Columns>)

Parameters:

<Rows> (optional)

Type: Array.
An array of rows to be dumped.
If not specified, all the rows of the collection will be dumped.

<Columns> (optional)

Type: String.
A list of columns to be copied, in the following format: "Column1, Column2,...,ColumnN".
If the list is not specified, all the columns will be copied.

Syntax variant: Dump by filter

Syntax:

Unload(<ParametersOfFilter>, <Columns>)

Parameters:

<ParametersOfFilter> (optional)

Type: Structure.
The structure key is the column identifier, and the structure value is the filter value.

<Columns> (optional)

Type: String.
A list of columns to be copied, in the following format: "Column1, Column2,...,ColumnN".

Description of method variant:

If a filter is selected, only the filtered rows will be dumped.
If a filter is not specified, all the collection rows will be dumped.
If columns are specified, only these columns will be dumped.
Otherwise all the collection columns will be dumped.

Returned value:

Type: ValueTable.

Description:

Creates value table and copies the tabular section to it. Names of value table columns are the same as the names of tabular section columns. The column containing row number is unloaded to LineNumber column.

Availability:

Server, Mobile application (server).

    

1C:Enterprise Developer's Community