Retail operations manager, Retail service, Retail store IT and 2 more roles
Business process
Manage sales channels
Menu item
RetailCDXSchedule
Main table
RetailConnSchedule
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, “P-job uploads store transactions”, 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 page that runs the Commerce scheduler jobs that move data between headquarters and channel databases, either on demand or as a scheduled batch job.
What you do here
Use this page to send master data changes from headquarters to channels (download jobs) and to pull sales transactions from channels into headquarters (P jobs), grouping channel data groups and scheduler jobs into schedules.
Example
For example, run the P-0001 job on a recurring batch every few minutes so that online orders reach headquarters for posting.
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.
Setup steps on this page
Schedule the P-job and the download jobs
Keep channel data current and bring channel transactions into headquarters on a fixed timetable.
Steps from Microsoft
Go to Retail and Commerce > Retail and Commerce IT > Distribution schedule.
Select the job to run, for example P-0001.
Adjust channel database groups, if required.
Select Run now and confirm with Yes, or select Create batch job to schedule it.
For a batch job, enable Batch processing, select Recurrence, set the interval, and select OK.
One recurring P-0001 batch job every 5 to 10 minutes with no end date, and a calendar of download jobs that runs large jobs outside store hours.Microsoft's setup runs the P-job every 5 to 10 minutes, and no more than one P-job should run at a time to avoid table locks.
In this system 5 roles can open this page, among them Retail operations manager, Retail service, Retail store IT and Retail store manager.
Checked in Dynamics 365
Solution architect
5Design impact
Shared or per company
Shared: the table has no company column, so the distribution schedules serve every legal entity. Microsoft data model
Can it be undone
Reversible: Batch jobs can be changed or stopped; download jobs resend changed data on the next run.
If you change it later
Running several P-job upload batch jobs in parallel can cause table locks and slow the system; Microsoft recommends only one P-job at a time, run frequently. Microsoft Learn
Technical architect
6Technical
Menu item
RetailCDXScheduleChecked in Dynamics 365
Form
RetailCDXScheduleChecked in Dynamics 365
Table
RetailConnScheduleShown as “DISTRIBUTION SCHEDULE” in Record infoKey field: NameChecked in Dynamics 365
Who can open it
5 security roles. Select a role to see its duties and privileges.
DutyManage Commerce Data Exchange: Synch ServiceRetailCDXMaintain
PrivilegeMaintain Retail Commerce Data ExchangeRetailCDXMaintain
RoleRetail serviceRetailService
DutyManage Commerce Data Exchange: Synch ServiceRetailCDXMaintain
PrivilegeMaintain Retail Commerce Data ExchangeRetailCDXMaintain
RoleRetail store ITRetailStoreIT
DutyManage Commerce Data Exchange: Synch ServiceRetailCDXMaintain
PrivilegeMaintain Retail Commerce Data ExchangeRetailCDXMaintain
RoleRetail store managerRetailStoreManager
DutyManage Commerce Data Exchange: Synch ServiceRetailCDXMaintain
PrivilegeMaintain Retail Commerce Data ExchangeRetailCDXMaintain
RoleScale unit administratorScaleUnitRuntimeAdmin
DutyMaintain the runtime of scale units.ScaleUnitRuntimeMaintain
PrivilegeMaintain the runtime of scale units.ScaleUnitRuntimeMaintain
Checked in Dynamics 365
Roles to set it up and use it
To set it up or change itRetail service RetailServiceRetail operations manager RetailOperationsManagerRetail store manager RetailStoreManagerRetail store IT RetailStoreITTo use itScale unit administrator ScaleUnitRuntimeAdminGive people one of these roles. On this system, 5 roles can open this page.Checked in Dynamics 365
Actions on the page
(Action Pane without tabs): Create batch job, Run now, HistoryChecked in Dynamics 365
Developer
7Developer
Open it by URL
https://<your-environment>/?mi=RetailCDXSchedule
Data migration
Load order: Distribution schedule has no data entity in Data management, so it can't be loaded from a file or a configuration template. Select Initialize commerce scheduler to create the standard schedules in each environment, then set the channel database groups and batch jobs by hand.Checked in Dynamics 365