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 · root
  • RetailAffiliation · OuterJoin to RetailTransactionLoyaltyRewardPointTrans · read-only
  • RetailChannelTable · OuterJoin to RetailTransactionLoyaltyRewardPointTrans · read-only
  • OMOperatingUnit · OuterJoin to RetailChannelTable · read-only
  • RetailDirectSalesChannel · Derived to RetailChannelTable
  • RetailOnlineChannelTable · Derived to RetailChannelTable
  • RetailStoreTable · Derived to RetailChannelTable
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailLoyaltyRewardPoint · OuterJoin to RetailTransactionLoyaltyRewardPointTrans · read-only
  • RetailLoyaltyTier · OuterJoin to RetailTransactionLoyaltyRewardPointTrans · read-only
  • RetailAffiliation1 (table RetailAffiliation) · InnerJoin to RetailLoyaltyTier · read-only

Fields (26)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AffiliationLoyalty program that the entry belongs to.Int64
RefRecId
NoNo (private)RetailAffiliation.RecIdRetailTransactionLoyaltyRewardPointTrans.Affiliation
CardNumberNumber of the loyalty card, pointing to the loyalty card record.String (30)
RetailLoyaltyCardNumber
NoYesRetailLoyaltyCard.CardNumberRetailTransactionLoyaltyRewardPointTrans.CardNumber
ChannelRetail channel the transaction belongs to, pointing to the channel record.Int64
RefRecId
NoNo (private)RetailChannelTable.RecIdRetailTransactionLoyaltyRewardPointTrans.Channel
CustAccountCustomer account linked to the entry, pointing to the customer record.String (20)
CustAccount
NoYesCustTable.AccountNumRetailTransactionLoyaltyRewardPointTrans.CustAccount
EntryDateDate of the reward point entry.Date
RetailLoyaltyRewardPointEntryDate
NoYesRetailTransactionLoyaltyRewardPointTrans.EntryDate
EntryTimeTime of the reward point entry.Time
RetailLoyaltyRewardPointEntryTime
NoYesRetailTransactionLoyaltyRewardPointTrans.EntryTime
EntryTypeKind of entry: earn, redeem, return earned, adjust or refund.Enum
RetailLoyaltyRewardPointEntryType
  • Earn 1
  • Redeem 2
  • ReturnEarned 3
  • Adjust 4
  • Refund 5
NoYesRetailTransactionLoyaltyRewardPointTrans.EntryType
ExpirationDateDate when the reward points expire.Date
RetailLoyaltyRewardPointExpirationDate
NoYesRetailTransactionLoyaltyRewardPointTrans.ExpirationDate
LineNumLine number of the entry within the transaction.Real
LineNum
NoYesRetailTransactionLoyaltyRewardPointTrans.LineNum
LoyaltyTierLoyalty tier linked to the entry, pointing to the tier record.Int64
RefRecId
NoNo (private)RetailLoyaltyTier.RecIdRetailTransactionLoyaltyRewardPointTrans.LoyaltyTier
ReceiptIdNumber printed on the receipt for this transaction.String (18)
RetailReceiptId
NoYesRetailTransactionLoyaltyRewardPointTrans.ReceiptId
replicationCounterFromOriginCounter used to track replication of the record from where it was created.Integer
RetailReplicationCounter
NoYesRetailTransactionLoyaltyRewardPointTrans.replicationCounterFromOrigin
RewardPointReward point definition used, pointing to the loyalty reward point record.Int64
RefRecId
NoNo (private)RetailLoyaltyRewardPoint.RecIdRetailTransactionLoyaltyRewardPointTrans.RewardPoint
RewardPointAmountQtyNumber of reward points in the entry.Real
RetailLoyaltyRewardPointAmountQty
NoYesRetailTransactionLoyaltyRewardPointTrans.RewardPointAmountQty
StaffIdID of the operator who handled the transaction.String (25)
RetailStaffId
NoYesRetailTransactionLoyaltyRewardPointTrans.StaffId
storeIdNumber of the store where the transaction took place.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailTransactionLoyaltyRewardPointTrans.storeId
terminalIdNumber of the POS register that handled the transaction.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailTransactionLoyaltyRewardPointTrans.terminalId
transactionIdNumber of the retail transaction that the entry belongs to.String (44)
RetailTransactionId
NoYesRetailTransactionTable.transactionIdRetailTransactionLoyaltyRewardPointTrans.transactionId
RetailTransactionSalesTransLineNumLine number of the related sales line, if the entry is tied to one.Real
LineNumOptional
NoYesRetailTransactionSalesTrans.lineNumRetailTransactionLoyaltyRewardPointTrans.RetailTransactionSalesTransLineNum
RetailAffiliation_NameName of the affiliation or loyalty program. It is the key.String (64)
RetailAffiliationName
YesYesRetailAffiliation.Name
RetailChannelTable_OMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record.Int64
RefRecId
NoNo (private)OMOperatingUnit.RecIdRetailChannelTable.OMOperatingUnitID
OMOperatingUnit_PartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
YesYesDirPartyTable.PartyNumber
RetailLoyaltyRewardPoint_RewardPointIdIdentifier of the reward point. It is the key.String (64)
RetailLoyaltyRewardPointID
YesYesRetailLoyaltyRewardPoint.RewardPointId
RetailLoyaltyTier_AffiliationRecord ID of the loyalty program the tier belongs to. It points to a loyalty program.Int64
RefRecId
YesNo (private)RetailAffiliation.RecIdRetailLoyaltyTier.Affiliation
RetailLoyaltyTier_TierIdIdentifier or name of the tier.String (64)
RetailAffiliationTierId
YesYesRetailLoyaltyTier.TierId
RetailAffiliation1_NameName of the affiliation or loyalty program. It is the key.String (64)
RetailAffiliationName
YesYesRetailAffiliation.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.

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

Email sales@drdynamics.co.uk