Data entity
RetailCouponUsageEntity
Records the use of coupon codes, keyed by usage ID and retail channel ID. Each record points to a coupon code ID and holds the sales order, transaction number, receipt number, customer account and transaction status.
- Entity name
RetailCouponUsageEntity- Public entity name
CouponUsage- OData collection
CouponUsages- Category
Not set- Module
Merchandising- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
UsageId, RetailChannelId- Staging table
RetailCouponUsageStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CouponUsages- Dataverse virtual table
mserp_retailcouponusageentity. 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
RetailCouponUsage· root
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
UsageIdUnique ID (GUID) of the coupon usage. | GuidRetailCouponUsageId | No | Yes | RetailCouponUsage.UsageId | |
CouponCodeIdIdentifier of the coupon code that was used. | String (60)RetailCouponCodeId | Yes | Yes | RetailCouponCodeTable.CouponCodeId | RetailCouponUsage.CouponCodeId |
SalesIdSales order number linked to the usage. | String (20)SalesIdBase | Yes | Yes | RetailCouponUsage.SalesId | |
TransactionIdNumber of the retail transaction in which the coupon was used. | String (44)RetailTransactionId | No | Yes | RetailCouponUsage.TransactionId | |
RetailChannelIdID of the retail channel where the coupon was used. | String (15)RetailChannelId | No | Yes | RetailCouponUsage.RetailChannelId | |
StatusStatus of the transaction: completed, cancelled, returned or not applied. | Enum
| No | Yes | RetailCouponUsage.Status | |
CustomerAccountCustomer account number linked to the usage. | String (20)CustAccount | No | Yes | RetailCouponUsage.CustomerAccount | |
ReceiptIdReceipt number linked to the usage. | String (18)RetailReceiptId | No | Yes | RetailCouponUsage.ReceiptId |
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.
CouponCodeId→RetailCouponCodeTable.CouponCodeId(key of RetailCouponCodeTable)Cardinality not set in the metadata.
RetailCouponCodeTable details: see RetailCouponCodeEntity
Need help with RetailCouponUsageEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.