Creation of independent parent inspection

In the Counter Readings by Serialized Item (tscfg2101m000) session, the Retrieve Counter Reading From field determines how the counter value is retrieved for the counter reading. It can be set to these values:

  • Inspection: The counter reading is an independent counter reading.
  • Physical Breakdown: The counter reading retrieves its counter value from a counter reading with the same measurement type and measurement position specified for the parent in the physical breakdown. Consequently, a parent can be found with a different item/serial number, but with the same measurement type and measurement position.
  • Specific Item: The counter reading retrieves its value from a counter reading related to the specified serialized item. In this case, the parent always has a different item/serial number, but the same measurement type and measurement position as the child.
  • Other Counter Reading: The counter reading retrieves its value from another counter reading related to the same serialized item. Because a counter reading is unique by item, serial number, measurement type and measurement position, the parent has the same item and serial number, but the measurement type or measurement position are different.

This is an example of how the default inspections are created when a reference activity is specified:

  • Related to the reference activity, the measurement types MT1 and MT2 are available and the measurement positions are both empty.
  • On the service order activity, serialized item S1 is present.
  • Two counter readings are available related to serialized item S1:
    • The first counter reading has measurement type MT1 and retrieves its counter value through inspection.
    • The second counter reading has measurement type MT2 and retrieves its counter value from the physical breakdown.

In LN, first an attempt is made to create an inspection for measurement type MT1. If no related counter reading can be found (for the same serialized item, measurement type and position), or if that counter reading retrieves its counter value through inspection, this is an independent inspection. Consequently, the inspection can be created for serialized item S1, measurement type MT1 and an empty measurement position.

For measurement type MT2, a related counter reading is available that retrieves its counter value from the physical breakdown. In LN, the physical breakdown is searched upwards to find a parent serialized item that has a related counter reading with the same measurement type and position as the child. If it is found with serialized item S2 (measurement type = MT2) and this one retrieves its counter from serialized item S3 (measurement type = MT2), then again the counter reading related to serialized item S3 and measurement type MT2 is retrieved to view how that counter reading retrieves its counter value. This counter reading retrieves its counter value from another counter reading, for the same serialized item S3, but a different measurement type/position (measurement type MT3). Next, this parent retrieves its counter value through inspection. Now the process can stop, because the independent parent has been determined.

Instead of creating the inspection related to serialized item S1 and measurement type MT2, which was done previously, an inspection related to serialized item S3 and measurement type MT3 is now created.

Note: In the chain of dependent counter readings, a counter reading cannot be deleted if derived counter readings are available that depend on the parent.