I understand the reason behind it. In my system, we have rules around certain special job plans that the vaste majority of people cannot edit. We also audit all job plan changes for the prior month on a report along with the jobtitle and rights of the person who made the change and when.
It could be my version of Maximo but I would expect JobPLanID to be indexed on the following:
JobLabor
JobPlanSpec
JobTaskSpec
JPTaskRelation
PlusCJPStatus
PS: Why does the JOBPLAN relationship PLUSCJPDSJOBPLAN not factor in SiteID? We have the same Job Plan Number in different sites...
------------------------------
Brad Delong
WDW
------------------------------
Original Message:
Sent: 12-05-2024 12:32
From: Steven Shull
Subject: Questions about Job Plan Revisions
Job Plan revisions came from our Calibration add-on. I think understanding that helps understand the intent behind it. Maximo is used by a lot of regulated industries that need control over these procedures, often with formal approval processes. Prior to job plan revisions, anyone could edit an active job plan, and it would take effect immediately. They could add/remove/modify steps that could lead to potentially disastrous results from a health, safety, or environmental perspective. This helps try to avoid that and provides historical context of what was used when the work order was completed.
Yes, when you create a revision it must be based on the current active revision. You can't revise revision 0 when you have revision 1 active. The revision step starts mostly with a duplicate action so revising an older revision would lead to the incorrect tasks, attachments, plans, etc.
Which tables do you think we perform a join on using JOBPLANID that is not indexed? I checked JOBITEM & JOBTASK for example and both of those have indexes out of the box. It's possible someone has removed them in your environment or there are other tables.
Regarding the JOBPLANID not getting copied to the WORKORDER, that could be done with a crossover domain. I agree the join based on org/site is complicated. I'm not sure why we never added it out of the box.
JOBPLANSPEC uses REFOBJECTID to indicate the jobplanid and JOBTASKSPEC uses REFOBJECTID to indicate the JOBTASKID. PLUSCJPSTATUS could make sense, but we followed our normal convention of joining based on the primary key column sequence of the parent object. Similar to how we join WOSTATUS based on WONUM & SITEID rather than WORKORDERID. I would agree, however, the complexity of this since it is at a SYSTEM/ORG/SITE level would make it better if it was a static ID.
------------------------------
Steven Shull
IBM
------------------------------