Table
RetailTransactionLoyaltyRewardPointTransHistory
Archived loyalty reward point transactions
Archived loyalty reward point entries from retail transactions. Each entry shows the card, customer, entry type such as earn or redeem, number of points and expiry date. It also links to the loyalty tier and reward point records.
- Table name
RetailTransactionLoyaltyRewardPointTransHistory- Module
Commerce transactions and orders- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (26)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AffiliationRecord ID of the affiliation linked to the entry.low confidence | Int64RefRecId | No | None | |
CardNumberNumber of the loyalty card. | String (30)RetailLoyaltyCardNumber | No | None | |
ChannelRecord ID of the channel the transaction belongs to. | Int64RefRecId | No | None | |
CustAccountAccount number of the customer who owns the points. | String (20)CustAccount | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EntryDateDate the reward point entry was made. | DateRetailLoyaltyRewardPointEntryDate | No | None | |
EntryTimeTime the reward point entry was made. | TimeRetailLoyaltyRewardPointEntryTime | No | None | |
EntryTypeKind of entry, such as earn, redeem, return earned, adjust or refund. | EnumRetailLoyaltyRewardPointEntryType (enum) | No | None | |
ExpirationDateDate when the points expire. | DateRetailLoyaltyRewardPointExpirationDate | No | None | |
LineNumLine number of the entry within the transaction. | RealLineNum | No | None | |
LoyaltyTierRecord ID of the loyalty tier linked to the entry. | Int64RefRecId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ReceiptIdNumber of the receipt for the transaction. | String (18)RetailReceiptId | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
replicationCounterFromOriginCounter value used when the record is replicated from its originating location. | IntegerRetailReplicationCounter | No | None | |
RetailTransactionSalesTransLineNumLine number of the related sales line, which may be empty. | RealLineNumOptional | No | None | |
RewardPointRecord ID of the reward point record linked to the entry. | Int64RefRecId | No | None | |
RewardPointAmountQtyNumber of reward points in the entry. | RealRetailLoyaltyRewardPointAmountQty | No | None | |
StaffIdID of the operator who handled the transaction. | String (25)RetailStaffId | No | None | |
storeIdNumber of the store where the transaction took place. | StringRetailStoreId | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
SysRowVersionNumberRow version number kept by the system to track changes to the record.low confidence | Int64SysRowVersionNumber | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
terminalIdNumber of the register used for the transaction. | StringRetailTerminalId | No | None | |
transactionIdNumber of the retail transaction. | String (44)RetailTransactionId | No | None |
Indexes (2)
TransactionLineIdxChannel,storeId,terminalId,transactionId,LineNum,DataAreaId,PartitionUnique, alternate key.
transactionIdxChannel,storeId,terminalId,transactionId,DataAreaId,PartitionNot unique.
Get this data out
No public entity reads from RetailTransactionLoyaltyRewardPointTransHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailTransactionLoyaltyRewardPointTransHistory in a report, an integration or a migration? Talk to Dr Dynamics.