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 descriptionType / EDT / enumMandatoryReferencesIn public entities
NameName of the category.String (254)
EcoResCategoryName
YesNone
CategoryHierarchyThe category hierarchy the category belongs to.Int64
EcoResCategoryHierarchyId
YesEcoResCategoryHierarchy.RecIdNone
CatalogThe published catalog that contains the category.Int64
RefRecId
YesRetailPubCatalog.OriginNone
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
InstanceRelationTypeType of the instance relation for the category record.low confidenceInt64
RelationType
NoNone
IsActiveShows whether the category is active.Enum
NoYesId
NoYes (enum)
NoNone
IsCategoryAttributesInheritedShows whether the category inherits attributes from its parent.Enum
NoYesId
NoYes (enum)
NoNone
IsTangibleShows whether products in the category are classed as tangible.Enum
NoYesId
NoYes (enum)
NoNone
LevelDepth of the category in 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 value of the nested set that stores the hierarchy.Int64
EcoResCategoryNestedSetLeft
NoNone
NestedSetRightRight value of the nested set that stores the hierarchy.Int64
EcoResCategoryNestedSetRight
NoNone
OriginIdThe original category that this record is copied from.Int64
RetailOriginId
NoEcoResCategory.RecIdNone
OriginInstanceRelationTypeInstance relation type of the original record.low confidenceInt64
RelationType
NoNone
OriginRecVersionVersion number of the original record.Integer
RetailOriginRecVersion
NoNone
ParentCategoryThe parent category in the hierarchy.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 (1)

Relations (5)

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

  • DefaultProjectGlobalCategory → SharedCategory

    Join on DefaultProjectGlobalCategory = SharedCategory.RecId

    Many RetailPubCatalogEcoResCategory records → zero or one SharedCategory record

  • EcoResCategory → EcoResCategory

    Join on OriginId = EcoResCategory.RecId

    Many RetailPubCatalogEcoResCategory records → zero or one EcoResCategory record

  • EcoResCategoryHierarchy → EcoResCategoryHierarchy

    Join on CategoryHierarchy = EcoResCategoryHierarchy.RecId

    Many RetailPubCatalogEcoResCategory records → exactly one EcoResCategoryHierarchy record

  • ParentEcoResCategory → EcoResCategory

    Join on ParentCategory = EcoResCategory.RecId

    Many RetailPubCatalogEcoResCategory records → zero or one EcoResCategory record

  • RetailPubCatalog → RetailPubCatalog

    Join on Catalog = RetailPubCatalog.Origin

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

Email sales@drdynamics.co.uk