Data entity

RetailTransactionLoyaltyLineEntity

Holds loyalty program and tier details recorded on retail transactions. Each record is identified by transaction number, register, operating unit, loyalty name and loyalty tier ID. It also holds the receipt number.

Entity name
RetailTransactionLoyaltyLineEntity
Public entity name
RetailTransactionLoyaltyLine
OData collection
RetailTransactionLoyaltyLines
Category
Not set
Module
Transactions and orders
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
TransactionNumber, Terminal, OperatingUnitNumber, LoyaltyName, LoyaltyTierId
Staging table
RetailTransactionLoyaltyLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/RetailTransactionLoyaltyLines
Dataverse virtual table
mserp_retailtransactionloyaltylineentity. 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

  • RetailTransactionAffiliationTrans · root
  • RetailChannelTable · InnerJoin to RetailTransactionAffiliationTrans · read-only
  • OMOperatingUnit · OuterJoin to RetailChannelTable · read-only
  • RetailDirectSalesChannel · Derived to RetailChannelTable
  • RetailStoreTable · Derived to RetailChannelTable
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailOnlineChannelTable · Derived to RetailChannelTable
  • RetailLoyaltyTier · InnerJoin to RetailTransactionAffiliationTrans · read-only
  • RetailAffiliation · InnerJoin to RetailLoyaltyTier · read-only

Fields (11)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AffiliationIdAffiliation (loyalty programme) record this row refers to.Int64
RefRecId
NoNo (private)RetailAffiliation.RecIdRetailTransactionAffiliationTrans.Affiliation
ChannelRetail channel of the transaction, pointing to the channel record.Int64
RetailChannelRecId
NoNo (private)RetailChannelTable.RecIdRetailTransactionAffiliationTrans.Channel
LoyaltyTierLoyalty tier record this row refers to.Int64
RefRecId
NoNo (private)RetailLoyaltyTier.RecIdRetailTransactionAffiliationTrans.LoyaltyTier
ReceiptIdReceipt number of the transaction.String (18)
RetailReceiptId
NoYesRetailTransactionAffiliationTrans.ReceiptId
TerminalNumber of the POS register, pointing to the register record.String
RetailTerminalId
YesYesRetailTerminalTable.terminalIdRetailTransactionAffiliationTrans.TerminalId
TransactionNumberNumber of the retail transaction, matched together with channel, store and register.String (44)
RetailTransactionId
YesYesRetailTransactionTable.transactionIdRetailTransactionAffiliationTrans.TransactionId
OMOperatingUnitIdOperating unit that the channel is based on. It is the key of the record.Int64
RefRecId
NoNo (private)OMOperatingUnit.RecIdRetailChannelTable.OMOperatingUnitID
OperatingUnitNumberThe number that identifies the operating unit.String (30)
OMOperatingUnitNumber
YesYesOMOperatingUnit.OMOperatingUnitNumber
RetailLoyaltyTierAffiliationRecord ID of the loyalty program the tier belongs to. It points to a loyalty program.Int64
RefRecId
YesNo (private)RetailAffiliation.RecIdRetailLoyaltyTier.Affiliation
LoyaltyTierIdIdentifier or name of the tier.String (64)
RetailAffiliationTierId
YesYesRetailLoyaltyTier.TierId
LoyaltyNameName of the affiliation or loyalty program. It is the key.String (64)
RetailAffiliationName
YesYesRetailAffiliation.Name

Foreign keys (7)

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.

Need help with RetailTransactionLoyaltyLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk