This is a customization, that requires a work order to be unassigned and removed from the mobile when the user updates a field from Report In screen in the MWO app. The workflow is:
- User updates worked hours field and clicks save.
- Work Order is unassigned, and status is set to Released.
- Background Job Mobile_Sync_Sys.Execute_Push_Sync_Job__ is created to remove the WO from the MWO app.
- WO is sent to PSO and received back to IFSAPPs
- WO is transferred to the mobile again.
The above workflow was working correctly but unfortunately it has stopped. What I found is that step 2 works correctly but the background job in step 3 is not generated.
I unassign the WO by using the Mobile_Work_Order_Util_API.Unassign_Work_Order method. This method will unassign the WO and a Mobile_Sync_Sys.Execute_Push_Sync_Job__ background job is automatically created. Strangely when I test this using PL/SQL developer this executes correctly and generates the BK job but not when I test using the MWO app.
I’m not sure why this is? Specially when this was functioning properly when tested earlier. I can confirm that normal push is working correctly and values are syncing between IFSAPP and MWO app.
I have also tried redeploying TAS and syncing the entity through the sync rules screen and Mobile_Sync_Sys.Sync_Now method.
IFAPP9 and MWO app version 3.18.