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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LoyaltySchemePoints to the loyalty scheme in this link. | Int64RefRecId | Yes | RetailLoyaltyScheme.RecId | RetailLoyaltySchemeChannelEntity |
OMHierarchyTypePoints to the type of organisation hierarchy used. | Int64RefRecId | Yes | OMHierarchyType.RecId | RetailLoyaltySchemeChannelEntity |
OMInternalOrganizationPoints to the internal organisation or operating unit that the scheme applies to. | Int64RefRecId | Yes | OMInternalOrganization.RecIdOMOperatingUnit.RecId | RetailLoyaltySchemeChannelEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
SchemeChannelIdxLoyaltyScheme,OMInternalOrganization,OMHierarchyTypeUnique, alternate key.
Relations (4)
Each relation joins RetailLoyaltySchemeChannel to another table on the fields shown.
OMHierarchyType→OMHierarchyTypeJoin on
OMHierarchyType = OMHierarchyType.RecIdMany RetailLoyaltySchemeChannel records → exactly one OMHierarchyType record
OMInternalOrganization→OMInternalOrganizationJoin on
OMInternalOrganization = OMInternalOrganization.RecIdMany RetailLoyaltySchemeChannel records → exactly one OMInternalOrganization record
OMOperatingUnit→OMOperatingUnitJoin on
OMInternalOrganization = OMOperatingUnit.RecIdMany RetailLoyaltySchemeChannel records → exactly one OMOperatingUnit record
RetailLoyaltyScheme→RetailLoyaltySchemeJoin on
LoyaltyScheme = RetailLoyaltyScheme.RecIdMany 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.
RetailLoyaltySchemeChannelEntity· 3 fields from this table
Need help with RetailLoyaltySchemeChannel in a report, an integration or a migration? Talk to Dr Dynamics.