Data entity
RetailCouponEntity
Holds coupons, keyed by coupon number. Each coupon has a description, a status, from and to dates, and a usage limit with its type. It also has flags for customer required, exclusive and applying without a coupon code, plus a discount and an optional parent coupon.
- Entity name
RetailCouponEntity- Public entity name
Coupon- OData collection
Coupons- Category
Not set- Module
Merchandising- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
CouponNumber- Staging table
RetailCouponStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/Coupons- Dataverse virtual table
mserp_retailcouponentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
RetailCoupon· root
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CouponNumberNumber that identifies the coupon. | String (60)RetailCouponNumber | No | Yes | RetailCoupon.CouponNumber | |
DescriptionShort description of the coupon. | String (60)RetailDescriptionEx2 | No | Yes | RetailCoupon.Description | |
StatusStatus of the coupon, such as inactive or active. Two values are marked deprecated. | Enum
| No | Yes | RetailCoupon.Status | |
ValidFromFirst date on which the coupon is valid. | DateFromDate | No | Yes | RetailCoupon.ValidFrom | |
ValidToLast date on which the coupon is valid. | DateToDate | No | Yes | RetailCoupon.ValidTo | |
UsageLimitNumber that limits how often the coupon can be used. | IntegerRetailUsageLimit | No | Yes | RetailCoupon.UsageLimit | |
UsageLimitTypeScope of the usage limit: by company, channel or customer. | Enum
| No | Yes | RetailCoupon.UsageLimitType | |
IsCustomerRequiredYes or no flag showing whether a customer must be given for the coupon. | EnumRetailCouponIsCustomerRequired
| No | Yes | RetailCoupon.IsCustomerRequired | |
IsExclusiveYes or no flag showing whether the coupon is exclusive. | EnumRetailCouponIsExclusive
| No | Yes | RetailCoupon.IsExclusive | |
DiscountOfferIdPoints to the periodic discount linked to the coupon. | String (20)RetailOfferIdEx3 | No | Yes | RetailPeriodicDiscount.OfferId | RetailCoupon.DiscountOfferId |
ParentCouponNumberNumber of the parent coupon, if this coupon belongs to another one. | String (20)RetailParentCouponNumber | No | Yes | RetailCoupon.ParentCouponNumber | |
ApplyWithoutCouponCodeYes or no flag showing whether the coupon can be applied without entering a code. | EnumRetailCouponApplyCouponWithoutCode
| No | Yes | RetailCoupon.ApplyWithoutCouponCode |
Foreign keys (1)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
DiscountOfferId→RetailPeriodicDiscount.OfferId(key of RetailPeriodicDiscount)Relation also requires RetailPeriodicDiscount.IsDiscountCodeRequired = 1.
Cardinality not set in the metadata.
RetailPeriodicDiscount details: see GUPRetailDiscountEntity, GUPRetailDiscountV2Entity, RetailDiscountEntity
Need help with RetailCouponEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.