CatalogSelection.<Catalog name>.LevelInSelection
LevelInSelection()
Type:
Number.
Level in the selection.
Obtains catalog item level in the selection obtained by
SelectHierarchically method. The level is expressed starting from zero. Thus, while tabbing the top level of the selection, the level will equal zero. The returned values will depend on the parent filter that was used for the search . If filtering by parent is not performed, the level in the selection will be the same as catalog item level.
Server, thick client, external connection, Mobile application (server).
Not applicable to hierarchical selections.
Nomenclature = Catalogs.Nomenclature; Selection = Nomenclature.SelectHierarchically(SelGroop,,); While Selection.Next() Do Message("In selection " + Selection.Ref + "Level "+ Selection.LevelInSelection()); Message("In catalog " + Selection.Ref + "Level "+ Selection.Ref.Level()); EndDo;
|