Retail merchandising manager, Retail operations manager, Retail service and 1 more role
Business process
Create discounts in Dynamics 365 Commerce
Menu item
RetailPeriodicDiscountPublish
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, “Discount found after processing”, 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 is
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.
What you do here
Use this page to schedule the recurring batch job that publishes flattened discount data as part of the improved discount calculation feature.
Example
For example, schedule the job to run every night so newly enabled discounts are flattened before the next prices and discounts distribution job.
The page in Dynamics 365. page title tab to open what to set or check
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 it
When 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 often
On 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 settings
Recurring batch job; before 10.0.38 several jobs could be scheduled by mistake and block other jobs.
What the output shows
Flattened 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.
Keep the flattened discount tables current so channels find and calculate discounts quickly.
Steps from Microsoft
Go to Retail and Commerce > Pricing and discounts > Process commerce discounts.
In the dialog box, schedule the batch job to run on a recurring basis.
Go to System administration > Workspaces > Feature management and turn on Improve discount computation performance by using flattened discount tables. Test it first, especially if you have pricing engine customizations.
Run the 1020 (Prices and discounts) and 1070 (Channel configuration) distribution schedule jobs.
Ring up an item with an enabled discount at the POS and check that the discount is found and calculated.
Many Process commerce discounts batch jobs block other jobs
This issue is fixed in Commerce 10.0.38. Until you upgrade, you can avoid it by turning off the Improve discount computation performance by using flattened discount tables feature. Microsoft Learn
A recurring batch job, then the 1020 (Prices and discounts) and 1070 (Channel configuration) distribution jobs.With the feature on, headquarters denormalizes discount data before sending it to channels; publication is triggered when a discount is enabled.
Improve discount computation performance by using flattened discount tables (On by default from Commerce 10.0.32)
Licence or add-in
In this system 4 roles can open this page, among them Retail service, Retail operations manager, Retail store manager and Retail merchandising manager.
Enabled discounts: headquarters flattens their data before it is sent to the channel databases. Microsoft Learn
Can it be undone
Reversible: Turn the feature off in Feature management; discounts are then sent without the flattened tables.
If you change it later
Turning 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
6Technical
Menu item
RetailPeriodicDiscountPublishChecked in Dynamics 365
Form
SysOperationTemplateFormChecked in Dynamics 365
Who can open it
4 security roles. Select a role to see its duties and privileges.
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use it
To 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
Load order: Process commerce discounts has no data entity in Data management, so it can't be loaded from a file or a configuration template. It is a batch job: schedule it in each environment.Checked in Dynamics 365