BeyondERP.Newsletter
Menu

Setup step on the Coupons page · Retail and Commerce

Set up coupons and usage limits

Link each coupon to one discount and control how often its codes can be used.

See how to set it up Back to Retail and Commerce

Used by
Retail operations manager, Sales clerk, Sales manager
Business process
Define coupons in Dynamics 365 Commerce
Menu item
RetailCoupon
Main table
RetailCoupon
Data entity
RetailCouponEntity
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Single-use coupon code”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page where you create coupons, each linked to one discount, and define their coupon codes and bar codes, validity dates, status and usage limits.
What you do hereUse this page to link a coupon to a discount and control when and how often the coupon can be redeemed, so the discount is applied only when a valid code or bar code is presented.
ExampleFor example, create a single-use promo code that gives 15 percent off an online order for new customers.
Coupons page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Setup steps on this page

Set up coupons and usage limits

Link each coupon to one discount and control how often its codes can be used.

Steps from Microsoft

  1. Go to Retail and Commerce > Pricing and discounts > Coupons.
  2. Select New.
  3. In the Discount field, select the discount the coupon applies.
  4. Add one or more coupon codes or bar codes, each with its own effective dates and status.
  5. Set Usage limit and Customer required if the coupon should be restricted.
  6. Set the coupon status to Active to enable the linked discount.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansTable column
DiscountThe one discount this coupon applies; the discount defines the eligible products.Microsoft Learn DiscountOfferId
StatusActive or Inactive; this also drives the Enabled/Disabled status of the linked discount.Microsoft Learn
Usage limitOptional limit on how many times each coupon code can be used per customer, per channel or globally.Microsoft Learn UsageLimit
Customer requiredOptional restriction that the transaction must have a customer before the coupon applies.Microsoft Learn IsCustomerRequired
Coupon codes / bar codesOne or more codes per coupon, each with its own date range and status.Microsoft Learn
Apply without coupon codeLets POS cashiers apply the coupon from View available discounts without typing a code.Microsoft Learn ApplyWithoutCouponCode

Common errors and fixes

MessageWhat to do
A limited-use coupon is refused in the call centerLimited-use coupons work in the call center only when Enable order completion is on for the call center channel. Without it, only coupons without a usage limit can be applied. Microsoft Learn
A coupon code can't be used in any channelThe code's status is Inactive. Each coupon code has its own status and dates; set it to Active. Microsoft Learn

Test checklist

  1. Set up a Coupon code mask character, a Coupon bar code mask, a bar code, and the Coupon number and Coupon code ID number sequences.
  2. Create a discount with Coupon code required set to Yes, then create a coupon linked to it with one code and a single-use limit.
  3. Set the coupon to Active and check the discount status changes to Enabled.
  4. In POS, use Add coupon code with the code and check the discount applies.
  5. Try the same code again and check the usage limit stops it.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up coupons and usage limitsOne coupon per discount with Coupon code required on the discount, codes with their own dates, and a usage limit per customer, per channel or global where the offer is limited.The usage limit is enforced per coupon code, so a single-use coupon with two codes can be used twice.How should coupon use be limited?Creating extra codes on a single-use coupon and expecting the coupon to be used only once in total.Test: Single-use coupon code

Feature management and licence

Licence or add-inIn this system 3 roles can open this page, among them Retail operations manager, Sales clerk and Sales manager.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyCoupons are kept per legal entity: each company has its own records. Checked in Dynamics 365
Can it be undoneReversible: Set the coupon code to Inactive; it can't be used in any channel.
If you change it laterLinking a coupon makes the discount's status and dates read-only; activating or deactivating the coupon enables or disables the discount, and activating a coupon with many codes can take time. Microsoft Learn
Technical architect

6Technical

Menu itemRetailCoupon Checked in Dynamics 365
FormRetailCoupon Checked in Dynamics 365
TableRetailCouponShown as “COUPONS” in Record infoChecked in Dynamics 365
Data entitiesRetailCouponEntityCoupons Microsoft data model
Who can open it

4 security roles. Select a role to see its duties and privileges.

  • RoleMCRTestUserRole no duty on this page is assigned to this role directly
  • RoleRetail operations managerRetailOperationsManager
    • DutyMaintain retail couponsRetailCouponsMaintain
      • PrivilegeCreate retail couponsRetailCouponGenerate
      • PrivilegeMaintain retail couponsRetailCouponMaintain
  • RoleSales clerkTradeSalesClerk
    • DutyMaintain retail couponsRetailCouponsMaintain
      • PrivilegeCreate retail couponsRetailCouponGenerate
      • PrivilegeMaintain retail couponsRetailCouponMaintain
  • RoleSales managerTradeSalesManager
    • DutyMaintain couponsMCRCouponMaintain
      • PrivilegeMaintain couponsMCRCouponMaintain
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itRetail operations manager RetailOperationsManagerSales manager TradeSalesManagerSales clerk TradeSalesClerkGive people one of these roles. On this system, 3 roles can open this page.Checked in Dynamics 365
Actions on the page(Action Pane without tabs): Price groups, CopyChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=RetailCoupon
Integrate withRetailCouponEntity data entity Microsoft data model
Data migrationRetailCouponEntity (Coupons): loaded for each company.Microsoft Learn
Table definitionRetailCoupon columns and relations Microsoft data model
Everyone

8Sources

To cite this step: RC-PRC-090, Set up coupons and usage limits. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/RC-PRC-090