Hi Mathieu,
Read the whole thread to understand your issue.
First of all I have seen this issue in 763 with timer and has been a big problem in the past.
I like your thought on the solution but not sure if might work on all the condition.
Here is my solution after reading the thread:
1. You need to write your code in the wolisthandler's render method( may there is a better place to write this but this is what i can think of).
2. Work Order resource has attribute called actuallaborlist. Check if you are able to see data in this attribute in the render method else better to create a action menu to clear the timer.
3. Once you have the actuallaborlist then it should be easy i believe.
4. Fetch the worktimer resouse and check if it is started then if yes then check the actuallaborlist resource for your data and then call the reset timer.
woListHandler class code will really helpful to build this logic.
Hope this helps.
------------------------------
Biplab Choudhury
Maximo Consultant
Tata Consultancy Services
Melbourne
------------------------------
Original Message:
Sent: Tue May 04, 2021 01:16 PM
From: Mathieu Guilmette
Subject: Get the full workorder resource Anywhere 764
Hi,
I am doing a customization on the WorkExecution App and I would need to get information from the workorder associated to the WorkOrderTimer.
on the woTimer, there is a WONUM. I can get this easily but how can I find this workorder on the workorder resource anytime in the woList view ?
I tried getting the workorder resource from many differents ways but it is always fill with the workorder from the actual query. If my timer is started on a workorder not shown in a specified query, I can't get it.
How can I do this ?
Thank you
------------------------------
Mathieu Guilmette
------------------------------
#AssetandFacilitiesManagement
#Maximo
#MaximoAnywhere