BeyondERP.Newsletter
Menu

Job page · Retail and Commerce

Process commerce discounts

A batch job page that denormalizes enabled discount data into flattened tables before it is sent to channel databases, so the pricing engine can find and calculate discounts faster.

Business process
Create discounts in Dynamics 365 Commerce
Menu item
RetailPeriodicDiscountPublish
Show what matters for
PAGE GUIDEWhat the page does and how to use it7 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA batch job page that denormalizes enabled discount data into flattened tables before it is sent to channel databases, so the pricing engine can find and calculate discounts faster.
What you do hereUse this page to schedule the recurring batch job that publishes flattened discount data as part of the improved discount calculation feature.
ExampleFor example, schedule the job to run every night so newly enabled discounts are flattened before the next prices and discounts distribution job.
Process commerce discounts 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

Business processIntroduce products › Set product prices › Create discounts in Dynamics 365 Commerce
Menu pathRetail and Commerce › Pricing and discounts › Process commerce discounts
Set up firstFeature management Microsoft Learn All discounts Microsoft Learn
Used next byDistribution schedule (1020 Prices and discounts, 1070 Channel configuration) Microsoft Learn
Related pagesBatch jobs Microsoft Learn
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.

When to run it

When to run itWhen you turn on the improved discount calculation, and afterwards whenever discounts are enabled. From 10.0.32 the feature is on by default and the job is scheduled when a discount is enabled.
How oftenOn a recurring schedule; with the feature on, a run is also scheduled when a discount is enabled or a product master gets a new variant.
Batch settingsRecurring batch job; before 10.0.38 several jobs could be scheduled by mistake and block other jobs.
What the output showsFlattened discount data in headquarters that the distribution jobs send to channel databases. A discount missing in channels usually means 1020 hasn't run since the job.

Source: Microsoft Learn

Steps from Microsoft

  1. Go to Retail and Commerce > Pricing and discounts > Process commerce discounts.
  2. In the dialog box, schedule the batch job to run on a recurring basis.
  3. Go to Workspaces > Feature management and enable Improve discount computation performance by using flattened discount tables. Test it first, especially if you have pricing engine customizations.
  4. Run the 1020 (Prices and discounts) and 1070 (Channel configuration) distribution schedule jobs.
  5. Afterwards, ring up an item with an enabled discount at the POS and see that the discount is found and calculated.

Source: Microsoft Learn

Solution architect

4Design impact

Can it be undoneNothing to undo: The job republishes discount data; disable the feature to stop using flattened tables. Microsoft Learn
If you change it laterTurning the feature on changes how discounts are published to channels, so it must be tested first, especially with pricing engine customizations; before 10.0.38 duplicate jobs could block other batch work. Microsoft Learn
Technical architect

5Technical

Menu itemRetailPeriodicDiscountPublish Checked in Dynamics 365
FormSysOperationTemplateForm Checked in Dynamics 365
Roles to set it up and use itTo use itRetail service RetailServiceRetail operations manager RetailOperationsManagerRetail store manager RetailStoreManagerRetail merchandising manager RetailMerchandisingManagerGive people one of these roles. On this system, 4 roles can run this page.Checked in Dynamics 365
Developer

6Developer

Open it by URLhttps://<your-environment>/?mi=RetailPeriodicDiscountPublish
Everyone

7Sources