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 descriptionType / EDT / enumMandatoryReferencesIn public entities
NameName of the category.String (254)
EcoResCategoryName
YesNone
CategoryHierarchyThe category hierarchy that the category belongs to.Int64
EcoResCategoryHierarchyId
YesEcoResCategoryHierarchy.RecIdNone
ChannelThe published channel the category is published to.Int64
RefRecId
YesRetailPubRetailChannelTable.OriginIdNone
ChangeStatusImport status of the category, such as no change, changed or newly added.Enum
EcoResCategoryChangeStatus (enum)
NoNone
CodeCommodity code of the category.String (20)
EcoResCategoryCommodityCode
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DefaultProjectGlobalCategoryThe shared category used as the default project category.Int64
RefRecId
NoSharedCategory.RecIdNone
InstanceRelationTypeNumeric value that identifies the type of this category record.low confidenceInt64
RelationType
NoNone
IsActiveShows whether the category is active (yes or no).Enum
NoYesId
NoYes (enum)
NoNone
IsCategoryAttributesInheritedShows whether the category inherits attributes from its parent (yes or no).Enum
NoYesId
NoYes (enum)
NoNone
IsTangibleShows whether the category is classified as a tangible product (yes or no).Enum
NoYesId
NoYes (enum)
NoNone
LevelDepth of the category within the hierarchy.Int64
EcoResCategoryLevel
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NestedSetLeftLeft position value used to store the category tree as a nested set.Int64
EcoResCategoryNestedSetLeft
NoNone
NestedSetRightRight position value used to store the category tree as a nested set.Int64
EcoResCategoryNestedSetRight
NoNone
OriginIdThe original category record this published row comes from.Int64
RetailOriginId
NoEcoResCategory.RecIdNone
OriginInstanceRelationTypeNumeric relation type value of the origin category record.low confidenceInt64
RelationType
NoNone
OriginRecVersionVersion number of the origin record at the time it was published.Integer
RetailOriginRecVersion
NoNone
ParentCategoryThe parent category of this category.Int64
EcoResCategoryId
NoEcoResCategory.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (5)

Each relation joins RetailPubEcoResCategory to another table on the fields shown.

  • DefaultProjectGlobalCategory → SharedCategory

    Join on DefaultProjectGlobalCategory = SharedCategory.RecId

    Many RetailPubEcoResCategory records → zero or one SharedCategory record

  • EcoResCategory → EcoResCategory

    Join on OriginId = EcoResCategory.RecId

    Many RetailPubEcoResCategory records → zero or one EcoResCategory record

  • EcoResCategoryHierarchy → EcoResCategoryHierarchy

    Join on CategoryHierarchy = EcoResCategoryHierarchy.RecId

    Many RetailPubEcoResCategory records → exactly one EcoResCategoryHierarchy record

  • ParentEcoResCategory → EcoResCategory

    Join on ParentCategory = EcoResCategory.RecId

    Many RetailPubEcoResCategory records → zero or one EcoResCategory record

  • RetailPubRetailChannelTable → RetailPubRetailChannelTable

    Join on Channel = RetailPubRetailChannelTable.OriginId

    Many 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.

Email sales@drdynamics.co.uk