Data entity
RetailTransactionLoyaltyRewardPointTransEntity
Holds loyalty reward point entries from retail transactions. Records include card number, customer account, entry type, entry date and time, expiration date and reward points. It links to the loyalty program, loyalty tier, reward point, retail channel and store.
- Entity name
RetailTransactionLoyaltyRewardPointTransEntity- Public entity name
TransactionLoyaltyRewardPointTrans- OData collection
TransactionLoyaltyRewardPointTrans- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
OMOperatingUnit_PartyNumber, storeId, terminalId, transactionId, LineNum- Staging table
RetailTransactionLoyaltyRewardPointTransStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/TransactionLoyaltyRewardPointTrans- Dataverse virtual table
mserp_retailtransactionloyaltyrewardpointtransentity. 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
RetailTransactionLoyaltyRewardPointTrans· rootRetailAffiliation· OuterJoin toRetailTransactionLoyaltyRewardPointTrans· read-onlyRetailChannelTable· OuterJoin toRetailTransactionLoyaltyRewardPointTrans· read-onlyOMOperatingUnit· OuterJoin toRetailChannelTable· read-onlyRetailDirectSalesChannel· Derived toRetailChannelTableRetailOnlineChannelTable· Derived toRetailChannelTableRetailStoreTable· Derived toRetailChannelTableRetailMCRChannelTable· Derived toRetailChannelTableRetailLoyaltyRewardPoint· OuterJoin toRetailTransactionLoyaltyRewardPointTrans· read-onlyRetailLoyaltyTier· OuterJoin toRetailTransactionLoyaltyRewardPointTrans· read-onlyRetailAffiliation1(tableRetailAffiliation) · InnerJoin toRetailLoyaltyTier· read-only
Fields (26)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AffiliationLoyalty program that the entry belongs to. | Int64RefRecId | No | No (private) | RetailAffiliation.RecId | RetailTransactionLoyaltyRewardPointTrans.Affiliation |
CardNumberNumber of the loyalty card, pointing to the loyalty card record. | String (30)RetailLoyaltyCardNumber | No | Yes | RetailLoyaltyCard.CardNumber | RetailTransactionLoyaltyRewardPointTrans.CardNumber |
ChannelRetail channel the transaction belongs to, pointing to the channel record. | Int64RefRecId | No | No (private) | RetailChannelTable.RecId | RetailTransactionLoyaltyRewardPointTrans.Channel |
CustAccountCustomer account linked to the entry, pointing to the customer record. | String (20)CustAccount | No | Yes | CustTable.AccountNum | RetailTransactionLoyaltyRewardPointTrans.CustAccount |
EntryDateDate of the reward point entry. | DateRetailLoyaltyRewardPointEntryDate | No | Yes | RetailTransactionLoyaltyRewardPointTrans.EntryDate | |
EntryTimeTime of the reward point entry. | TimeRetailLoyaltyRewardPointEntryTime | No | Yes | RetailTransactionLoyaltyRewardPointTrans.EntryTime | |
EntryTypeKind of entry: earn, redeem, return earned, adjust or refund. | Enum
| No | Yes | RetailTransactionLoyaltyRewardPointTrans.EntryType | |
ExpirationDateDate when the reward points expire. | DateRetailLoyaltyRewardPointExpirationDate | No | Yes | RetailTransactionLoyaltyRewardPointTrans.ExpirationDate | |
LineNumLine number of the entry within the transaction. | RealLineNum | No | Yes | RetailTransactionLoyaltyRewardPointTrans.LineNum | |
LoyaltyTierLoyalty tier linked to the entry, pointing to the tier record. | Int64RefRecId | No | No (private) | RetailLoyaltyTier.RecId | RetailTransactionLoyaltyRewardPointTrans.LoyaltyTier |
ReceiptIdNumber printed on the receipt for this transaction. | String (18)RetailReceiptId | No | Yes | RetailTransactionLoyaltyRewardPointTrans.ReceiptId | |
replicationCounterFromOriginCounter used to track replication of the record from where it was created. | IntegerRetailReplicationCounter | No | Yes | RetailTransactionLoyaltyRewardPointTrans.replicationCounterFromOrigin | |
RewardPointReward point definition used, pointing to the loyalty reward point record. | Int64RefRecId | No | No (private) | RetailLoyaltyRewardPoint.RecId | RetailTransactionLoyaltyRewardPointTrans.RewardPoint |
RewardPointAmountQtyNumber of reward points in the entry. | RealRetailLoyaltyRewardPointAmountQty | No | Yes | RetailTransactionLoyaltyRewardPointTrans.RewardPointAmountQty | |
StaffIdID of the operator who handled the transaction. | String (25)RetailStaffId | No | Yes | RetailTransactionLoyaltyRewardPointTrans.StaffId | |
storeIdNumber of the store where the transaction took place. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailTransactionLoyaltyRewardPointTrans.storeId |
terminalIdNumber of the POS register that handled the transaction. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailTransactionLoyaltyRewardPointTrans.terminalId |
transactionIdNumber of the retail transaction that the entry belongs to. | String (44)RetailTransactionId | No | Yes | RetailTransactionTable.transactionId | RetailTransactionLoyaltyRewardPointTrans.transactionId |
RetailTransactionSalesTransLineNumLine number of the related sales line, if the entry is tied to one. | RealLineNumOptional | No | Yes | RetailTransactionSalesTrans.lineNum | RetailTransactionLoyaltyRewardPointTrans.RetailTransactionSalesTransLineNum |
RetailAffiliation_NameName of the affiliation or loyalty program. It is the key. | String (64)RetailAffiliationName | Yes | Yes | RetailAffiliation.Name | |
RetailChannelTable_OMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record. | Int64RefRecId | No | No (private) | OMOperatingUnit.RecId | RetailChannelTable.OMOperatingUnitID |
OMOperatingUnit_PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.PartyNumber | |
RetailLoyaltyRewardPoint_RewardPointIdIdentifier of the reward point. It is the key. | String (64)RetailLoyaltyRewardPointID | Yes | Yes | RetailLoyaltyRewardPoint.RewardPointId | |
RetailLoyaltyTier_AffiliationRecord ID of the loyalty program the tier belongs to. It points to a loyalty program. | Int64RefRecId | Yes | No (private) | RetailAffiliation.RecId | RetailLoyaltyTier.Affiliation |
RetailLoyaltyTier_TierIdIdentifier or name of the tier. | String (64)RetailAffiliationTierId | Yes | Yes | RetailLoyaltyTier.TierId | |
RetailAffiliation1_NameName of the affiliation or loyalty program. It is the key. | String (64)RetailAffiliationName | Yes | Yes | RetailAffiliation.Name |
Foreign keys (12)
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 RetailTransactionLoyaltyRewardPointTrans records → zero or one RetailAffiliation record
RetailAffiliation details: see RetailLoyaltyCardTierEntity, RetailLoyaltyCardTierV2Entity, RetailAffiliationEntity
CardNumber→RetailLoyaltyCard.CardNumber(key of RetailLoyaltyCard)Many RetailTransactionLoyaltyRewardPointTrans records → zero or one RetailLoyaltyCard record
RetailLoyaltyCard details: see RetailLoyaltyCardEntity, RetailLoyaltyCardRewardPointAdjustmentEntity, RetailLoyaltyCardTierEntity
Channel→RetailChannelTable.RecId(key of RetailChannelTable)Many RetailTransactionLoyaltyRewardPointTrans records → zero or one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
CustAccount→CustTable.AccountNum(key of CustTable)Many RetailTransactionLoyaltyRewardPointTrans records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
LoyaltyTier→RetailLoyaltyTier.RecId(key of RetailLoyaltyTier)Many RetailTransactionLoyaltyRewardPointTrans records → zero or one RetailLoyaltyTier record
RetailLoyaltyTier details: see RetailLoyaltyTierEntity, RetailLoyaltyCardRewardPointTransactionEntity, RetailLoyaltyCardRewardPointTransactionV2Entity
RewardPoint→RetailLoyaltyRewardPoint.RecId(key of RetailLoyaltyRewardPoint)Many RetailTransactionLoyaltyRewardPointTrans records → zero or one RetailLoyaltyRewardPoint record
RetailLoyaltyRewardPoint details: see RetailLoyaltyRewardPointEntity, RetailLoyaltyCardRewardPointAdjustmentEntity, RetailLoyaltyCardRewardPointTransactionEntity
storeId→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailTransactionLoyaltyRewardPointTrans records → zero or one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
terminalId→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailTransactionLoyaltyRewardPointTrans records → zero or one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
transactionId→RetailTransactionTable.transactionId(key of RetailTransactionTable)Join on all of:
transactionId=RetailTransactionTable.transactionId,Channel=RetailTransactionTable.Channel,terminalId=RetailTransactionTable.terminal,storeId=RetailTransactionTable.storeMany RetailTransactionLoyaltyRewardPointTrans records → zero or one RetailTransactionTable record
RetailTransactionTable details: see RetailTransactionEntity, RetailTransactionTableBIEntity, RetailTransactionTableCDREntity
RetailTransactionSalesTransLineNum→RetailTransactionSalesTrans.lineNum(key of RetailTransactionSalesTrans)Join on all of:
RetailTransactionSalesTransLineNum=RetailTransactionSalesTrans.lineNum,Channel=RetailTransactionSalesTrans.Channel,storeId=RetailTransactionSalesTrans.store,terminalId=RetailTransactionSalesTrans.terminalId,transactionId=RetailTransactionSalesTrans.transactionIdMany RetailTransactionLoyaltyRewardPointTrans records → zero or one RetailTransactionSalesTrans record
RetailTransactionSalesTrans details: see RetailTransactionSalesLineEntity, RetailTransactionSalesLineV2Entity, RetailTransactionSalesTransBIEntity
RetailChannelTable_OMOperatingUnitID→OMOperatingUnit.RecId(key of OMOperatingUnit)Zero or one RetailChannelTable record → exactly one OMOperatingUnit record
OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity
RetailLoyaltyTier_Affiliation→RetailAffiliation.RecId(key of RetailAffiliation)Many RetailLoyaltyTier records → exactly one RetailAffiliation record
RetailAffiliation details: see RetailLoyaltyCardTierEntity, RetailLoyaltyCardTierV2Entity, RetailAffiliationEntity
Need help with RetailTransactionLoyaltyRewardPointTransEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.