Table

CustHierarchyRetailChannel

Retail online channel access control for customer hierarchy

Links a customer hierarchy to a retail channel. It is keyed by channel and customer hierarchy ID. The label says it controls access to online channels for the hierarchy.

Table name
CustHierarchyRetailChannel
Module
Commerce
Table group
Main
Table type
Regular
Data per company
No
Configuration key
Retail
Primary index
CustHierarchyIdChannel
Replacement key
None
Key fields
Channel, CustHierarchyId
Model
Foundation

Fields (7)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelID of the retail channel linked to the hierarchy.String (15)
RetailChannelId
YesRetailChannelTable.RetailChannelIdCustHierarchyRetailChannelEntity
CustHierarchyIdID of the customer hierarchy linked to the channel.String (60)
CustHierarchyId
YesCustHierarchy.CustHierarchyIdCustHierarchyRetailChannelEntity
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 (2)

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

  • CustHierarchy → CustHierarchy

    Join on CustHierarchyId = CustHierarchy.CustHierarchyId

    Many CustHierarchyRetailChannel records → zero or one CustHierarchy record

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RetailChannelId

    One or more CustHierarchyRetailChannel records → exactly one RetailChannelTable record

Get this data out

Tables are not exposed directly. These public entities read from CustHierarchyRetailChannel; use one of them in Power BI, Power Platform or a data management project.

Need help with CustHierarchyRetailChannel in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk