Data entity
RetailTransactionAffiliationTransBIEntity
Holds the affiliations and loyalty tiers linked to commerce transactions. Each record is keyed by store, register, transaction number, channel, loyalty tier and affiliation. It also shows the receipt number and operator ID. Intended for BI and analytics.
- Entity name
RetailTransactionAffiliationTransBIEntity- Public entity name
RetailTransactionAffiliationTransBIEntity- OData collection
RetailTransactionAffiliationTransBIEntities- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
No- Configuration key
Retail- Keys
StoreId, TerminalId, TransactionId, Channel, LoyaltyTier, Affiliation- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailTransactionAffiliationTransBIEntities- Dataverse virtual table
mserp_retailtransactionaffiliationtransbientity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
RetailTransactionAffiliationTrans· root
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AffiliationAffiliation (loyalty programme) record this row refers to. | Int64RefRecId | No | Yes | RetailAffiliation.RecId | RetailTransactionAffiliationTrans.Affiliation |
ChannelRetail channel of the transaction, pointing to the channel record. | Int64RetailChannelRecId | No | Yes | RetailChannelTable.RecId | RetailTransactionAffiliationTrans.Channel |
LoyaltyTierLoyalty tier record this row refers to. | Int64RefRecId | No | Yes | RetailLoyaltyTier.RecId | RetailTransactionAffiliationTrans.LoyaltyTier |
ReceiptIdReceipt number of the transaction. | String (18)RetailReceiptId | No | Yes | RetailTransactionAffiliationTrans.ReceiptId | |
replicationCounterFromOriginCounter used to track replication from the source location. | IntegerRetailReplicationCounter | No | Yes | RetailTransactionAffiliationTrans.replicationCounterFromOrigin | |
StaffIdID of the operator who handled the transaction. | String (25)RetailStaffId | No | Yes | RetailTransactionAffiliationTrans.StaffId | |
StoreIdNumber of the store, pointing to the store record. | StringRetailStoreId | Yes | Yes | RetailStoreTable.StoreNumber | RetailTransactionAffiliationTrans.StoreId |
TerminalIdNumber of the POS register, pointing to the register record. | StringRetailTerminalId | Yes | Yes | RetailTerminalTable.terminalId | RetailTransactionAffiliationTrans.TerminalId |
TransactionIdNumber of the retail transaction, matched together with channel, store and register. | String (44)RetailTransactionId | Yes | Yes | RetailTransactionTable.transactionId | RetailTransactionAffiliationTrans.TransactionId |
SysCreatedByThe user who created the record. | String (20)CreatedBy | No | Yes | RetailTransactionAffiliationTrans.CreatedBy | |
SysModifiedByThe user who last changed the record. | String (20)ModifiedBy | No | Yes | RetailTransactionAffiliationTrans.ModifiedBy | |
CreatedOnThe date and time when the record was created. | UtcDateTimeCreatedDateTime | No | Yes | RetailTransactionAffiliationTrans.CreatedDateTime | |
SysModifiedDateTimeThe date and time when the record was last changed. | UtcDateTimeModifiedDateTime | No | Yes | RetailTransactionAffiliationTrans.ModifiedDateTime | |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | RetailTransactionAffiliationTrans.DataAreaId | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | RetailTransactionAffiliationTrans.RecId |
Foreign keys (6)
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.
Affiliation→RetailAffiliation.RecId(key of RetailAffiliation)Many RetailTransactionAffiliationTrans records → zero or one RetailAffiliation record
RetailAffiliation details: see RetailLoyaltyCardTierEntity, RetailLoyaltyCardTierV2Entity, RetailAffiliationEntity
Channel→RetailChannelTable.RecId(key of RetailChannelTable)Many RetailTransactionAffiliationTrans records → exactly one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
LoyaltyTier→RetailLoyaltyTier.RecId(key of RetailLoyaltyTier)Many RetailTransactionAffiliationTrans records → zero or one RetailLoyaltyTier record
RetailLoyaltyTier details: see RetailLoyaltyTierEntity, RetailLoyaltyCardRewardPointTransactionEntity, RetailLoyaltyCardRewardPointTransactionV2Entity
StoreId→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailTransactionAffiliationTrans records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
TerminalId→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailTransactionAffiliationTrans records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
TransactionId→RetailTransactionTable.transactionId(key of RetailTransactionTable)Join on all of:
TransactionId=RetailTransactionTable.transactionId,Channel=RetailTransactionTable.Channel,StoreId=RetailTransactionTable.store,TerminalId=RetailTransactionTable.terminalMany RetailTransactionAffiliationTrans records → zero or one RetailTransactionTable record
RetailTransactionTable details: see RetailTransactionEntity, RetailTransactionTableBIEntity, RetailTransactionTableCDREntity
Need help with RetailTransactionAffiliationTransBIEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.