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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AffiliationRecord ID of the affiliation linked to the entry.low confidenceInt64
RefRecId
NoNone
CardNumberNumber of the loyalty card.String (30)
RetailLoyaltyCardNumber
NoNone
ChannelRecord ID of the channel the transaction belongs to.Int64
RefRecId
NoNone
CustAccountAccount number of the customer who owns the points.String (20)
CustAccount
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EntryDateDate the reward point entry was made.Date
RetailLoyaltyRewardPointEntryDate
NoNone
EntryTimeTime the reward point entry was made.Time
RetailLoyaltyRewardPointEntryTime
NoNone
EntryTypeKind of entry, such as earn, redeem, return earned, adjust or refund.Enum
RetailLoyaltyRewardPointEntryType (enum)
NoNone
ExpirationDateDate when the points expire.Date
RetailLoyaltyRewardPointExpirationDate
NoNone
LineNumLine number of the entry within the transaction.Real
LineNum
NoNone
LoyaltyTierRecord ID of the loyalty tier linked to the entry.Int64
RefRecId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ReceiptIdNumber of the receipt for the transaction.String (18)
RetailReceiptId
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
replicationCounterFromOriginCounter value used when the record is replicated from its originating location.Integer
RetailReplicationCounter
NoNone
RetailTransactionSalesTransLineNumLine number of the related sales line, which may be empty.Real
LineNumOptional
NoNone
RewardPointRecord ID of the reward point record linked to the entry.Int64
RefRecId
NoNone
RewardPointAmountQtyNumber of reward points in the entry.Real
RetailLoyaltyRewardPointAmountQty
NoNone
StaffIdID of the operator who handled the transaction.String (25)
RetailStaffId
NoNone
storeIdNumber of the store where the transaction took place.String
RetailStoreId
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
SysRowVersionNumberRow version number kept by the system to track changes to the record.low confidenceInt64
SysRowVersionNumber
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
terminalIdNumber of the register used for the transaction.String
RetailTerminalId
NoNone
transactionIdNumber of the retail transaction.String (44)
RetailTransactionId
NoNone

Indexes (2)

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.

Email sales@drdynamics.co.uk