Tuesday, March 10, 2015

Set PMNUM in Child Task Work orders - Maximo 7.5.0.4+

Maximo PM work order generation process does not set the PMNUM attribute for its tasks nor any of the child Work orders created by Route/Nested Job Plan. 

We are therefore not able to use PMNUM to crossover values from PM to all levels of work orders the PM generated.
But, PMs can have routes and a job plan, and routes can have route-stops, and job plans can have nested job plans, etc.

To be able to crossover values from PM attributes all the way down to PM generated work order hierarchies, Maximo has a special, non persistent attribute called NewTaskParentPMNum which is associated with WORKORDER and it’s views WOACTIVITY, WOCHANGE and WORELEASE.

This attribute is set to PMNUM on all work orders generated by PM.

Solution:
1. Create a new cross over domain similar to PM2WO and set the condition as  "pmnum=:NewTaskParentPMNum  and siteid=:siteid and orgid=:orgid”.
Map PM.PMNUM to WORKORDER.PM in this domain.
2. Attach it to attribute WORKORDER.NEWTASKPARENTPMNUM
3. When child task workorders are generated by PM, it will set PMNUM from the parent PM

An extract from below link:
https://goo.gl/Tuvk6U