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.
Step by step, with screenshots
Set up Scheduling parameters1 screen
Set the scheduling engine time limits and resource selection for the company.
Screen 1
Check the scheduling parameters
Go to Organization administration > Setup > Scheduling > Scheduling parameters
Check Parameter usage: By company uses this page, By site uses Scheduling parameters by site
Check the timeout settings and how the primary resource is selected
Select Save after any change
1Parameter usage
By company
2Schedule timeout enabled
Yes
3Primary resource selection
Duration
Maximum scheduling time per sequence
5.00
Show the full screen page title tab to open what to set or check
Steps from Microsoft
Go to Master planning > Setup > Scheduling > Scheduling parameters.
Set Scheduling timeout enabled and Scheduling optimization timeout enabled to Yes.
Enter a Maximum scheduling time per sequence of about 30 seconds as a starting value, and an Optimization attempts timeout if routes have parallel operations.
Choose the Primary resource selection, Duration or Priority.
Save, then job schedule a production order and check how long scheduling takes.
Limits how long scheduling can run. Keep it set to Yes so scheduling can't run endlessly.Microsoft Learn
Scheduling optimization timeout enabled
Limits how long the engine searches for a better schedule. Keep it set to Yes.Microsoft Learn
Maximum scheduling time per sequence
The most seconds the engine spends finding a solution for one sequence, which is usually one order.Microsoft Learn
5.00
SequenceScheduleRuntimeLimit
Optimization attempts timeout
The most seconds the engine spends looking for a better solution. It matters only for routes with parallel operations.Microsoft Learn
SequenceOptimizationRuntimeLimit
Primary resource selection
Choose Duration to pick the resource with the shortest lead time, or Priority to pick the resource with the highest priority.Microsoft Learn
Duration
PrimaryResourceSelection
Parameter usage
The level the scheduling settings are kept at; BEAT uses By company.Checked in Dynamics 365
By company
WrkCtrSchedulingParamInventDimLookup
Schedule timeout enabled
Turns the scheduling timeout on. Planning Optimization always uses a timeout and ignores this option.Microsoft Learn
Yes
SequenceScheduleTimeoutEnabled
Common errors and fixes
Message
What to do
Not enough capacity could be found
Follow Learn's resolution guide for this scheduling engine error: review the capacity time fence, finite capacity, calendars and resource requirements on the route. Microsoft Learn
Test checklist
Set Scheduling timeout enabled and Scheduling optimization timeout enabled to Yes
Set Maximum scheduling time per sequence to about 30 seconds
Job schedule a production order with parallel operations
Check scheduling finishes within the timeout and capacity reservations are created
Scheduling timeout enabled and Scheduling optimization timeout enabled set to Yes, with Maximum scheduling time per sequence of about 30 secondsWith the timeouts off, scheduling can run without end on a route with many options. Microsoft names about 30 seconds per sequence as a good starting point.
Reversible: Timeouts and resource selection can be changed at any time. They apply to both released production orders and planned orders in MRP from the next scheduling run. Microsoft Learn
If you change it later
The timeout values apply to released production orders and to planned orders in master planning, so very high values can make master planning runs much longer. Microsoft Learn
Technical architect
6Technical
Menu item
WrkCtrSchedulingParametersChecked in Dynamics 365
Form
WrkCtrSchedulingParametersChecked in Dynamics 365
Table
WrkCtrParametersShown as “Resource parameters” in Record infoChecked in Dynamics 365
Data entities
WrkCtrOperationsResourceSchedulingParametersEntityResource parameters Microsoft data model
Who can open it
2 security roles. Select a role to see its duties and privileges.
To 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 page
Options: Personalize, Page options, Edit, ShareChecked in Dynamics 365
WrkCtrOperationsResourceSchedulingParametersEntity Scheduling settings (timeouts, resource selection).Load order: Load the company scheduling settings before the site lines on Scheduling parameters by site. Set Parameter usage by hand.Load first: Sites, for the site linesMicrosoft data model
Checked in a working Dynamics 365 system, version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.