RE: Time and attendance in product order
I face the same challenge, the customer was trying to avoid to manage "Time and attendance" module because payroll was not part of D365 Dynamics. What I could propose to him was the use of batch jobs in the time and attendance module.
Every time he tried to end a Prod Ord. an error was being generated because it needed mainly because the workers generate some records that every time a job is registeredd, someone has to calculate, approve and transfer these times. Once is transfered you will be able to end the Prod Order.
I propose to program batch jobs for every step in this process; the batch jobs must be sequentially triggered:
- Clock-out workers
- Calculate All
- Approve All
- Transfer All
- End production orders.
1.- Clock-out wokers; Currently the PFE or the job card device, is registering the Clock-in times per worker every time a user is logged in. We realized that there might be cases when workers forget to clock-out. If this happens, dynamics allows to generate missing clock-outs lines for the workers who have a clock in registration only. This step is important to do for all the workers, otherwise when the system tries to approve the time registration an error will pop up stating that clock out are missing for the workers who posted job cards on the PFE.
There is a batch job that you can program for doing this at the end of the day or at the end of a shift (is up to you to decide it),
This batch job can be setup in the next path: Time and attendance/Manage registrations/Clock out workers
Once all the workers who have registered clock in for job times, and all of them also has a clock-out registration, we can proceed to program the Approve all process and program the batch job. This can be set up on the next path:
Select the approval group hit ok and then select approve all and the batch can be programmed
Same thing for transfer
Basically that is it, once this is complete you can end the production order. You can use batch jobs also for doing this with a proper query.
Hope this may help.
Regards
OR