I am trying to insert a clock in time into the Epicor database using the API Erp.BO.LaborSvc/Labors. I am struggling to get the record I insert to look the same as when added through the Epicor MES. I have it so everything is the same in the LaborHed table except for the columns ClockOutTime, DspClockOutTime, and ActualClockOutTime. The MES puts in 0.00 and empty space and the API is putting in 24.00 for all 3.
Very interesting. Maybe it’s interpreting the 0.00 as midnight? I tried it without the clockout info in the input and it looks to be defaulting to the employee’s shift end time. What’s your end goal for creating a labor head record? If you aren’t going to be clocking in anyone before/ahead of the current time, EmpBasicSvc/ClockIn looks like it creates a record with 0’s in the clockout fields (but it clocks in at current time).
I am looking at the Epicor REST API v.2 Help Page and I do not see any reference to the API EmpBasicSvc/ClockIn? Am I looking in the wrong spot for Epicor APIs?
Maybe I was told the wrong thing. What I am trying to accomplish is to find the APIs that will allow me to clock a user in and out for the day, and to clock in and out of jobs. I was told this was ERP.BO.LaborSvc/Labors that wrote to the LaborHed table. Is this not correct?