Data entity

RetailTransactionLoyaltyRewardPointsLineEntity

Holds loyalty reward point transactions from retail sales. Each record is identified by operating unit, line number, register and transaction number. It stores the card number, customer account, reward points, entry type, entry date and time, expiration date, and the reward point ID, tier and loyalty program.

Entity name
RetailTransactionLoyaltyRewardPointsLineEntity
Public entity name
RetailTransactionLoyaltyRewardPointsLine
OData collection
RetailTransactionLoyaltyRewardPointsLines
Category
Not set
Module
Transactions and orders
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
OperatingUnitNumber, LineNumber, Terminal, TransactionNumber
Staging table
RetailTransactionLoyaltyRewardPointsLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/RetailTransactionLoyaltyRewardPointsLines
Dataverse virtual table
mserp_retailtransactionloyaltyrewardpointslineentity. 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
  • RetailChannelTable · InnerJoin to RetailTransactionLoyaltyRewardPointTrans · read-only
  • OMOperatingUnit · OuterJoin to RetailChannelTable · read-only
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailOnlineChannelTable · Derived to RetailChannelTable
  • RetailStoreTable · Derived to RetailChannelTable
  • RetailDirectSalesChannel · Derived to RetailChannelTable
  • RetailLoyaltyRewardPoint · OuterJoin to RetailTransactionLoyaltyRewardPointTrans · read-only
  • RetailLoyaltyTier · OuterJoin to RetailTransactionLoyaltyRewardPointTrans · read-only
  • RetailLoyaltyTierAffiliation (table RetailAffiliation) · OuterJoin to RetailLoyaltyTier · read-only

Fields (22)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AffiliationIdLoyalty program that the entry belongs to.Int64
RefRecId
NoNo (private)RetailAffiliation.RecIdRetailTransactionLoyaltyRewardPointTrans.Affiliation
LoyaltyCardNumberNumber 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
CustomerAccountNumberCustomer 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
LineNumberLine 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
ReceiptNumberNumber printed on the receipt for this transaction.String (18)
RetailReceiptId
NoYesRetailTransactionLoyaltyRewardPointTrans.ReceiptId
RewardPointReward point definition used, pointing to the loyalty reward point record.Int64
RefRecId
NoNo (private)RetailLoyaltyRewardPoint.RecIdRetailTransactionLoyaltyRewardPointTrans.RewardPoint
RewardPointsNumber of reward points in the entry.Real
RetailLoyaltyRewardPointAmountQty
NoYesRetailTransactionLoyaltyRewardPointTrans.RewardPointAmountQty
TerminalNumber of the POS register that handled the transaction.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailTransactionLoyaltyRewardPointTrans.terminalId
TransactionNumberNumber of the retail transaction that the entry belongs to.String (44)
RetailTransactionId
NoYesRetailTransactionTable.transactionIdRetailTransactionLoyaltyRewardPointTrans.transactionId
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
RewardPointIdIdentifier of the reward point. It is the key.String (64)
RetailLoyaltyRewardPointID
YesYesRetailLoyaltyRewardPoint.RewardPointId
LoyaltyTierAffiliationIdRecord 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
NoYesRetailAffiliation.Name
RetailTransactionSalesTransLineNumLine number of the related sales line, if the entry is tied to one.Real
LineNumOptional
NoYesRetailTransactionSalesTrans.lineNumRetailTransactionLoyaltyRewardPointTrans.RetailTransactionSalesTransLineNum

Foreign keys (11)

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

Email sales@drdynamics.co.uk