Data entity

RetailTransactionAffiliationLineEntity

Holds the affiliations recorded on retail transactions. Each record is identified by affiliation name, operating unit, register and transaction number. It also holds the receipt number. The affiliation links to a loyalty program.

Entity name
RetailTransactionAffiliationLineEntity
Public entity name
RetailTransactionAffiliationLine
OData collection
RetailTransactionAffiliationLines
Category
Not set
Module
Transactions and orders
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
AffiliationName, OperatingUnitNumber, Terminal, TransactionNumber
Staging table
RetailTransactionAffiliationLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/RetailTransactionAffiliationLines
Dataverse virtual table
mserp_retailtransactionaffiliationlineentity. 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
  • RetailAffiliation · InnerJoin to RetailTransactionAffiliationTrans · read-only
  • RetailChannelTable · InnerJoin to RetailTransactionAffiliationTrans · read-only
  • OMOperatingUnit · OuterJoin to RetailChannelTable · read-only
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailOnlineChannelTable · Derived to RetailChannelTable
  • RetailDirectSalesChannel · Derived to RetailChannelTable
  • RetailStoreTable · Derived to RetailChannelTable

Fields (8)

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
ReceiptNumberReceipt 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
AffiliationNameName of the affiliation or loyalty program. It is the key.String (64)
RetailAffiliationName
YesYesRetailAffiliation.Name
RetailChannelTableOMOperatingUnitIDOperating 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

Foreign keys (5)

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 RetailTransactionAffiliationLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk