ChartOfCalculationTypesManager.<Chart of calculation types name>.FindByAttribute

Syntax:

FindByAttribute(<AttributeName>, <Value>)

Parameters:

<AttributeName> (required)

Type: String.
The name of the attribute by value of which the search is to be formed, as specified in the Designer. The type of value is any, except for ValueStorage and lines of any length.

<Value> (required)

Type: Arbitrary.
Calculation type attribute value to search on.

Returned value:

Type: ChartOfCalculationTypesRef.
Reference to the found calculation type. If there are no elements with the required attribute value, an empty reference will be returned.

Description:

Searches for the calculation type by attribute value.

Availability:

Server, thick client, external connection.

Note:

If there are multiple calculation types with a given attribute value, only one of them is returned.
For attributes of the String type the search is executed by exact mapping.

    

1C:Enterprise Developer's Community