Data entity

RetailLoyaltyCardRewardPointTransactionV2Entity

A second version of the loyalty transaction entity, built on the same loyalty transaction table. It holds reward point transactions per card, with sales order, terminal, receipt and activity details. Compared with the first version it adds store number, non-transactional activity ID and entry date and time to the key.

Entity name
RetailLoyaltyCardRewardPointTransactionV2Entity
Public entity name
RetailLoyaltyCardRewardPointTransactionV2
OData collection
RetailLoyaltyCardRewardPointTransactionV2
Category
Not set
Module
Commerce customers
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
OperatingUnitNumber, storeId, Terminal, TransactionNumber, LoyaltyTransactionCompany, LoyaltyTransactionLineNumber, SalesOrderId, AdjustmentId, CardNumber, NonTransactionalActivityId, EntryDate, EntryTime
Staging table
RetailLoyaltyCardRewardPointTransactionV2Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/RetailLoyaltyCardRewardPointTransactionV2
Dataverse virtual table
mserp_retailloyaltycardrewardpointtransactionv2entity. 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

  • RetailLoyaltyCardRewardPointTrans · root
  • RetailAffiliation · OuterJoin to RetailLoyaltyCardRewardPointTrans · read-only
  • RetailChannelTable · OuterJoin to RetailLoyaltyCardRewardPointTrans · 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 RetailLoyaltyCardRewardPointTrans · read-only
  • RetailLoyaltyTier · OuterJoin to RetailLoyaltyCardRewardPointTrans · read-only
  • RetailLoyaltyTierAffiliation (table RetailAffiliation) · OuterJoin to RetailLoyaltyTier · read-only
  • RetailLoyaltyOtherActivityType · OuterJoin to RetailLoyaltyCardRewardPointTrans · read-only

Fields (37)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AdjustmentIdThe ID of the loyalty adjustment that created this entry, if any.String (44)
RetailLoyaltyAdjustmentId
NoYesRetailLoyaltyCardRewardPointAdjustment.AdjustmentIdRetailLoyaltyCardRewardPointTrans.AdjustmentId
LoyaltyProgramPoints to the loyalty program of the entry.Int64
RefRecId
NoNo (private)RetailAffiliation.RecIdRetailLoyaltyCardRewardPointTrans.Affiliation
CardNumberThe number of the loyalty card the entry belongs to.String (30)
RetailLoyaltyCardNumber
NoYesRetailLoyaltyCard.CardNumberRetailLoyaltyCardRewardPointTrans.CardNumber
ChannelPoints to the retail channel where the entry arose.Int64
RefRecId
NoNo (private)RetailChannelTable.RecIdRetailLoyaltyCardRewardPointTrans.Channel
CustomerAccountThe customer account linked to the entry.String (20)
CustAccount
NoYesCustTable.AccountNumRetailLoyaltyCardRewardPointTrans.CustAccount
CustomerAccountCompanyThe company that the linked customer account belongs to.String
DataAreaId
NoYesRetailLoyaltyCardRewardPointTrans.CustAccountDataAreaId
EntryDateThe date the entry was made.Date
RetailLoyaltyRewardPointEntryDate
NoYesRetailLoyaltyCardRewardPointTrans.EntryDate
EntryTimeThe time of day the entry was made.Time
RetailLoyaltyRewardPointEntryTime
NoYesRetailLoyaltyCardRewardPointTrans.EntryTime
EntryTypeThe kind of entry: Earn, Redeem, Return earned, Adjust or Refund.Enum
RetailLoyaltyRewardPointEntryType
  • Earn 1
  • Redeem 2
  • ReturnEarned 3
  • Adjust 4
  • Refund 5
NoYesRetailLoyaltyCardRewardPointTrans.EntryType
ExpirationDateThe date the reward points expire.Date
RetailLoyaltyRewardPointExpirationDate
NoYesRetailLoyaltyCardRewardPointTrans.ExpirationDate
LoyaltyTierPoints to the loyalty tier linked to the entry.Int64
RefRecId
NoNo (private)RetailLoyaltyTier.RecIdRetailLoyaltyCardRewardPointTrans.LoyaltyTier
LoyaltyTransactionTypeThe source of the entry: Retail transaction, Sales order, Loyalty adjustment or Non transactional activity.Enum
RetailLoyaltyTransactionType
  • RetailTransaction 1
  • SalesOrder 2
  • LoyaltyAdjustment 3
  • NonTransactionalActivity 4
YesYesRetailLoyaltyCardRewardPointTrans.LoyaltyTransactionType
LoyaltyTransactionCompanyThe company of the linked retail transaction records.String
DataAreaId
NoYesRetailLoyaltyCardRewardPointTrans.loyaltyTransDataAreaId
LoyaltyTransactionLineNumberThe line number of the linked loyalty reward point transaction.Real
LineNum
NoYesRetailTransactionLoyaltyRewardPointTrans.LineNumRetailLoyaltyCardRewardPointTrans.LoyaltyTransLineNum
ReceiptIdThe receipt number linked to the entry.String (18)
RetailReceiptId
NoYesRetailLoyaltyCardRewardPointTrans.ReceiptId
RemainingThe amount or quantity of points still remaining for the entry.Real
RetailLoyaltyRewardPointRemaining
NoYesRetailLoyaltyCardRewardPointTrans.Remaining
RewardPointPoints to the reward point type used by the entry.Int64
RefRecId
NoNo (private)RetailLoyaltyRewardPoint.RecIdRetailLoyaltyCardRewardPointTrans.RewardPoint
RewardPointAmountQtyThe number of reward points in the entry.Real
RetailLoyaltyRewardPointAmountQty
NoYesRetailLoyaltyCardRewardPointTrans.RewardPointAmountQty
SalesOrderIdThe sales order linked to the entry.String (20)
SalesIdBase
NoYesSalesTable.SalesIdRetailLoyaltyCardRewardPointTrans.SalesId
OperatorIdThe ID of the operator who handled the transaction.String (25)
RetailStaffId
NoYesRetailLoyaltyCardRewardPointTrans.StaffId
TerminalThe number of the POS register used for the transaction.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailLoyaltyCardRewardPointTrans.terminalId
TransactionNumberThe number of the retail transaction linked to the entry.String (44)
RetailTransactionId
NoYesRetailTransactionTable.transactionIdRetailLoyaltyCardRewardPointTrans.transactionId
LoyaltyProgramNameName of the affiliation or loyalty program. It is the key.String (64)
RetailAffiliationName
YesYesRetailAffiliation.Name
ChannelOperatingUnitIdOperating 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
NoYesOMOperatingUnit.OMOperatingUnitNumber
RewardPointIdIdentifier of the reward point. It is the key.String (64)
RetailLoyaltyRewardPointID
YesYesRetailLoyaltyRewardPoint.RewardPointId
LoyaltyTierLoyaltyProgramRecord 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
NoYesRetailLoyaltyTier.TierId
LoyaltyTierLoyaltyProgramNameName of the affiliation or loyalty program. It is the key.String (64)
RetailAffiliationName
NoYesRetailAffiliation.Name
RetailTransactionSalesTransLineNumThe line number of the linked retail sales transaction.Real
LineNumOptional
NoYesRetailTransactionSalesTrans.lineNumRetailLoyaltyCardRewardPointTrans.RetailTransactionSalesTransLineNum
SalesLineLineNumThe line number of the linked sales order line.Real
LineNumOptional
NoYesRetailLoyaltyCardRewardPointTrans.SalesLineLineNum
StartDateThe date the reward points start to be valid.Date
RetailLoyaltyRewardPointStartDate
NoYesRetailLoyaltyCardRewardPointTrans.StartDate
CardTenderTypeThe card type, such as As card tender, As contact tender, No tender or Blocked.Enum
RetailLoyaltyTenderType
RetailLoyaltyTenderTypeBase
  • AsCardTender 0
  • AsContactTender 1
  • NoTender 2
  • Blocked 3
NoYesRetailLoyaltyCardRewardPointTrans.CardTenderType
NonTransactionalActivityIdThe ID of the linked non-transactional loyalty activity.String (30)
RetailLoyaltyNonTransactionalActivityId
NoYesRetailLoyaltyCardRewardPointTrans.NonTransactionalActivityId
LoyaltyOtherActivityTypeIdPoints to the other activity type linked to the entry.Int64
RetailLoyaltyOtherActivityTypeRefRecId
NoNo (private)RetailLoyaltyOtherActivityType.RecIdRetailLoyaltyCardRewardPointTrans.LoyaltyOtherActivityTypeId
LoyaltyOtherActivityTypeNameThe name of the other activity type.String (50)
RetailLoyaltyOtherActivityTypeName
NoYesRetailLoyaltyOtherActivityType.LoyaltyOtherActivityTypeName
storeIdThe number of the store where the transaction took place.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailLoyaltyCardRewardPointTrans.storeId

Foreign keys (16)

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

Email sales@drdynamics.co.uk