ChartOfAccountsExtDimensionTypes.<Chart of Accounts name>.Find

Syntax:

Find(<Value>, <Columns>)

Parameters:

<Value> (required)

Type: Arbitrary.
Sought value.

<Columns> (optional)

Type: String.
List of comma-separated names of the columns to be searched.
If the parameter is omitted, search will be performed across the entire tabular section.
Default value: Empty string.

Returned value:

Type: Line of a tabular section; Undefined.
If no value is found, Undefined is returned.

Description:

Searches for a value in the specified tabular section columns.

Availability:

Server, thick client, external connection.

Note:

This method is useful for searching unique values.

Example:

FoundString = Content.Find(Object, ColumnName);
If 
FoundString = Undefined Then
    DoMessageBox("Object not found!");
Else
    Count = FoundString.Count;
EndIf
;


    

1C:Enterprise Developer's Community