ChartOfCharacteristicTypesManager.<Chart of characteristic types name>.FindByCode

Syntax:

FindByCode(<Code>, <Parent>)

Parameters:

<Code> (required)

Type: String.
Search code.

<Parent> (optional)

Type: ChartOfCharacteristicTypesRef.
Parent to be searched. If this is not specified, entire chart of characteristic types is searched.

Returned value:

Type: ChartOfCharacteristicTypesRef.; Undefined.
If there is no item with the specified code, an empty reference is returned.
If code is not set (length = 0), will be returned Undefined.

Description:

Searches for an item by its code.

Availability:

Server, thick client, external connection.

    

1C:Enterprise Developer's Community