SG-2155 CLONE - Work Orders - Last Meter Reading does not update to the correct value if equipment is linked to 2 meters with different UOM |
Description |
|
The PMLSTMTR is giving wrong last read value to my close PPM work order. I have assets that runs on multiple meters, for the PMLSTMTR to work, the OBJ_PRIMARYUOM need to be populated. I have PM and MP programs that runs on these meters. When release, the EVT_FAILUREUSAGE = LAST METER READ of the corresponding PM and MP meter UOMs. On completion, the EVT_FAILUREUSAGE = LAST_METER_READ of OBJ_PRIMARYUOM. Steps: # Go to Asset 220608-EQN1 record view, Meter Unit = km. # In Meters tab, create lines for Physical Meter = KM. (UOM = km) and Physical Meter = H. (UOM = HUR) # Go to Organizations, Organization = SG-OFF, in Options tab, filter for PMLSTMTR and set to 'NEW'. # Create 2 PM Schedules, fixed type : ## PM 220608-PM-KM. Meter Interval = 1000 km. In Equipment tab, add equipment 220608-EQN1 and set Meter Due as 1000 ## PM 220608-PM-H. Meter Interval = 250 HUR. In Equipment tab, add equipment 220608-EQN1 and set Meter Due as 250 # To release the 2 PM Schedules, go to Assets and retrieve 220608-EQN1, in Meter Readings tab, enter lines for : ## UOM = Kilometers, Value = 1001 ## UOM = 'Hour, Value = 255 # Go to Work Orders and retrieve for equipment = 220608-EQN1' which will display the released PM WOs, notice that Last Meter Reading would correspond to the last read of the PM UOM. # Change the status of the Work Orders from Released to Completed and the Last Meter Reading would change to last read of Asset Meter Unit UOM values. Expected result: 220608-PM-KM. WO Last Meter Reading = last read of KM. ; 220608-PM-H. WO Last Meter Reading = last read of H. Actual result: When PM work order is close, Last Meter Reading is updated to the last reading of Asset Meter Unit UOM values regardless if ppm_metuom/mtp_metuom is not the same as obj_primaryuom. |