Table

RetailPubRetailChannelTable

Published channel

Holds retail channels as published, with one row for each operating unit. It gives the channel type, currency, default customer, warehouse, category hierarchy and transaction service profile. It points to the origin retail channel record it was published from.

Table name
RetailPubRetailChannelTable
Module
Commerce merchandising
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
Retail
Primary index
None
Replacement key
OperatingUnitIdx
Key fields
OMOperatingUnitID
Model
Foundation

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
OMOperatingUnitIDThe operating unit the channel is based on.Int64
RefRecId
NoOMOperatingUnit.RecIdNone
CategoryHierarchyThe category hierarchy used by the channel.Int64
EcoResCategoryHierarchyId
NoEcoResCategoryHierarchy.RecIdNone
ChannelTypeType of channel, such as retail store, online store, online marketplace or call center.Enum
RetailChannelType (enum)
NoNone
CurrencyCurrency code used by the channel.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
DefaultCustAccountAccount number of the default customer for the channel.String (20)
CustAccount
YesCustTable.AccountNumNone
DefaultCustDataAreaIdCompany of the default customer.String
DataAreaId
YesCustTable.dataAreaIdNone
DefaultDimensionThe default financial dimension set for the channel.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
InstanceRelationTypeNumeric value that identifies the type of this channel record.low confidenceInt64
RelationType
NoNone
InternalOrganizationThe internal organization linked to the channel.Int64
RefRecId
YesRetailInternalOrganization.RecIdNone
inventLocationWarehouse linked to the channel.String
InterCompanyInventLocationId
YesInventLocation.InventLocationIdNone
inventLocationDataAreaIdCompany of the warehouse.String
DataAreaId
YesInventLocation.dataAreaIdNone
OriginIdThe original retail channel record this row comes from.Int64
RetailOriginId
NoRetailChannelTable.RecIdNone
OriginInstanceRelationTypeNumeric relation type value of the origin channel record.low confidenceInt64
RelationType
NoNone
OriginRecVersionVersion number of the origin record at the time it was published.Integer
RetailOriginRecVersion
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceIncludesSalesTaxShows whether prices in the channel include sales tax (yes or no).Enum
NoYes (enum)
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
TransactionServiceProfileThe transaction service profile used by the channel.String
RetailTransactionServiceProfileId
NoRetailTransactionServiceProfile.profileIdNone

Indexes (2)

Relations (10)

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

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many RetailPubRetailChannelTable records → zero or one Currency record

  • CustTable → CustTable

    Join on DefaultCustDataAreaId = CustTable.dataAreaId, DefaultCustAccount = CustTable.AccountNum

    Many RetailPubRetailChannelTable records → exactly one CustTable record

  • DimensionAttributeValueSet → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many RetailPubRetailChannelTable records → zero or one DimensionAttributeValueSet record

  • EcoResCategoryHierarchy → EcoResCategoryHierarchy

    Join on CategoryHierarchy = EcoResCategoryHierarchy.RecId

    Many RetailPubRetailChannelTable records → zero or one EcoResCategoryHierarchy record

  • InternalOrganization → RetailInternalOrganization

    Join on InternalOrganization = RetailInternalOrganization.RecId

    Zero or one RetailPubRetailChannelTable record → exactly one RetailInternalOrganization record

  • InventLocation → InventLocation

    Join on inventLocationDataAreaId = InventLocation.dataAreaId, inventLocation = InventLocation.InventLocationId

    Many RetailPubRetailChannelTable records → exactly one InventLocation record

  • OMOperatingUnit → OMOperatingUnit

    Join on OMOperatingUnitID = OMOperatingUnit.RecId

    Zero or one RetailPubRetailChannelTable record → exactly one OMOperatingUnit record

  • RetailChannelTable → RetailChannelTable

    Join on OriginId = RetailChannelTable.RecId

    Zero or one RetailPubRetailChannelTable record → zero or one RetailChannelTable record

  • RetailTransactionServiceProfile → RetailTransactionServiceProfile

    Join on TransactionServiceProfile = RetailTransactionServiceProfile.profileId

    Many RetailPubRetailChannelTable records → zero or one RetailTransactionServiceProfile record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many RetailPubRetailChannelTable records → zero or one DimensionAttributeValueSet record

Get this data out

No public entity reads from RetailPubRetailChannelTable. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk