Table
RetailPubCatalogEcoResCategory
The published catalog category.
Holds categories of a published catalog, keyed by name, category hierarchy and catalog. Each record is a copy of a category with its level, parent, commodity code and status flags. It also stores nested-set values and a link to the original category.
- Table name
RetailPubCatalogEcoResCategory- Module
Commerce merchandising- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
Retail- Primary index
None- Replacement key
NameIdx- Key fields
Name, CategoryHierarchy, Catalog- Model
Foundation
Fields (26)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
NameName of the category. | String (254)EcoResCategoryName | Yes | None | |
CategoryHierarchyThe category hierarchy the category belongs to. | Int64EcoResCategoryHierarchyId | Yes | EcoResCategoryHierarchy.RecId | None |
CatalogThe published catalog that contains the category. | Int64RefRecId | Yes | RetailPubCatalog.Origin | None |
ChangeStatusImport status of the category, such as no change, changed or newly added. | EnumEcoResCategoryChangeStatus (enum) | No | None | |
CodeCommodity code of the category. | String (20)EcoResCategoryCommodityCode | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DefaultProjectGlobalCategoryThe shared category used as the default project category. | Int64RefRecId | No | SharedCategory.RecId | None |
InstanceRelationTypeType of the instance relation for the category record.low confidence | Int64RelationType | No | None | |
IsActiveShows whether the category is active. | EnumNoYesIdNoYes (enum) | No | None | |
IsCategoryAttributesInheritedShows whether the category inherits attributes from its parent. | EnumNoYesIdNoYes (enum) | No | None | |
IsTangibleShows whether products in the category are classed as tangible. | EnumNoYesIdNoYes (enum) | No | None | |
LevelDepth of the category in the hierarchy. | Int64EcoResCategoryLevel | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NestedSetLeftLeft value of the nested set that stores the hierarchy. | Int64EcoResCategoryNestedSetLeft | No | None | |
NestedSetRightRight value of the nested set that stores the hierarchy. | Int64EcoResCategoryNestedSetRight | No | None | |
OriginIdThe original category that this record is copied from. | Int64RetailOriginId | No | EcoResCategory.RecId | None |
OriginInstanceRelationTypeInstance relation type of the original record.low confidence | Int64RelationType | No | None | |
OriginRecVersionVersion number of the original record. | IntegerRetailOriginRecVersion | No | None | |
ParentCategoryThe parent category in the hierarchy. | Int64EcoResCategoryId | No | EcoResCategory.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
NameIdxReplacement keyName,CategoryHierarchy,CatalogUnique, alternate key.
Relations (5)
Each relation joins RetailPubCatalogEcoResCategory to another table on the fields shown.
DefaultProjectGlobalCategory→SharedCategoryJoin on
DefaultProjectGlobalCategory = SharedCategory.RecIdMany RetailPubCatalogEcoResCategory records → zero or one SharedCategory record
EcoResCategory→EcoResCategoryJoin on
OriginId = EcoResCategory.RecIdMany RetailPubCatalogEcoResCategory records → zero or one EcoResCategory record
EcoResCategoryHierarchy→EcoResCategoryHierarchyJoin on
CategoryHierarchy = EcoResCategoryHierarchy.RecIdMany RetailPubCatalogEcoResCategory records → exactly one EcoResCategoryHierarchy record
ParentEcoResCategory→EcoResCategoryJoin on
ParentCategory = EcoResCategory.RecIdMany RetailPubCatalogEcoResCategory records → zero or one EcoResCategory record
RetailPubCatalog→RetailPubCatalogJoin on
Catalog = RetailPubCatalog.OriginMany RetailPubCatalogEcoResCategory records → exactly one RetailPubCatalog record
Get this data out
No public entity reads from RetailPubCatalogEcoResCategory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailPubCatalogEcoResCategory in a report, an integration or a migration? Talk to Dr Dynamics.