CatalogObject.<Catalog name>.Level

Syntax:

Level()

Returned value:

Type: Number.
The level of a catalog item.

Description:

Obtains the level of a catalog item.

Availability:

Server, thick client, external connection, Mobile application (server).

Note:

Applicable only for multilevel catalogs. It needs to be taken into account that the item's level may change, for instance when moved to another group (parent change).
An item with no parent has a level of 0.

Example:

Message("This element belongs to level " +
          Object.Level());


    

1C:Enterprise Developer's Community