ChartOfAccountsManager.<Chart of accounts name>.FindByDescription

Syntax:

FindByDescription(<Description>, <ExactMap>, <Parent>)

Parameters:

<Description> (required)

Type: String.
String containing the search description.

<ExactMap> (optional)

Type: Boolean.
Determines search by exact mapping mode.
The search will be successful if the search string: matches the left part of the description when the parameter value is False; or matches the full description (excluding trailing spaces) when the parameter value is True.
Default value: False.

<Parent> (optional)

Type: ChartOfAccountsRef.
Parent to be searched. If it isn't specified, then the search is performed on all accounts.

Returned value:

Type: ChartOfAccountsRef.; Undefined.
Reference to the found chart of accounts' item. If no element with the required description exists, an empty reference will be returned.
If description is not set (length = 0) and search is carried out by full match, will be returned Undefined.

Description:

Searches for an item by its description.

Availability:

Server, thick client, external connection.

Note:

If there are several items with the specified description, only one of them is found.

    

1C:Enterprise Developer's Community