Table
RetailLoyaltyCardRewardPointDeduction
Reward point deduction
Links a reward point deduction to the loyalty transaction that it uses points from. Each record points to two loyalty transactions, the deduction and the source, and holds a points amount. It has no defined key.
- Table name
RetailLoyaltyCardRewardPointDeduction- Module
Commerce customers- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
Retail- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (7)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
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 | |
RewardPointAmountQtyNumber of reward points involved. | RealRetailLoyaltyRewardPointAmountQty | No | None | |
RewardPointDeductTransSystem record ID of the loyalty transaction that deducts the points. | Int64RefRecId | Yes | RetailLoyaltyCardRewardPointTrans.RecId | None |
RewardPointSourceTransSystem record ID of the loyalty transaction that the points come from. | Int64RefRecId | No | RetailLoyaltyCardRewardPointTrans.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
PointDeductionIdxRewardPointSourceTrans,RewardPointDeductTransUnique.
Relations (2)
Each relation joins RetailLoyaltyCardRewardPointDeduction to another table on the fields shown.
RewardPointDeductTrans→RetailLoyaltyCardRewardPointTransJoin on
RewardPointDeductTrans = RetailLoyaltyCardRewardPointTrans.RecIdOne or more RetailLoyaltyCardRewardPointDeduction records → exactly one RetailLoyaltyCardRewardPointTrans record
RewardPointSourceTrans→RetailLoyaltyCardRewardPointTransJoin on
RewardPointSourceTrans = RetailLoyaltyCardRewardPointTrans.RecIdMany RetailLoyaltyCardRewardPointDeduction records → zero or one RetailLoyaltyCardRewardPointTrans record
Get this data out
No public entity reads from RetailLoyaltyCardRewardPointDeduction. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailLoyaltyCardRewardPointDeduction in a report, an integration or a migration? Talk to Dr Dynamics.