Table

RetailLoyaltyCardRewardPointAdjustment

Loyalty adjustment

Holds manual adjustments of reward points for a loyalty card. Each row has an adjustment ID, a status of Draft or Posted, the loyalty program, the reward point type and an amount or quantity. It has no defined key in the metadata.

Table name
RetailLoyaltyCardRewardPointAdjustment
Module
Commerce customers
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AdjustmentIdThe ID of the loyalty adjustment.String (44)
RetailLoyaltyAdjustmentId
YesRetailLoyaltyCardRewardPointAdjustmentEntity
AdjustmentStatusThe status of the adjustment: Draft or Posted.Enum
RetailLoyaltyAdjustmentStatus
RetailLoyaltyAdjustmentStatusBase (enum)
YesRetailLoyaltyCardRewardPointAdjustmentEntity
AffiliationPoints to the loyalty program the adjustment applies to.Int64
RefRecId
NoRetailAffiliation.RecIdRetailLoyaltyCardRewardPointAdjustmentEntity
CommentA free-text comment about the adjustment.String (100)
RetailLoyaltyRewardPointAdjustComment
NoRetailLoyaltyCardRewardPointAdjustmentEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
LoyaltyCardPoints to the loyalty card that is adjusted.Int64
RefRecId
YesRetailLoyaltyCard.RecIdRetailLoyaltyCardRewardPointAdjustmentEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
RewardPointPoints to the reward point type that is adjusted.Int64
RefRecId
NoRetailLoyaltyRewardPoint.RecIdRetailLoyaltyCardRewardPointAdjustmentEntity
RewardPointAmountQtyThe amount or quantity of reward points in the adjustment.Real
RetailLoyaltyRewardPointAmountQty
YesRetailLoyaltyCardRewardPointAdjustmentEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransactionDateThe date of the adjustment.Date
RetailAdjustmentTransDate
YesRetailLoyaltyCardRewardPointAdjustmentEntity

Indexes (1)

Relations (3)

Each relation joins RetailLoyaltyCardRewardPointAdjustment to another table on the fields shown.

  • RetailAffiliation → RetailAffiliation

    Join on Affiliation = RetailAffiliation.RecId

    Many RetailLoyaltyCardRewardPointAdjustment records → zero or one RetailAffiliation record

  • RetailLoyaltyCard → RetailLoyaltyCard

    Join on LoyaltyCard = RetailLoyaltyCard.RecId

    Many RetailLoyaltyCardRewardPointAdjustment records → exactly one RetailLoyaltyCard record

  • RetailLoyaltyRewardPoint → RetailLoyaltyRewardPoint

    Join on RewardPoint = RetailLoyaltyRewardPoint.RecId

    Many RetailLoyaltyCardRewardPointAdjustment records → exactly one RetailLoyaltyRewardPoint record

Get this data out

Tables are not exposed directly. These public entities read from RetailLoyaltyCardRewardPointAdjustment; use one of them in Power BI, Power Platform or a data management project.

Need help with RetailLoyaltyCardRewardPointAdjustment in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk