BeyondERP.Newsletter
Menu

Setup step on the Schedule maintenance plans page · Asset management

Schedule maintenance plans with a fixed horizon

Use this job to create maintenance schedule lines and work orders from maintenance plans.

See how to set it up Back to Asset management

Used by
Maintenance clerk, Maintenance manager
Business process
Perform preventative maintenance
Menu item
EntAssetMaintenancePlanObjectsServicePeriodic
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, “Auto create on both sides”, 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 periodic job that creates maintenance schedule lines (calendar entries) on assets from the maintenance plans set up on them.
What you do hereUse this page to create schedule lines for a chosen period ahead and, where set up, to create work orders automatically.
ExampleFor example, BEAT runs the job every Sunday with Period Month and Period frequency 3. The quarterly service plan of BEAT-PUMP-014 gets its next schedule line for 2027-01-04, and with Auto create on both plan line and dialog, work order BEAT-WO-000601 is created too.
Schedule maintenance plans 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.

When to run it

When to run itAfter maintenance plans are set up or changed, and regularly to keep the maintenance schedule filled ahead.
How oftenAt regular intervals that keep schedule lines created for the period you set.
Batch settingsLearn says the job can be set up as a batch job on Run in the background to create calendar entries at regular intervals.
What the output showsMaintenance schedule lines (work order proposals) for time-based and counter-based plans, and work orders where Auto create applies on both sides. Lines with an expected start earlier than now aren't created.

Source: Microsoft Learn

Setup steps on this page

Schedule maintenance plans with a fixed horizon

Use this job to create maintenance schedule lines and work orders from maintenance plans.

Steps from Microsoft

  1. Go to Asset management > Periodic > Preventive maintenance > Schedule maintenance plans.
  2. In Period and Period frequency, set how far ahead schedule lines are created, for example Month and 3.
  3. Set Auto create if specified in the line to Yes if work orders should be created for plan lines that also have Auto create.
  4. Limit the run to maintenance plans, assets, asset types, functional locations or functional location types if needed.
  5. Set it up as a recurring batch job after Update asset counters.
  6. Open All maintenance schedule and check the new lines and any work orders created.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
Period / Period frequencyHow far ahead maintenance schedule lines are created.Microsoft Learn Month / 3
Auto create if specified in the lineWhen Yes, work orders are created for maintenance plan lines that also have Auto create selected.Microsoft Learn Yes

Common errors and fixes

MessageWhat to do
Schedule lines are created but no work orders.Work orders are created only when Auto create is Yes both in the dialog and on the plan line; otherwise lines get status Created. Microsoft Learn
Schedule lines of a functional location disappeared.Changing asset types, manufacturers or models on the location's maintenance plans deletes its existing schedule entries. Run the job again for that location. Microsoft Learn

Test checklist

  1. Set Auto create on one plan line of BEAT-PUMP-014 and leave it off on another.
  2. Run Schedule maintenance plans for 3 months with Auto create if specified in the line = Yes.
  3. Open All maintenance schedule for BEAT-PUMP-014.
  4. Check that the first line has status Work order created and the second has status Created.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Schedule maintenance plans with a fixed horizonRun it as a weekly batch job with a three-month horizon, after Update asset counters, and decide Auto create per plan line.The horizon sets how far ahead planners see work, and counter-based plans need current counters; work orders are created only when Auto create is on both sides.Are work orders created automatically from maintenance plans?Changing asset types or models on a functional location's plans and not rerunning the job; its schedule entries are deleted.Test: Auto create on both sides

Feature management and licence

Licence or add-inOn the live system, this page opens from menu item EntAssetMaintenancePlanObjectsServicePeriodic in the Asset management menu.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: the job updates only the Asset management data of the legal entity you run it in. Checked in Dynamics 365
Can it be undoneReversible with effort: Work orders it creates must be handled as normal work orders.
If you change it laterCreates maintenance schedule lines and, where Auto create applies on both sides, work orders. Changing asset types, manufacturers or models on a functional location's plans afterwards deletes that location's schedule entries, so the job must run again. Microsoft Learn
Technical architect

6Technical

Menu itemEntAssetMaintenancePlanObjectsServicePeriodic Checked in Dynamics 365
FormSysOperationTemplateForm Checked in Dynamics 365
Who can open it

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

  • RoleMaintenance clerkEntAssetMaintenanceClerk
    • DutyEnable Preventive Maintenance ProcessEntAssetPreventiveMaintenanceProcessEnable
      • PrivilegeCalculate preventive maintenanceEntAssetPreventiveMaintenanceProcessCalculate
  • RoleMaintenance managerEntAssetMaintenanceManager
    • DutyEnable Preventive Maintenance ProcessEntAssetPreventiveMaintenanceProcessEnable
      • PrivilegeCalculate preventive maintenanceEntAssetPreventiveMaintenanceProcessCalculate
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 itTo use itMaintenance manager EntAssetMaintenanceManagerMaintenance clerk EntAssetMaintenanceClerkGive people one of these roles. On this system, 2 roles can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=EntAssetMaintenancePlanObjectsServicePeriodic
Data migrationLoad order: The job creates schedule lines from maintenance plans on assets and functional locations. Load maintenance plans and their links to assets first, then run the job after go-live instead of migrating schedule lines.Load first: Maintenance plans, Assets, Functional locationsMicrosoft Learn
Everyone

8Sources