Work schedule and leave tasks

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2

This topic describes the tasks required to set up work schedules and leave types.

Even though you use the same form to maintain the calendars that are used by both Payroll and Production, we recommend that you maintain separate calendars for Payroll and for Production control.

A seven-day pattern of hours that are ordinarily worked is called a working time template. After you create a working time template for each schedule that hourly workers in your organization typically work, you can use the template to generate a working time calendar of one year or more. When you specify the working time calendar as the schedule for a position, all workers who are assigned to the position use that schedule. The scheduled hours are used to generate the default earnings statement lines for the worker-position combination.

Schedules that are based on working time calendars are also used with leave types for paid leave, for both hourly workers and salaried workers.

The following illustration shows the steps that you must follow to set up work schedules and leave. The numbers correspond to the procedures later in this topic.

Nota

Time off that is part of a benefit accrual plan, such as vacation time or sick time, is not considered to be leave. For more information about benefit accrual plans, see Benefit accrual plan tasks.

What do you want to do?

Understand the bigger process

Review the prerequisites

1. Create working time templates

2. Create working time calendars

3. Create leave types

4. Put a worker on leave

Next step

Technical information for system administrators

Find form help

Find related tasks

Understand the bigger process

The following illustration shows the relationship between this topic and the overall process of setting up Payroll for the first time. For information about additional tasks required for this step in the process, and an overview of the whole process, see Setting up payroll: Basic topics.

Back to top

Review the prerequisites

The following table shows the prerequisites that must be in place before you start.

Category

Prerequisite

Version

Microsoft Dynamics AX 2012 R2

Country/region

(USA) The primary address for the legal entity must be in the following countries/regions: United States

Back to top

1. Create working time templates

Create a working time template for each schedule that hourly workers in your organization typically work.

To create a working time template, follow these steps:

  1. Click Organization administration > Common > Calendars > Working time templates.

  2. Click New.

  3. On the Overview tab, enter a brief identifier and a descriptive name for the template.

  4. On the Monday tab, do the following:

    • Make sure that the Closed for pickup check box is not selected.

    • Enter the regular hours of operation for Mondays. Use the From field to specify the time that the work period starts. Use the To field to specify the time that the work period ends.

      Suggerimento

      To set up a 24-hour calendar, enter 12:00 am in the From field and 24 in the To field.

    • In the Efficiency field, enter a value other than 0 (zero). Typically, you would enter 100 to represent that the worker is on duty at that time.

      Suggerimento

      To enter a time period that the user does not receive pay for, such as the lunch hour, enter 0 (zero) in the Efficiency field for the line. No earnings will be generated for that line.

    • Leave the Property field blank.

  5. Repeat the previous step for the remaining days of the week.

    Or, to copy the same schedule to a different day, click Copy day and select the weekdays to copy from and to. Leave the Copy property check box blank.

Repeat these steps to create additional working time templates. When you have finished, close the form.

Back to top

2. Create working time calendars

A working time calendar defines the typical schedule for a position. You can use the calendar to generate default earnings statement lines for workers who are assigned to the position.

To create a working time calendar, follow these steps:

  1. Click Organization administration > Common > Calendars > Calendars.

  2. Click New to create a line.

  3. In the Calendar field, enter a unique identifier of up to 10 characters.

    You might want to use the same first character for every payroll calendar identifier so that they are sorted together in this form.

  4. In the Name field, enter a descriptive name.

  5. Click Working times, and then click Compose working times to create or update working times for the calendar.

  6. In the Calendar field, select the name of the calendar to compose working times for.

  7. In the From date and To date fields, enter the first date and the last date to compose working times for. By default, the calendar starts on the current date and ends on the date that is one year from the current date.

  8. In the Working time template field, select the appropriate template.

  9. Click OK.

  10. When earnings are generated from a schedule, the default earning code for the position is used. There might be days in the calendar that should use a different earning code. For example, holidays might use a Double time earning code.

    For any day in the calendar that requires a different earning code, select the day in the upper grid and then enter the earning code in the lower grid.

    Nota

    The earning codes that you enter here must have a unit of measure of Hours in the Earning codes form.

Repeat these steps to create additional working time calendars for payroll.

After you create working time calendars, you can assign them to positions. For more information, see Worker and position payroll tasks.

Back to top

3. Create leave types

You use leave types to set up the types of leave that workers can take, such as medical, educational, or parental leave.

Time off that is part of a benefit accrual plan, such as vacation time or sick time, is not considered to be leave. For more information about benefit accrual plans, see Benefit accrual plan tasks.

Before you create leave types that can be used to generate earning statement lines for paid leave, you must create an earning code for each type of paid leave. For more information, see Earning code examples.

When a worker goes on leave, the leave type, together with the start date and end date for the leave, is recorded in the Leave form.

To create a leave type, follow these steps:

  1. Click Human resources > Setup > Workers > Leave types.

  2. Click New.

  3. Enter a name and description for the leave type.

  4. If required, enter the earning code to use when earnings lines for the leave are generated.

    • For paid leave, earning codes are required. The earnings lines that are generated for the position during the leave will show a daily breakout.

    • For unpaid leave, if you don’t enter any earning codes, no earnings lines will be generated during the leave period, and the salary amount will be adjusted, although you can manually modify the earnings statement to add earnings statement lines.

      If you want an unpaid leave to generate earning lines, you can create a zero-rate earning code and assign that earning code to the leave type. This allows for hours to be tracked in payroll for time on leave, which lets you generate pay statements. These statements will have no pay, but you can force deduction arrears, track time on leave in Payroll, and allow for FMLA hours taken to be updated by Payroll.

Repeat these steps to create additional leave types. When you have finished, close the form.

Back to top

4. Put a worker on leave

Schedules are used together with leave types when a worker is on paid leave. When a worker is on a paid leave, you must assign a schedule to the worker’s position in order to incorporate the leave settings when you generate earnings statements for the worker. This is required even if you generate earnings by salary for that position and not from a schedule. A schedule is optional for a salaried worker who is on unpaid leave.

Time off that is part of a benefit accrual plan, such as vacation time or sick time, is not considered to be leave. For more information about benefit accrual plans, see Benefit accrual plan tasks.

To put a worker on leave, follow these steps:

  1. Click Payroll > Common > Workers > Workers.

  2. Select the worker to put on leave.

  3. On the Action Pane, click Employment, and then click Leave.

  4. In the Leave type field, select the type of leave.

  5. In the Start date and End date fields, enter the first and last dates of the leave.

  6. In the Note field, enter information about the leave.

  7. Close the form.

  8. For a paid leave, if the worker holds a salaried position, verify that a schedule is assigned to the position.

    1. On the Action Pane, click Worker position assignments. In the Position assignments form, click the number in the Position column.

    2. In the Position form, click the Payroll FastTab.

    3. If the Schedule field is blank, click Edit, and then select a schedule. If there is a schedule in the Schedule field, close the form.

  9. Repeat the previous step for any additional salaried positions that the worker holds.

Back to top

Next step

The next step is to set up benefit accrual plans. For more information, see Benefit accrual plan tasks.

Back to top

Technical information for system administrators

If you don't have access to the pages that are used to complete this task, contact your system administrator and provide the information that is shown in the following table.

Category

Prerequisite

Configuration keys

Payroll - USA

Nota

When you use Payroll, we highly recommend that you turn off the Payroll information configuration key under the Human resource I configuration key. The forms and tables that are enabled by that configuration key are not used by Payroll. If Payroll is installed and the configuration key is enabled, it might be difficult to make sure that your data is entered and tracked correctly.

Security roles and duties

To set up calendars, work schedules, and leave, you must be a member of a security role that includes these duties:

  • Set up payroll master data (PayrollMasterDataMaintain)

  • Inquire into payroll master data (PayrollMasterDataInquire)

  • Enable workforce management process (HCMWorkforceProcessEnable)

  • Maintain calendar master (WorkCalendarMasterMaintain)

  • Enable calendar management process (WorkCalendarsEnable)

Security roles and privileges

To set up calendars, work schedules, and leaves, you must be a member of a security role that includes these privileges:

  • Maintain payroll worker and position detail (PayrollPositionWorkerSetupMaintain)

  • Maintain leave types (HcmLeaveTypeMaintain)

  • Maintain worker employment leave records (HCMEmploymentleavemaintain)

  • Copy calendar working times (WorkCalendarCopy)

  • Create working times (WorkCalendarCreate)

  • Maintain working times (WorkCalendarDateMaintain)

  • Delete calendar working times (WorkCalendarDeleteProcess)

  • Maintain calendars (WorkCalendarTableMaintain)

  • Copy working hours of days (WorkTimeCopyDay)

  • Delete calendar working times (WorkCalendarDeleteProcess)

  • Copy working time templates (WorkTimeCopy)

  • Copy working hours of days (WorkTimeCopyDay)

  • Maintain working time templates (WorkTimeTableMaintain)

Back to top

Find form help

Orari di lavoro (modulo)

Posizioni (modulo)

Azione posizione (modulo)

Congedo (modulo)

Worker and position payroll tasks