Table

RetailLoyaltySchemeChannel

Retail loyalty scheme channels

Links a loyalty scheme to an organisation in an organisation hierarchy. It has no defined key in the metadata. Each record connects one scheme with a hierarchy type and an internal organisation or operating unit.

Table name
RetailLoyaltySchemeChannel
Module
Commerce customers
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
LoyaltySchemePoints to the loyalty scheme in this link.Int64
RefRecId
YesRetailLoyaltyScheme.RecIdRetailLoyaltySchemeChannelEntity
OMHierarchyTypePoints to the type of organisation hierarchy used.Int64
RefRecId
YesOMHierarchyType.RecIdRetailLoyaltySchemeChannelEntity
OMInternalOrganizationPoints to the internal organisation or operating unit that the scheme applies to.Int64
RefRecId
YesOMInternalOrganization.RecIdOMOperatingUnit.RecIdRetailLoyaltySchemeChannelEntity
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 (4)

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

  • OMHierarchyType → OMHierarchyType

    Join on OMHierarchyType = OMHierarchyType.RecId

    Many RetailLoyaltySchemeChannel records → exactly one OMHierarchyType record

  • OMInternalOrganization → OMInternalOrganization

    Join on OMInternalOrganization = OMInternalOrganization.RecId

    Many RetailLoyaltySchemeChannel records → exactly one OMInternalOrganization record

  • OMOperatingUnit → OMOperatingUnit

    Join on OMInternalOrganization = OMOperatingUnit.RecId

    Many RetailLoyaltySchemeChannel records → exactly one OMOperatingUnit record

  • RetailLoyaltyScheme → RetailLoyaltyScheme

    Join on LoyaltyScheme = RetailLoyaltyScheme.RecId

    Many RetailLoyaltySchemeChannel records → exactly one RetailLoyaltyScheme record

Get this data out

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

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

Email sales@drdynamics.co.uk