Generate Maintenance Work Orders

The Generate Maintenance Work Orders job is used to generate maintenance work orders for a few selected programs, or all maintenance programs.

The work orders are generated based on the forecasted due dates and the concurrent requirement rules defined in the maintenance programs are applied. The job considers the value defined in the Work Order Horizon in Days in the plant parameters for the organization. Therefore, work orders will only be created into the future for the number of days in the window period.

Note: The forecast and work order horizon number or days values should typically be quite different values. For example, you may create the forecast for 1 year in to the future, but only create work orders for 30 days in to the future.

When to Use

You can run the scheduled process on demand or schedule it to run at a specific interval of time. It is recommended to run the process nightly or weekly, depending upon the cadence of your work requirements and how often the work orders need to be created prior to execution. Additionally, it is recommended to run more frequently if you have day or meter based forecasts that are frequently updated or if you plan to release work orders in execution more frequently.

To run the scheduled process at a specific schedule or time, you can click the Advanced button and then in the Schedule tab, select Using a schedule from the Run option. Now, you can select the frequency and enter a start date for the scheduled process to run.

Privileges Required

  • Privilege: MNT_GENERATE_MAINTENANCE_WORK_ORDERS_FROM_FORECASTS_PRIV

Specifications

Use these specifications when you run the scheduled process.

Specification Description
Job Type Adhoc, you only run at any time to refresh the forecast between scheduled jobs.

Scheduled, it is recommended to schedule the job daily or weekly.

Frequency It is recommended to run more frequently, even daily, if you have day or meter based forecasts.
Time of Day It is recommended to run After Hours and after any Meter updates have occurred from external systems and the forecast is refreshed.
Duration Typically, it will take several minutes, depending on the volume of data being created or updated. The number of work requirements, assets and the window number of days for the work orders horizon will extend the duration of the job.
Compatibility There should be only one instance of the job running at any one time for an organization.

Parameters

The process will typically be run by only selecting an organization code in the LOV.

Parameter Optional or Required Description Parameter Value Special Combinations Required
Organization Required The name of maintenance organization for generating the maintenance work orders. Organization Code using an LOV. None
From Maintenance Program Name Optional The name of first maintenance program in the range of maintenance programs for generating the maintenance work orders. Program Name using an LOV. Yes, From and To must be used together to define a range.
To Maintenance Program Name Optional The name of last maintenance program in the range of maintenance programs for generating the maintenance work orders. Program Name using an LOV. Yes, From and To must be used together to define a range.
From Maintenance Program Code Optional The code of first maintenance program in the range of maintenance programs for generating the maintenance work orders. Program Code using an LOV. Yes, From and To must be used together to define a range.
To Maintenance Program Code Optional The code of last maintenance program in the range of maintenance programs for generating the maintenance work orders. Program Code using an LOV. Yes, From and To must be used together to define a range.

Troubleshooting Information

  • File Processing using the Generate Maintenance Work Orders schedule process:
    • You will schedule a new process to generate the forecast on a schedule.
    • You can view the status of the Generate Maintenance Work Orders job on the Scheduled Processes UI.
    • If any of the processes end in Warning or Error status, review their output logs. You may need to correct the data start the process again.