BeyondERP.Newsletter
Menu

Setup step on the Distribution schedule page · Retail and Commerce

Schedule the P-job and the download jobs

Keep channel data current and bring channel transactions into headquarters on a fixed timetable.

See how to set it up Back to Retail and Commerce

Used by
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 isA 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 hereUse 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.
ExampleFor example, run the P-0001 job on a recurring batch every few minutes so that online orders reach headquarters for posting.
Distribution schedule 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

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

  1. Go to Retail and Commerce > Retail and Commerce IT > Distribution schedule.
  2. Select the job to run, for example P-0001.
  3. Adjust channel database groups, if required.
  4. Select Run now and confirm with Yes, or select Create batch job to schedule it.
  5. For a batch job, enable Batch processing, select Recurrence, set the interval, and select OK.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
ActiveWhether the schedule job runs. An upload schedule set to No leaves its upload sessions unapplied.Microsoft Learn
DirectionThe direction of the data for the schedule job, typically Download so that data is sent down to the channels.Microsoft Learn
Channel database groupsThe channel database groups that run the scheduler job of this schedule.Microsoft Learn

Common errors and fixes

MessageWhat to do
Run now isn't available for a scheduleFrom version 10.0.11, Run now only works with batch processing. Turn on batch processing for the run. Microsoft Learn
Upload sessions aren't applied and the page warns that the channel database group belongs to a schedule which is not activeThe upload schedule for the group has Active = No. Select the schedule, set Active to Yes and make sure it has a recurring batch job. Microsoft Learn

Test checklist

  1. Select P-0001, select Create batch job, turn on Batch processing and set a recurrence with No end date.
  2. Complete an online or POS sale.
  3. After the next P-job run, check the upload session moves to Applied.
  4. Run Synchronize orders and check a sales order is created in headquarters for the online sale.
  5. Change a register, run the Registers and Channel configuration schedules, and check the change in POS.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Schedule the P-job and the download jobsOne 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.How often should the P-job run?Creating several P-job batch jobs that run at the same time: table locks slow down the whole environment.Test: P-job uploads store transactions

Feature management and licence

Licence or add-inIn 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 companyShared: the table has no company column, so the distribution schedules serve every legal entity. Microsoft data model
Can it be undoneReversible: Batch jobs can be changed or stopped; download jobs resend changed data on the next run.
If you change it laterRunning 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 itemRetailCDXSchedule Checked in Dynamics 365
FormRetailCDXSchedule Checked in Dynamics 365
TableRetailConnScheduleShown 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.

  • RoleRetail operations managerRetailOperationsManager
    • 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 itTo 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 URLhttps://<your-environment>/?mi=RetailCDXSchedule
Data migrationLoad 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
Table definitionRetailConnSchedule columns and relations Microsoft data model
Everyone

8Sources