Schedule work orders with a fixed near-term window
Asset managementPeriodicWork orders
EntAssetWorkOrderScheduleService
Used by
Maintenance clerk, Maintenance manager
Business process
Schedule maintenance jobs
Menu item
EntAssetWorkOrderScheduleService
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, “Work orders scheduled by score”, 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 periodic job that schedules work orders by allocating maintenance workers, tools, and assets, based on scores and required skills and certificates.
What you do here
Use this page to schedule work orders that have been created and estimated, now or on a regular basis as a batch job.
Example
For example, BEAT schedules work orders every night with Expected start set to seven days from today or later, so the 40 work orders of the coming week stay as planned and only later ones are scheduled again.
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
After work orders are created and estimated, and their lifecycle state allows scheduling.
How often
On an ongoing basis, for example daily, for work orders that start after the period you keep fixed.
Batch settings
Learn says scheduling can be set up as a batch job on Run in the background; an Expected start formula such as (greaterThanUtcDate(7)) keeps the next days from being rescheduled.
What the output shows
Work orders with maintenance workers, tools and assets allocated by scores, skills and certificates, and an Action center message with the number scheduled.
When set to Yes, scheduling respects resources already booked for other jobs.Microsoft Learn
Yes
Verbose
Shows detailed scoring information in the Action center.Microsoft Learn
No
Expected start
Limits which work orders are scheduled by their expected start date.Microsoft Learn
(greaterThanUtcDate(7))
Common errors and fixes
Message
What to do
A work order isn't scheduled.
Its lifecycle state doesn't have Allow scheduling = Yes, or no maintenance worker has the skills and certificates its job type or trade requires. Microsoft Learn
Work orders overlap on the same worker.
Asset, Tool or Worker was No, so existing reservations were ignored. Run it again with them set to Yes; the Action center lists the overlaps. Microsoft Learn
Test checklist
Create two estimated work orders in a lifecycle state with Allow scheduling = Yes, one with criticality 3 and service level 5.
Run Schedule work orders with Asset, Tool and Worker = Yes and Verbose = Yes.
Read the Action center.
Check that 2 work orders are reported as scheduled and the scores are shown.
Run it as a daily batch job with Expected start of seven days from today or later, and Asset, Tool and Worker = Yes.The relative date keeps the coming days stable, and the three toggles keep existing bookings from being double-booked.
On the live system, this page opens from menu item EntAssetWorkOrderScheduleService in the Asset management menu.
Checked in Dynamics 365
Solution architect
5Design impact
Shared or per company
Per company: the job updates only the Asset management data of the legal entity you run it in. Checked in Dynamics 365
Can it be undone
Reversible with effort: Work orders can be rescheduled on the Gantt chart or by running the job again.
If you change it later
Scheduling allocates workers, tools and assets by the scores in Asset management parameters and the required competencies. With Asset, Tool and Worker set to No, existing reservations are ignored. Work orders are scheduled in one cycle per work order, not per job. Microsoft Learn
Technical architect
6Technical
Menu item
EntAssetWorkOrderScheduleServiceChecked in Dynamics 365
Form
SysOperationTemplateFormChecked in Dynamics 365
Who can open it
2 security roles. Select a role to see its duties and privileges.
RoleMaintenance clerkEntAssetMaintenanceClerk
DutyEnable work order scheduling processEntAssetScheduleWorkOrderProcessEnable
PrivilegeWork order scheduling processEntAssetWorkOrderSchedulingProcess
RoleMaintenance managerEntAssetMaintenanceManager
DutyEnable work order scheduling processEntAssetScheduleWorkOrderProcessEnable
PrivilegeWork order scheduling processEntAssetWorkOrderSchedulingProcess
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 itMaintenance manager EntAssetMaintenanceManagerMaintenance clerk EntAssetMaintenanceClerkGive people one of these roles. On this system, 2 roles can run this page.Checked in Dynamics 365
Load order: The job allocates resources to existing work orders. Load workers (as HR workers with skills and certificates), worker groups, tools and work orders, then run it after go-live.Load first: Workers, Maintenance worker groups, Work ordersMicrosoft Learn
Checked in a working Dynamics 365 system, version 10.0.49: the menu item, form, table and security, the page.
To cite this step: AM-INQ-410, Schedule work orders with a fixed near-term window. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/AM-INQ-410