Data entity
RetailCouponCodeEntity
Holds coupon codes, keyed by company and coupon code ID. Each code belongs to a coupon number. It has the code text, a bar code, a status, and from and to dates.
- Entity name
RetailCouponCodeEntity- Public entity name
CouponCodeTable- OData collection
CouponCodeTables- Category
Not set- Module
Merchandising- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
DataAreaId, CouponCodeId- Staging table
RetailCouponCodeTableStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CouponCodeTables- Dataverse virtual table
mserp_retailcouponcodeentity. 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
RetailCouponCodeTable· rootRetailCoupon· InnerJoin toRetailCouponCodeTable
Fields (7)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CouponCodeIdIdentifier of the coupon code record. | String (60)RetailCouponCodeId | Yes | Yes | RetailCouponCodeTable.CouponCodeId | |
CouponNumberNumber that identifies the coupon. | String (60)RetailCouponNumber | Yes | Yes | RetailCoupon.CouponNumber | |
CouponCodeThe code text that is entered or scanned. | String (60)RetailCouponCode | Yes | Yes | RetailCouponCodeTable.CouponCode | |
ValidFromFirst date on which the code is valid. | DateFromDate | No | Yes | RetailCouponCodeTable.ValidFrom | |
ValidToLast date on which the code is valid. | DateToDate | No | Yes | RetailCouponCodeTable.ValidTo | |
StatusStatus of the code, such as inactive or active. Two values are marked deprecated. | Enum
| No | Yes | RetailCouponCodeTable.Status | |
BarcodeBar code value for the coupon code. | String (80)ItemBarCode | No | Yes | RetailCouponCodeTable.Barcode |
Need help with RetailCouponCodeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.