I am trying to add a message as people end their activity on MES. I made a method directive on ERP.BO.Labor.Update. It’s a Pre-Processing directive where I added two conditions.
The LaborDtlType is so that the message only displays for when the employees are in Production, not setup or idle.
The ClockOutTime is to ensure that the Employee is clocking out, changing the time from 24 to the actual clock out time.
I checked the Dev Tools → Network section and confirmed that the ERP.BO.Labor.Update method is being called.
Could the issue be that I initially reviewed the methods in Office MES, but I am now testing in the separate Data Collection app? Could there be a difference in how the two systems handle the method call?
I’ll try changing the condition from Changed Row to Updated Row and see if that makes a difference. If that doesn’t work, I’ll remove the condition entirely and test again.