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 descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
UsageIdUnique ID (GUID) of the coupon usage.Guid
RetailCouponUsageId
NoYesRetailCouponUsage.UsageId
CouponCodeIdIdentifier of the coupon code that was used.String (60)
RetailCouponCodeId
YesYesRetailCouponCodeTable.CouponCodeIdRetailCouponUsage.CouponCodeId
SalesIdSales order number linked to the usage.String (20)
SalesIdBase
YesYesRetailCouponUsage.SalesId
TransactionIdNumber of the retail transaction in which the coupon was used.String (44)
RetailTransactionId
NoYesRetailCouponUsage.TransactionId
RetailChannelIdID of the retail channel where the coupon was used.String (15)
RetailChannelId
NoYesRetailCouponUsage.RetailChannelId
StatusStatus of the transaction: completed, cancelled, returned or not applied.Enum
RetailCouponUsageStatus
  • Completed 0
  • Canceled 1
  • Returned 2
  • NotApplied 3
NoYesRetailCouponUsage.Status
CustomerAccountCustomer account number linked to the usage.String (20)
CustAccount
NoYesRetailCouponUsage.CustomerAccount
ReceiptIdReceipt number linked to the usage.String (18)
RetailReceiptId
NoYesRetailCouponUsage.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.

Email sales@drdynamics.co.uk