Table
RetailPubEcoResCategory
Published channel category
Holds product categories as published to a channel. Each row is identified by name, category hierarchy and channel. It keeps hierarchy details such as level, parent category and nested set positions, and points to the origin category it was copied from.
- Table name
RetailPubEcoResCategory- 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, Channel- 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 that the category belongs to. | Int64EcoResCategoryHierarchyId | Yes | EcoResCategoryHierarchy.RecId | None |
ChannelThe published channel the category is published to. | Int64RefRecId | Yes | RetailPubRetailChannelTable.OriginId | 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 |
InstanceRelationTypeNumeric value that identifies the type of this category record.low confidence | Int64RelationType | No | None | |
IsActiveShows whether the category is active (yes or no). | EnumNoYesIdNoYes (enum) | No | None | |
IsCategoryAttributesInheritedShows whether the category inherits attributes from its parent (yes or no). | EnumNoYesIdNoYes (enum) | No | None | |
IsTangibleShows whether the category is classified as a tangible product (yes or no). | EnumNoYesIdNoYes (enum) | No | None | |
LevelDepth of the category within 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 position value used to store the category tree as a nested set. | Int64EcoResCategoryNestedSetLeft | No | None | |
NestedSetRightRight position value used to store the category tree as a nested set. | Int64EcoResCategoryNestedSetRight | No | None | |
OriginIdThe original category record this published row comes from. | Int64RetailOriginId | No | EcoResCategory.RecId | None |
OriginInstanceRelationTypeNumeric relation type value of the origin category record.low confidence | Int64RelationType | No | None | |
OriginRecVersionVersion number of the origin record at the time it was published. | IntegerRetailOriginRecVersion | No | None | |
ParentCategoryThe parent category of this category. | 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 (2)
NameIdxReplacement keyName,CategoryHierarchy,ChannelUnique, alternate key.
ProductSearch_ChannelIdxNot unique.
Relations (5)
Each relation joins RetailPubEcoResCategory to another table on the fields shown.
DefaultProjectGlobalCategory→SharedCategoryJoin on
DefaultProjectGlobalCategory = SharedCategory.RecIdMany RetailPubEcoResCategory records → zero or one SharedCategory record
EcoResCategory→EcoResCategoryJoin on
OriginId = EcoResCategory.RecIdMany RetailPubEcoResCategory records → zero or one EcoResCategory record
EcoResCategoryHierarchy→EcoResCategoryHierarchyJoin on
CategoryHierarchy = EcoResCategoryHierarchy.RecIdMany RetailPubEcoResCategory records → exactly one EcoResCategoryHierarchy record
ParentEcoResCategory→EcoResCategoryJoin on
ParentCategory = EcoResCategory.RecIdMany RetailPubEcoResCategory records → zero or one EcoResCategory record
RetailPubRetailChannelTable→RetailPubRetailChannelTableJoin on
Channel = RetailPubRetailChannelTable.OriginIdMany RetailPubEcoResCategory records → exactly one RetailPubRetailChannelTable record
Get this data out
No public entity reads from RetailPubEcoResCategory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailPubEcoResCategory in a report, an integration or a migration? Talk to Dr Dynamics.