ChartOfCalculationTypesManager.<Chart of calculation types name>.Select

Syntax:

Select(<Filter>, <Order>)

Parameters:

<Filter> (optional)

Type: Structure.
You can use it to specify the attribute of a calculation type and the value of this attribute, on the basis of which a selection will be created. The structure key describes an attribute name, while the structure value describes the filter value for this attribute. Only "Code", "Description" and calculation type attributes, for which the indexing flag in the designer has been set to a value of "Index" or "Index with additional ordering" can be set as filter attributes.
Important: A structure can contain only one element.
If the parameter is not specified filter is not used.

<Order> (optional)

Type: String.
A string containing the name of the calculation type attribute that determines ordering for the created selection. You can specify "Code", "Description" or the name of one of the primitive type attributes (Number, String, Date, Boolean), for which the "Index" flag has been set to a value of "Index" or "Index with additional ordering" in the designer. You can specify the sort direction after the attribute name using space as a separator. Direction is defined as: "Desc": descending order; "Asc": ascending order. Sort ascending is used by default. If the <Order> parameter is not set the order is determined by the basic representation from the table of calculation types ("As code" or "As description").
Default value: Empty string.

Returned value:

Type: ChartOfCalculationTypesSelection.

Description:

Builds a selection of calculation types.

Availability:

Server, thick client, external connection.

    

1C:Enterprise Developer's Community