Table
RetailPubCatalogProductCategory
Published catalog product category
Links a catalog product to a category in a published catalog. Each record is keyed by catalog product and category. It also stores the category hierarchy and whether the category is included or excluded.
- Table name
RetailPubCatalogProductCategory- Module
Commerce merchandising- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
Retail- Primary index
None- Replacement key
CatalogProductCategoryIdx- Key fields
CatalogProduct, Category- Model
Foundation
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CatalogProductThe catalog product record in the link. | Int64CatalogProductId | No | CatalogProduct.RecId | None |
CategoryThe category linked to the catalog product. | Int64EcoResCategoryId | No | EcoResCategory.RecId | None |
CategoryHierarchyThe category hierarchy that the category belongs to. | Int64EcoResCategoryHierarchyId | No | EcoResCategoryHierarchy.RecId | None |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
IncludeExcludeTypeShows whether the category is included or excluded. | EnumCatalogProductExcludeIncludeType (enum) | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
OriginThe original catalog product category record. | Int64RefRecId | Yes | CatalogProductCategory.RecId | None |
OriginRecVersionVersion number of the original record. | IntegerRetailOriginRecVersion | No | 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)
CatalogProductCategoryIdxReplacement keyUnique, alternate key.
Relations (4)
Each relation joins RetailPubCatalogProductCategory to another table on the fields shown.
CatalogProduct→CatalogProductJoin on
CatalogProduct = CatalogProduct.RecIdMany RetailPubCatalogProductCategory records → exactly one CatalogProduct record
EcoResCategory→EcoResCategoryJoin on
Category = EcoResCategory.RecIdMany RetailPubCatalogProductCategory records → exactly one EcoResCategory record
EcoResCategoryHierarchy→EcoResCategoryHierarchyJoin on
CategoryHierarchy = EcoResCategoryHierarchy.RecIdMany RetailPubCatalogProductCategory records → exactly one EcoResCategoryHierarchy record
Origin→CatalogProductCategoryJoin on
Origin = CatalogProductCategory.RecIdZero or one RetailPubCatalogProductCategory record → exactly one CatalogProductCategory record
Get this data out
No public entity reads from RetailPubCatalogProductCategory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailPubCatalogProductCategory in a report, an integration or a migration? Talk to Dr Dynamics.