Data entity
RetailLoyaltySchemeChannelEntity
Shows which organizations or channels a loyalty scheme is assigned to. The key is the scheme ID, the organization party number and the hierarchy type name. It joins to the hierarchy, operating unit, team and legal entity tables.
- Entity name
RetailLoyaltySchemeChannelEntity- Public entity name
RetailLoyaltySchemeChannel- OData collection
RetailLoyaltySchemeChannels- Category
Not set- Module
Commerce customers- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
LoyaltySchemeId, OrganizationPartyNumber, OMHierarchyTypeName- Staging table
RetailLoyaltySchemeChannelStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailLoyaltySchemeChannels- Dataverse virtual table
mserp_retailloyaltyschemechannelentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
RetailLoyaltySchemeChannel· rootOMHierarchyType· InnerJoin toRetailLoyaltySchemeChannel· read-onlyOMInternalOrganization· InnerJoin toRetailLoyaltySchemeChannel· read-onlyOMOperatingUnit· Derived toOMInternalOrganizationOMTeam· Derived toOMInternalOrganizationCompanyInfo· Derived toOMInternalOrganizationRetailLoyaltyScheme· InnerJoin toRetailLoyaltySchemeChannel· read-only
Fields (6)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
LoyaltySchemePoints to the loyalty scheme in this link. | Int64RefRecId | No | No (private) | RetailLoyaltyScheme.RecId | RetailLoyaltySchemeChannel.LoyaltyScheme |
OMHierarchyTypePoints to the type of organisation hierarchy used. | Int64RefRecId | No | No (private) | OMHierarchyType.RecId | RetailLoyaltySchemeChannel.OMHierarchyType |
OMInternalOrganizationPoints to the internal organisation or operating unit that the scheme applies to. | Int64RefRecId | No | No (private) | OMInternalOrganization.RecIdOMOperatingUnit.RecId | RetailLoyaltySchemeChannel.OMInternalOrganization |
OMHierarchyTypeNameName of the hierarchy type. | String (60)Name | Yes | Yes | OMHierarchyType.Name | |
OrganizationPartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.PartyNumber | |
LoyaltySchemeIdUnique ID of the loyalty scheme. | StringRetailLoyaltySchemeId | Yes | Yes | RetailLoyaltyScheme.LoyaltySchemeId |
Foreign keys (4)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
LoyaltyScheme→RetailLoyaltyScheme.RecId(key of RetailLoyaltyScheme)Many RetailLoyaltySchemeChannel records → exactly one RetailLoyaltyScheme record
RetailLoyaltyScheme details: see RetailLoyaltySchemeEntity, RetailLoyaltyEarnSchemeLineEntity, RetailLoyaltyRedeemSchemeLineEntity
OMHierarchyType→OMHierarchyType.RecId(key of OMHierarchyType)Many RetailLoyaltySchemeChannel records → exactly one OMHierarchyType record
OMHierarchyType details: see OMOrganizationHierarchyEntity, OMOrganizationHierarchyPublishedEntity, OMOrganizationHierarchyPublishedV2Entity
OMInternalOrganization→OMInternalOrganization.RecId(key of OMInternalOrganization)Many RetailLoyaltySchemeChannel records → exactly one OMInternalOrganization record
OMInternalOrganization details: see OMDepartmentEntity, OMDepartmentV2Entity, SystemSecurityUserRoleOrganizationEntity
OMInternalOrganization→OMOperatingUnit.RecId(key of OMOperatingUnit)Many RetailLoyaltySchemeChannel records → exactly one OMOperatingUnit record
OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity
Need help with RetailLoyaltySchemeChannelEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.