Table
MCRCouponDiscount
Coupon discount
Holds the discount values set for a coupon. Each row is keyed by coupon ID and amount, and links to the coupon record in MCRCoupon.
- Table name
MCRCouponDiscount- Module
Commerce merchandising- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
MCRCoupon- Primary index
MCRDiscIdx- Replacement key
MCRDiscIdx- Key fields
MCRCouponId, MCRCouponAmount- Model
Foundation
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
MCRCouponIdIdentifier of the coupon this discount belongs to, pointing to the coupon record. | String (20)MCRCouponId | Yes | MCRCoupon.MCRCouponId | MCRCouponDiscountEntity |
MCRCouponAmountAmount figure that forms part of the key for this discount row. | RealMCRCouponAmount | No | MCRCouponDiscountEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
MCRCouponDiscAttrShows how the discount value is expressed: as a percentage, an amount per unit, or a fixed amount. | EnumMCRCouponDiscAttr (enum) | No | MCRCouponDiscountEntity | |
MCRCouponValueNumeric value of the discount for this row. | RealMCRCouponValue | No | MCRCouponDiscountEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
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 | |
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 |
Indexes (1)
MCRDiscIdxPrimary indexReplacement keyUnique, alternate key.
Relations (1)
Each relation joins MCRCouponDiscount to another table on the fields shown.
MCRCoupon→MCRCouponJoin on
MCRCouponId = MCRCoupon.MCRCouponIdOne or more MCRCouponDiscount records → exactly one MCRCoupon record
Get this data out
Tables are not exposed directly. These public entities read from MCRCouponDiscount; use one of them in Power BI, Power Platform or a data management project.
MCRCouponDiscountEntity· 4 fields from this table
Need help with MCRCouponDiscount in a report, an integration or a migration? Talk to Dr Dynamics.