BeyondERP.Newsletter
Menu

Setup step on the Scheduling tracing cockpit page · Organization administration

Trace one scheduling run

Record what goes into and comes out of the scheduling engine for one order to find why it is slow or wrong.

See how to set it up Back to Organization administration

Used by
Production manager, Project manager
Business process
Administer system features
Menu item
WrkCtrSchedulingCockpit
Main table
WrkCtrSchedulingLog
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, “A trace is recorded and downloaded”, 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 records detailed logs of what goes into and comes out of the scheduling engine, so you can investigate how specific orders were scheduled.
What you do hereUse this page to turn scheduling logging on and off and to download the log files for troubleshooting.
ExampleFor example, you can turn on logging, schedule one production order, turn logging off, and download a .zip file with the engine log, model and result files.
Scheduling tracing cockpit 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 processAdminister system features
Menu pathOrganization administration › Setup › Scheduling › Scheduling tracing cockpit
Set up firstScheduling parameters Microsoft Learn
Used next byJob scheduling Microsoft Learn
Related pagesScheduling parameters Microsoft Learn
In this process Design an editable Excel workbook · Retire Microsoft Exchange Server parameters
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

Trace one scheduling run

Record what goes into and comes out of the scheduling engine for one order to find why it is slow or wrong.

Steps from Microsoft

  1. Go to Organization administration > Setup > Scheduling > Scheduling tracing cockpit.
  2. On the Action Pane, select Enable logging.
  3. Run scheduling for the production order.
  4. Return to the Scheduling tracing cockpit page and select Disable logging.
  5. Refresh the page. A new line appears in the grid.
  6. Select the new line, and then select Download.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
Log nameThe name of a recorded scheduling trace.Checked in Dynamics 365
Session IDThe session that recorded the trace.Checked in Dynamics 365
Created date and timeWhen the trace was recorded.Checked in Dynamics 365
Created byThe user who recorded the trace.Checked in Dynamics 365
DownloadDownloads a zip file with Log.txt, XmlModel.xml, XmlSlots.xml and Result.xml for the selected trace.Microsoft Learn Log.txt

Common errors and fixes

MessageWhat to do
The trace stops before scheduling finishesDon't trace during a master planning run; tracing quickly reaches its size limit and stops. Trace one order at a time. Microsoft Learn

Test checklist

  1. Select Enable logging, schedule one production order, then select Disable logging.
  2. Refresh the page and check a new line appears.
  3. Select the line and Download, and check the zip holds Log.txt, XmlModel.xml, XmlSlots.xml and Result.xml.
  4. In Log.txt, compare the first and last line times to see how long the scheduler took.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Trace one scheduling runEnable logging, schedule one production order, then disable logging at once and download the traceTracing adds significant overhead, so Microsoft advises using it only to investigate specific orders in a controlled way.When is scheduling traced?Leaving logging on during master planning; the log quickly reaches its size limit and stops, and every run is slower.Test: A trace is recorded and downloaded

Feature management and licence

Licence or add-inOn this system the page opens for Production manager and Project manager. Production planners and support staff use it to investigate scheduling. No Feature management feature needs to be turned on for this page.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneReversible: Logging is switched on and off from the Action Pane; traces can be deleted.
If you change it laterLogging slows scheduling down a lot, so use it only for a few orders. During a master planning run it quickly reaches its size limit and stops. Microsoft Learn
Technical architect

6Technical

Menu itemWrkCtrSchedulingCockpit Checked in Dynamics 365
FormWrkCtrSchedulingCockpit Checked in Dynamics 365
TableWrkCtrSchedulingLogChecked in Dynamics 365
Who can open it

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

  • RoleProduction managerProdProductionManager
    • DutyEnable resource management processWrkCtrResourceManagementProcessEnable
      • PrivilegeMaintain scheduling parametersWrkCtrSchedulingParametersMaintain
  • RoleProject managerProjProjectManager
    • DutyEnable resource management processWrkCtrResourceManagementProcessEnable
      • PrivilegeMaintain scheduling parametersWrkCtrSchedulingParametersMaintain
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itProduction manager ProdProductionManagerProject manager ProjProjectManagerGive people one of these roles. On this system, 2 roles can open this page.Checked in Dynamics 365
Actions on the pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=WrkCtrSchedulingCockpit
Data migrationLoad order: Scheduling tracing cockpit has no data entity in Data management, so it can't be loaded from a file or a configuration template. Traces are troubleshooting logs of one environment; download the zip file instead of moving them.Checked in Dynamics 365
Table definitionWrkCtrSchedulingLog columns and relations Microsoft data model
Everyone

8Sources

To cite this step: OA-SETUP-820, Trace one scheduling run. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/OA-SETUP-820