Data entity
RetailTransactionLoyaltyRewardPointTransBIEntity
Entity for BI and analytics that 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. The key is store, register, transaction number, line number and channel.
- Entity name
RetailTransactionLoyaltyRewardPointTransBIEntity- Public entity name
RetailTransactionLoyaltyRewardPointTransBIEntity- OData collection
RetailTransactionLoyaltyRewardPointTransBIEntities- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
No- Configuration key
Retail- Keys
storeId, terminalId, transactionId, LineNum, Channel- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailTransactionLoyaltyRewardPointTransBIEntities- Dataverse virtual table
mserp_retailtransactionloyaltyrewardpointtransbientity. 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
RetailTransactionLoyaltyRewardPointTrans· root
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AffiliationLoyalty program that the entry belongs to. | Int64RefRecId | No | Yes | 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 | Yes | 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 | Yes | 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 | Yes | 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 |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | RetailTransactionLoyaltyRewardPointTrans.DataAreaId | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | RetailTransactionLoyaltyRewardPointTrans.RecId |
Foreign keys (10)
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
Need help with RetailTransactionLoyaltyRewardPointTransBIEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.