ConfigurationMetadataObject.FindByType
FindByType(<Type>)
Type: Type.
The type that will be used for searching.
Type:
MetadataObject: HTTPService,
MetadataObject: ExternalDataSource,
MetadataObject: Field,
MetadataObject: Table,
MetadataObject: Function,
MetadataObject: HTTPServiceURLTemplate,
MetadataObject: DefinedType,
MetadataObject: ChartOfCalculationTypes,
MetadataObject: ChartOfAccounts,
MetadataObject: BusinessProcess,
MetadataObject: Document,
MetadataObject: DocumentJournal,
MetadataObject: Task,
MetadataObject: ChartOfCharacteristicTypes,
MetadataObject: ExchangePlan,
MetadataObject: AccountingRegister,
MetadataObject: AccumulationRegister,
MetadataObject: CalculationRegister,
MetadataObject: InformationRegister,
MetadataObject: Catalog,
MetadataObject: FunctionalOption,
MetadataObject: FunctionalOptionsParameter,
MetadataObject: Command,
MetadataObject: CommandGroup,
MetadataObject: SettingsStorage,
MetadataObject: CommonCommand,
MetadataObject: WebService,
MetadataObject: WSReference,
MetadataObject: Interface,
MetadataObject: Constant,
MetadataObject: FilterCriterion,
MetadataObject: DocumentNumerator,
MetadataObject: DataProcessor,
MetadataObject: CommonPicture,
MetadataObject: Template,
MetadataObject: CommonModule,
MetadataObject: Form,
MetadataObject: Style,
MetadataObject: Language,
MetadataObject: Report,
MetadataObject: XDTOPackage,
MetadataObject: SessionParameter,
MetadataObject: Enum,
MetadataObject: EventSubscription,
MetadataObject: Subsystem,
MetadataObject: Sequence,
MetadataObject: ScheduledJob,
MetadataObject: Role,
MetadataObject: StyleItem,
MetadataObject: Graph,
MetadataObject: Dimension,
MetadataObject: EnumValue,
MetadataObject: WebServiceOperation,
MetadataObject: Recalculation,
MetadataObject: WebServiceParameter,
MetadataObject: AccountingFlag,
MetadataObject: ExtDimensionAccountingFlag,
MetadataObject: Attribute,
MetadataObject: TabularSection,
MetadataObject: Resource,
MetadataObject: AddressingAttribute,
MetadataObject: CommonAttribute,
MetadataObject: Cube,
MetadataObject: DimensionTable;
Undefined.
Undefined - metadata object not found.
Looks for the metadata object responsible for the specified type. For example, it can be used to find the Catalog.Articles metadata object for the Catalog.Articles object.
Configuration metadata objects responsible for application objects define the corresponding set of types. For example, if the Catalog.Currencies metadata object is present in the configuration, then several types are present in the system (CatalogRef.Currencies, CatalogManager.Currencies, CatalogObject.Currencies, CatalogSelection.Currencies, CatalogList.Currencies).
Server, thick client, external connection, Mobile application (server).
This can be used to find metadata objects that define a type in the configuration based on the specified type.
List = New ValueList; For Nomenclature = 1 to 3 Do If Nomenclature <= Account.ExtDimensionTypes.Count() AND ValueIsFilled(Account) Then ExtDimensionType = Account.ExtDimensionTypes[Nomenclature-1].ExtDimensionType; MetaType = Metadata.FindByType(ExtDimensionType.ValueType.Types()[0]); Try If MetaType.Attributes.Count() > 0 Then List.Add(Nomenclature-1, ExtDimensionType.Description,,); EndIf; Except EndTry; EndIf; EndDo;
|