Hi Eric,
The Parent field on the InspectionResult record refers to the Parent, or suggested Parent, of the InspectionResult record, not of the WO. What IFix version of 7.6.1.2 are you on? There have been significant changes to the logic related to the creation of the InspectionResult record through various IFixes. Numerous bugs have been introduced and gradually corrected.
The Parent field on the InspectionResult record is used to support the "Batch Inspections" functionality. When InspectionResult records are created, the ReferenceObject and ReferenceObjectID identify the WO, Task, or MultiAssetLocCI record for which it was created, the "owner" record. The ReferenceObject is set to WORKORDER, WOACTIVITY, or MULTIASSETLOCCI and the ReferenceObjectID is set to the WONum or MultiID of the "owner" record. An additional InspectionResult record may be created with the ReferenceObject set to PARENTWO and the ReferenceObjectID set to the WONum for the "Batch".
When Inspections were first introduced in 7.6.1.1, and through the early days of 7.6.1.2, the design called for Inspections to be "batched" or grouped at the top-level WO in the WO Hierarchy. That means that all Inspections in a WO Hierarchy would be grouped together under the top-level WO. That never made sense and created a significant performance issue in the logic that tried to keep the PARENTWO InspectionResult records at the right level when changes were made to the WO Hierarchy and/or InpsectionResult records were being created. Initially, the performance problem applied to any WO being saved whether or not it was Inspection-related. There were also some bugs in the logic.
After several attempts to fix the performance problems and bugs related to maintaining the "Batch" at the top-level WO, IBM reached the conclusion that it was not a good idea to maintain that logic. Somewhere around 7.6.1.2 IFix 011, the design was changed to no longer attempt to maintain the "Batch" at the top-level WO. But unfortunately, there was some confusion about the appropriate level and bugs were introduced where sometimes the grouping was done at the immediate WO and sometimes at the Parent WO resulting in some InspectionResult records being orphaned with the InspectionResult.Parent being set to a WO for which no PARENTWO InspectionResult record was created. After several discussions, the designers agreed that the InspectionResult.Parent field should be set to the WONum of the "owner" record for WORKORDER and WOACTIVITY records and to the RecordKey of the "owner" record for MULTIASSETLOCCI records. In other words, a "Batch" will only group together InspectionResult records owned by a WO (or Task) with those owned by MultiAssetLocCI records belonging to that WO (or Task). As a result, the concept of a "Batch" only makes sense when using MultiAssetLocCI records.
Some clients had previously complained about what were perceived as duplicate "cards" in the "Conduct an Inspection" application that appeared when an Inspection Form was entered on a WO resulting in 2 InsectionResult records being created for the same WO, one with ReferenceObject = WORKORDER and one with ReferenceObject = PARENTWO. To address this, a System Property named
mxe.app.workorder.InspectionBatchRecord was introduced in 7.6.1.2 IFix 011 which would allow users to disable the creation of the PARENTWO records. Another System Property named mxe.app.workorder.StatusToCreateInspection was introduced at the same time to allow users to control when in the WO life-cycle InspectionResult records should be created. For example, it doesn't make much sense to create InspectionResult records when the WO is in WAPPR, or synonym, Status and it just clutters up the main "Conduct an Inspection" screen which lists all Pending InspectionResult records.
I believe most of the bugs have been resolved with the latest IFix but I have not yet had a chance to download it to confirm that.
Let me know if you have additional questions.------------------------------
Julio Hernandez
Ergonare, Inc.
------------------------------
Original Message:
Sent: 08-10-2022 12:37
From: Eric Godel
Subject: Work Centers Inspection Results and Forms
Greetings,
I wanted to submit a case to IBM, but I figured I would start here first and see if the community has any information on this. We are running Maximo 7.6.1.2 no industry solutions installed.
I have populated the Inspection Form field on a work order. This work order is not a child work order, it has no tasks. When the Inspection Form is set and Maximo creates an Inspection Result for this work order, on the INSPECTIONRESULT table the PARENT field is populated with the WONUM. On the WORKORDER table the PARENT field is NULL. Why would my parent field on the INSPECTIONRESULT table be populated with this, it should match my work orders parent field which is NULL. It doesn't make sense that it is its own parent.
Does anyone know the purpose of this or if this is some type of known IBM issue?
Things seem correct when my work order actually has a parent.
Looking forward to hearing the thoughts of the community!
#EverythingMaximo
#WorkCenters
------------------------------
Eric Godel
------------------------------