Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This article provides an example scenario that shows how to set up Microsoft Dynamics 365 Supply Chain Management so that it uses payroll statistics to provide each worker with an overview of their vacation balance for the current year. Workers will be able to see their vacation balance in the My day dialog box in the production floor execution interface.
This scenario uses the Danish holiday law, where the vacation year goes from September 1 through August 31. In this scenario, your company has hired a new worker and will grant that worker a balance of 10 vacation days for the rest of the current vacation year.
To run this scenario, the "My day" view for the production floor execution interface feature must be enabled in Feature management. For information about how to enable this and other features for the production floor execution interface, see Configure the production floor execution interface.
To work through this scenario by using the sample records and values that are specified here, you must be on a system where the standard demo data is installed. Additionally, you must select the USMF legal entity before you begin.
Start by creating a new pay type that will track workers' earned vacation days (also referred to as their vacation balance). Typically, pay types are used to calculate workers' pay. However, the pay type that you create here will be used to calculate a balance.
Go to Time and attendance > Setup > Payroll > Pay types.
On the Action Pane, select New to add a row to the grid.
On the new row, set the following values:
In this section, you will edit an existing pay agreement by adding the new pay type and setting the rules that define how each worker's vacation balance is adjusted when vacation days are registered.
Go to Time and attendance > Setup > Payroll > Pay agreements.
Select the pay agreement where you want to set up the vacation policy. (If you're working with standard USMF sample data, there is only one pay agreement, Man.)
Make sure that the selected pay agreement is valid for the current date. If you're working with standard USMF sample data, the To date field of the Man pay agreement might be set to a date that is in the past. Change the value so that it's a year or two in the future, as required.
On the Action Pane, select Agreement lines.
On the Pay agreement lines page, on the Overview FastTab, set the following values on the toolbar:
On the Action Pane, select New to add a row to the grid.
On the new row, set the Pay type field to the pay type that you created for this scenario (5151-1). Leave all other fields set to their default values.
While the new row is still selected, on the General FastTab, set the following values:
On the Action Pane, select Copy day.
In the Copy day dialog box, set the following values:
Select OK.
Payroll statistic groups are used to set up statistics for worker registrations during a period. In this scenario, you will use a payroll statistic group to calculate the number of vacation days that workers earn during a vacation period. In Denmark, the vacation period runs from September 1 through August 31.
Go to Time and attendance > Setup > Payroll > Payroll statistics groups.
On the Action Pane, select New to add a row to the grid.
On the new row, set the following values:
While the new row is still selected, select Setup on the Action Pane.
On the Setup page, on the Action Pane, select New to add a row to the grid.
On the new row, set the Pay type field to 5151-1.
Select and hold (or right-click) the Period code field, and then select View details. You can now set up the period code that you will assign to this field later.
On the Period types page, on the Action Pane, select New to add a row to the grid.
On the new row, set the following values:
While the new row is still selected, select Generate periods on the Action Pane.
In the Generate periods dialog box, set the following values:
Select OK.
Close the Period types page to return to the Payroll statistics groups page.
Set the Period code field to the period type that you just created (VacYear).
In this section, you will create a statistical balance setup that is linked to the payroll statistic group that you created in the previous section. Later, you will link this statistical balance setup to the My day view in the production floor execution interface. The My day view will then be able to show the vacation balances for the pay type that is assigned to the associated payroll statistic group.
Go to Time and attendance > Setup > Payroll > Statistical balance setup.
On the Action Pane, select New to add a row to the grid.
On the new row, set the following values:
Manual premiums are typically used to grant workers extra pay for extra work. In this scenario, you will create a manual premium that you can use to set the initial vacation balance for each worker.
Go to Time and attendance > Setup > Payroll > Manual premiums.
On the Action Pane, select New to add a record.
In the new record, set the following values:
Payroll administrators use the Approve page to review and approve workers' daily registrations. In this scenario, you will take on the role of an admin so that you can set the initial vacation balance for a worker and register vacation days that the worker takes.
Go to Time and attendance > Review and approve > Approve.
In the Approve dialog box, set the following fields:
Select OK.
The Approve page shows a list of records that match your criteria. Select the worker that you want to approve. If you're working with standard USMF sample data, select worker 000496 (Christina Portra).
Grant the selected worker 10 days of vacation:
While the worker is still selected, select Premium lines on the Action Pane.
On the Premium lines page, on the Action Pane, select New to add a row to the grid.
On the new row, set the following values:
Close the Premium lines page.
On the Approve page, register the fact that the worker used one of their vacation days on the current date:
While the worker is still selected, in the lower part of the page, on the Overview tab, select New on the toolbar to add a row to the grid.
On the new row, set the following values:
In the upper part of the page, select Transfer on the toolbar to apply the vacation balance and calculate the deduction.
In this section, you will add a My day button to the production floor execution interface. Workers can then use this button to open the My day dialog box.
In this section, you will sign in to the production floor execution interface as the worker whose vacation time you set up earlier. You will then open the My day dialog box to view your vacation balance.
Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreTraining
Module
Learn to set up and use Employee self service and Manager self service in Dynamics 365 Human Resources.
Certification
Microsoft Certified: Dynamics 365 Field Service Functional Consultant Associate - Certifications
Demonstrate how to configure a Microsoft Dynamics 365 for Field Service implementation to maximize tools and features available while managing a mobile work force.