cancel
Showing results for 
Search instead for 
Did you mean: 

Preventive maintenance using factory calendar as wel as reference date

former_member848905
Discoverer
0 Kudos

Hi, I hope someone can help me with the following. We have a maintenance plan setup for an equipment and we would like it to generate a workorder on the 15th of each month (using a cycle of 1 month), excluding May u/i August. A factory calendar has been created to exclude these months form the working days. However, if we select this factory calendar on the maintenance plan and select 'Time - factory caldr', orders are not generated for the 15th each month of the factory calendar, but every 30 days (as expected) in September u/i April. If we select 'Time - key date' on the scheduling indicator, we do get workorders every month on the 15th, but also for the months we excluded in the factory calendar.

Is there a way to have both? So on the 15th each month in September u/i April only?

Looking forward to your reply.

Kind regards, Jelle.

Accepted Solutions (0)

Answers (1)

Answers (1)

peter_atkin
Active Contributor
0 Kudos

Jelle,

There are two parts to the solution:

  1. To set a specific date each month you need to use the Time - Key Date option in the IP02 Scheduling Parameters
  2. To skip certain months you will need to create factory calendar (via SCAL) with the appropriate working days (e.g. excluding May/August)

PeteA

former_member848905
Discoverer
0 Kudos

Hello Peter, that is exactly what I did, and as you can read in my original post, that doesn't work, unfortunately. It's either the factory calendar, or the key date.

peter_atkin
Active Contributor
0 Kudos

OK - i see the issue now..

You may need to set the Time - Key Date option in IP02 so you get the same date each month, and then develop a solution to automatically skip the relevant months based on the factory calendar.

Have a look at:

  • User-exits IPRM*
  • BADIs *IPRM*

.

PeteA