BeyondERP.Newsletter
Menu

Setup page · Retail and Commerce

Leave and absence types

A setup page where you define the types of leave (such as paid time off, sick leave or bereavement leave) that employees can request and report.

Used by
Retail operations manager, Retail service, Retail store manager
Business process
Manage sales channels
Menu item
RetailLeaveType
Main table
LeaveType
Data entity
LeaveTypeEntity
Setup steps
1 on this page
Show what matters for
PAGE GUIDEWhat the page does and how to use it8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page where you define the types of leave (such as paid time off, sick leave or bereavement leave) that employees can request and report.
What you do hereUse this page to create each leave type and set its request type, unit, workflow and rules such as reason codes, rounding, carry-forward and expiration before you build leave plans.
ExampleFor example, an HR administrator creates a Sick leave type measured in hours that requires a reason code when an employee submits a request.
Leave and absence types page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

Business processDevelop sales policies › Manage sales channels
Menu pathRetail and Commerce › Employees › Time and attendance › Leave and absence types
Set up firstWorking time calendar Microsoft Learn Feature management Microsoft Learn
Used next byLeave and absence plans Microsoft Learn
Related pagesRequest time off Microsoft Learn
End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Setup steps on this page

Set up Leave and absence types

Use this page to create each leave type and set its request type, unit, workflow and rules such as reason codes, rounding, carry-forward and expiration before you build leave plans.

Steps from Microsoft

  1. Go to Retail and Commerce > Employees > Time and attendance > Leave and absence types.
  2. Select New.
  3. Enter a name under Type, a description under Description, and select a workflow in the Workflow ID field.
  4. Select a Request type, for example Time off or Leave of absence.
  5. In General, select a Category and an Earning code.
  6. Under Reason code required, choose whether a reason code is needed and add the reason codes.
  7. Under Calendar color, select the colour shown on leave calendars.
  8. Select Save.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansTable column
TypeThe name of the leave type.Microsoft Learn Type
Request typeWhether requests of this type are time off or a leave of absence.Microsoft Learn
CategoryClassifies the leave as none, scheduled or unscheduled.Microsoft Learn Category
Earning codeThe payroll earning code linked to the leave type.Microsoft Learn EarningCode
Reason code requiredWhether employees must give a reason code on requests of this type.Microsoft Learn
UnitWhether the leave type is measured in hours or days.Microsoft Learn
Hide leave balanceHides the balance of this leave type from workers while managers and HR can still see it.Microsoft Learn
Include weekends and holidaysCounts closed days as leave so the request amount is calendar days rather than working days.Microsoft Learn

Test checklist

  1. Create a leave type with Request type, Category, Earning code and Unit set, and add it to a leave plan.
  2. As a test employee, request leave from Monday to the next Wednesday and check the amount counts working days only.
  3. Turn on Include weekends and holidays on a second leave type and check the same dates count calendar days.
  4. Try to change the Unit of a leave type that already has a request and check the change is blocked.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Leave and absence typesDecide Hours or Days for each leave type before the first leave request; give leave types that employees combine on one request the same unitThe unit of a leave type can be changed only while it has no leave transactions, and all leave types selected on a single leave request must have the same leave unit.Should this leave type count calendar days (Include weekends and holidays) or working days?Turning on Configure leave units per leave type without a plan: the feature can't be turned off, and once requests exist the unit of that leave type is locked.Test: Leave unit lock after first request

Feature management and licence

Feature to turn onConfigure leave units per leave type (Optional)Configure required attachment for leave requests (Optional)Hide leave balances (Optional)

Microsoft Learn

Solution architect

5Design impact

Can it be undoneOne-way: Warning: the leave-units feature can't be turned off once enabled, and a leave type's unit is locked as soon as it has leave transactions. Requests that include closed days can be canceled only while Include weekends and holidays stays on. Microsoft Learn
If you change it laterThe unit of a leave type can be changed only while no leave transactions exist for it, and the leave-units feature cannot be switched off once enabled. Microsoft Learn
Technical architect

6Technical

Menu itemRetailLeaveType Checked in Dynamics 365
FormLeaveType Checked in Dynamics 365
TableLeaveTypeShown as “LEAVE AND ABSENCE TYPE” in Record infoKey field: TypeChecked in Dynamics 365
Data entitiesLeaveTypeEntityLeave and absence type Checked in Dynamics 365
Who can open itPrivilegesView workers RetailLimitedWorkerViewDutiesMaintain retail worker RetailWorkerMaintain
3 security rolesRetail operations manager RetailOperationsManagerRetail service RetailServiceRetail store manager RetailStoreManager
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itRetail service RetailServiceRetail operations manager RetailOperationsManagerRetail store manager RetailStoreManagerGive people one of these roles. On this system, 3 roles can open this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=RetailLeaveType
Integrate withLeaveTypeEntity data entity Checked in Dynamics 365
Everyone

8Sources