On the regular hours being captured as 0, are they possibly entering labor manually by hand? If I remember correctly, when manually recording labor transactions (not using the timer functionality), the hours are not calculated when you enter start date/start time finish date/finish time fields. That allows you to potentially enter 0 hours for a labor transaction if you don't adjust it yourself.
As for the work order can't be completed without a labor transaction (I assume that's what you meant instead of work type), there is an issue where Anywhere will send status change prior to the labor transaction (
IJ26018: ANYWHERE IS NOT SYNCHRONIZING LABOR TRANSACTION BEFORE COMPLETING WORK ORDERS (ibm.com)). Assuming you are throwing an error on the Maximo side, that would prevent it from synchronizing properly. The fact that you're not seeing any errors on the record would be strange and might be an indicator of some deeper problem. Something we learned when we initially implemented Anywhere was that our web server was handling the various HTTP errors that Anywhere would throw and caused the JSON body that Anywhere expected to come back to be a HTML page so it wouldn't render the error messages. We had to change our web server configuration to allow the errors to passthrough so that the JSON response could be properly parsed by the app.
------------------------------
Steven Shull
Projetech
------------------------------
Original Message:
Sent: 11-25-2020 01:25
From: Mahadevan Ramakrishnan
Subject: Regular hours is sometimes getting updated to 0 and sometimes blank labor transaction records are coming into Maximo
Dear All,
We have been observing the issue of regular hours coming as 0 in Maximo from Anywhere for PM and Meter PM type of work orders and sometimes there are no labor transactions that are captured in Maximo from Anywhere.The version is 7.6.3.1
We have put a validation in Maximo Anywhere where the work order cant be completed without a work type transaction and the field staff are starting the timer and stopping the timer once they complete the physical work at site and there are non zero labor hours in anywhere but it is not syncing back to Maximo.We have been unable to find any pattern to detect this behavior and also unable to reproduce this scenario in the non prod environment and also no clue drawn from Mobile First or Device logs to ascertain how these anywhere labor transactions are being lost from coming back to Maximo.
Any suggestions will be greatly appreciated.
Best Regards,
Mahadevan
Tata Consultancy Services
#Mobility
------------------------------
Mahadevan Ramakrishnan
Tata Consultancy Services
------------------------------