Setting up Calculation parameters for Time & Attendance

A long time ago I was responsible for what is commonly known as the Shop Floor module which we however at the time renamed to the Time&Attendance, Time&Attendance Payroll and Manufacturing execution modules. Recently I was thrown into these modules again specifically in the area of Time&Attendance payroll on a customer implementation.

When setting up Time&Attendance and Time&Attendance payroll a key component is the Calculation parameters and these are in my mind quite poorly documented.

In AX “7” the calculation parameters are located under Time and attendance>Setup>Calculation parameters in AX2012 they are located under HRM>Setup>Time and Attendance.

image001

The Calculation parameters consists of four elements which are read from left to right. The initial one is the Registration specification.

The standard documentation reads the following: with an additional column from me

 

Registration type Description Comment
Working time The employee is at work.
Legal absence The employee is not at work, but the selected absence group does not deduct from their overtime or reduce their flex balance.For example, the absence could be due to illness or to taking an external training course. So Absence group (T&A>Setup>Groups>Absence groups) Has no in both Reduce flex and Deduct overtime:image003
Illegal absence The employee is not at work, but the selected absence group deducts from their overtime. However, the flexible hour’s balance is not reduced.For example, this can be used if an employee is late for work but plans to make up the hours (if this is allowed). So absence group has Yes in Deduct overtime and No in Reduce flex:image005
Flex-reducing absence The employee is not at work. The selected absence group does not deduct from their overtime, but reduces their flex balance.For example, this can be used if an employee takes a whole day off to reduce their flexible hour’s balance. So absence group has no in Deduct overtime and Yes in Reduce flex:image007
Flex-reducing illegal absence The employee is not at work. The absence group deducts from the employee's overtime and reduces the flex balance.For example, this can be used if an employee is allowed to work flexible hours but clocks in after the Flex-period tolerance is over without having a valid excuse for the absence. So absence group has Yes in Deduct overtime and Yes in Reduce flex:image009
Work-free flex zone The employee is not at work in a flexible hours reducing time zone. The employee gets paid and the flex balance is reduced. So this one does not have anything to do with the absence group, the employee has not clocked in but the profile states “Flex-“:If the employee clocked in at 8:40. The period between 8 and 8:40 would be work free flex zone.image011

 

In order to validate the above I suggest to personalize the form to include the log book field “Reg specification” into the approve or calculate forms and then try out different options

image012

:

The second column in the Calculation parameters are the Profile Specification types:

image014

These matches how the Time profile has been setup. Remember to make sure the profile type has been setup correctly.

image015

(I couldn’t capture more rows – but after 4 PM we reach Flex+ again).

image016

So to recapture what has been defined above. Is the worker within a set of clock/in out? Yes, then we are in Working time. Is the worker outside clock in/out then an absence code must in place and we have the four options and lastly we are outside clock in/out but the profile specifies Flex- then we are in the work free flex zone.

The time profile has six options based on the valid profile defined “time types”.

Now we get to the “Calculation” group on the Calculation parameters. These are associated to what is calculated the Approve/calculate forms (or in the batch job). The outcome is presented on the Times tab in these forms.

image018

I have marked the fields on the Times tab that corresponds to the (checkboxes/Sliders) in the Calculation group on the Calculation parameters, here in an example with a number of fun deviations.

Lastly we get to the “Paid” group on the Calculation parameters. The Paid group corresponds to what will be made available in the calculation of Pay items. However, pay items gets generated as a result the pay agreement lines, so if there is not a Pay agreement line to capture the “Output time” of the “Day’s total” calculation no pay item will be generated.

So the Paid group corresponds to the different types of pay agreement lines:

image020

The default calculation parameters for example has a yes in that a premium can be paid out for a standard hour:

image022

Which means that one or more of these could potentially be paid out if the time profile read “Standard time” (hard for the shown profile, but the scenario is here that the worker would have a “Late shift time profile” and therefore get these premiums):

image023

I hope the above assisted in understanding the Time and Attendance Calculation parameters.