Maximo Open Forum

 View Only

 Generating PMs for the week

  • Inventory
Josiah Lawton's profile image
Josiah Lawton posted 10-31-2023 09:50

My question si, how do you generate PMs for the week? For istance, I want to generate my PMs fron Nov 5 thru th Nov 7. My PMs are already in the system and have a frequency assigned to them. I would like to generate them beginging of the week and print the WOs to pass out. Any Ideas?

Teamwork Makes The Dreamwork!

Thanks!!!

Jacqui Insley's profile image
Jacqui Insley

Hi Josiah,

Is it the same PM you want generated daily?, you can either do this two ways pending what you want to see. If you want them to print on a particular day set the seasonal day Sunday through to Saturday.

If you want them generated on the Sunday to commence Monday, tuesday... set the date you want the PMs to generate on, after that date they will automatically run those days. If you have preprod, you can test, if you dont run your forecast and have a look at the dates they will generate for.

Let me know if that helps

Jacqui

Josiah Lawton's profile image
Josiah Lawton

I have a weekly that I want generated on Sunday for Monday work, I biannually generated every 6 months and a yearly generated once a year. I want to be able to print the PM work order so the techs can follow the task/plan attached to it.

Thanks

Loc Chu's profile image
Loc Chu

Sound like you are looking for away to trigger existing PM in the PM module. 

There is a manual way to generate PM:

  1. Select at least 1 PM or use "Select Records" to select multiple PMs
  2. Left hand side under "More Actions, select "Generate Work Orders
  3. Populate "Generate WOs Due Today Plus This Number of Days:"
  4. Left click on "OK" to generate the selected PM.

Note: this will change the "Earliest next Due Date:" and "Estimated Next Due Date:" fields

You may want to look into an automatic way to generate PM WO, example: PMWOGEN

sun kim's profile image
sun kim

Like Loc Chu mentioned, you can use PMWoGen crontask to auto-schedule it. We have a Sunday 5 AM job that creates the PM work orders due for the next 6 days. 

In Maximo 7.6, System Configuration > Platform Configuration > Cron Task Setup

Look up: PMWoGenCrontask

Under Instances, will be the schedule which you set the job. At least one should be active.

Under Parameters tab, we have a parameter called instance_pm_sqlwhere that contains the where clause that selects the PMs. In our case, we look for PM status that is ACTIVE and looks for anything where the next date is today + 6 days. sysdate is for Oracle. It'll be different for SQL Server or DB2.

pm.status = 'ACTIVE' and pm.nextdate <= sysdate + 6

Other resources:

https://bportaluri.com/2014/10/preventive-maintenance-pm-automatic-generation.html

https://www.ibm.com/support/pages/troubleshooting-pmwogen-crontask-setup

https://www.ibm.com/support/pages/tips-executing-pm-wogen-crontask-site