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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AdjustmentIdThe ID of the loyalty adjustment. | String (44)RetailLoyaltyAdjustmentId | Yes | RetailLoyaltyCardRewardPointAdjustmentEntity | |
AdjustmentStatusThe status of the adjustment: Draft or Posted. | EnumRetailLoyaltyAdjustmentStatusRetailLoyaltyAdjustmentStatusBase (enum) | Yes | RetailLoyaltyCardRewardPointAdjustmentEntity | |
AffiliationPoints to the loyalty program the adjustment applies to. | Int64RefRecId | No | RetailAffiliation.RecId | RetailLoyaltyCardRewardPointAdjustmentEntity |
CommentA free-text comment about the adjustment. | String (100)RetailLoyaltyRewardPointAdjustComment | No | RetailLoyaltyCardRewardPointAdjustmentEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
LoyaltyCardPoints to the loyalty card that is adjusted. | Int64RefRecId | Yes | RetailLoyaltyCard.RecId | RetailLoyaltyCardRewardPointAdjustmentEntity |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
RewardPointPoints to the reward point type that is adjusted. | Int64RefRecId | No | RetailLoyaltyRewardPoint.RecId | RetailLoyaltyCardRewardPointAdjustmentEntity |
RewardPointAmountQtyThe amount or quantity of reward points in the adjustment. | RealRetailLoyaltyRewardPointAmountQty | Yes | RetailLoyaltyCardRewardPointAdjustmentEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransactionDateThe date of the adjustment. | DateRetailAdjustmentTransDate | Yes | RetailLoyaltyCardRewardPointAdjustmentEntity |
Indexes (1)
AdjustmentIdIdxUnique, alternate key.
Relations (3)
Each relation joins RetailLoyaltyCardRewardPointAdjustment to another table on the fields shown.
RetailAffiliation→RetailAffiliationJoin on
Affiliation = RetailAffiliation.RecIdMany RetailLoyaltyCardRewardPointAdjustment records → zero or one RetailAffiliation record
RetailLoyaltyCard→RetailLoyaltyCardJoin on
LoyaltyCard = RetailLoyaltyCard.RecIdMany RetailLoyaltyCardRewardPointAdjustment records → exactly one RetailLoyaltyCard record
RetailLoyaltyRewardPoint→RetailLoyaltyRewardPointJoin on
RewardPoint = RetailLoyaltyRewardPoint.RecIdMany 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.
RetailLoyaltyCardRewardPointAdjustmentEntity· 8 fields from this table
Need help with RetailLoyaltyCardRewardPointAdjustment in a report, an integration or a migration? Talk to Dr Dynamics.