BeyondERP.Newsletter
Menu

Setup page · Human resources

Absence codes

A setup page where you define absence codes that give the reasons for workers' absences, with optional validation rules.

Used by
Compensation and benefits manager, Human resource assistant, Human resource manager and 1 more role
Business process
Develop people strategy
Menu item
HRMAbsenceCode
Main table
HRMAbsenceCode
Data entity
HcmAbsenceCodeEntity
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 absence codes that give the reasons for workers' absences, with optional validation rules.
What you do hereUse this page to create absence codes, assign them to absence groups and set limits that are checked when absences are recorded.
ExampleFor example, BEAT creates the code Doctor Visit in the group Personal, with red text on a yellow background and an active Max. in series rule of 3 consecutive days in 2 months; a worker who registers 4 consecutive days is listed in those colors on the Absence administration page.
Absence codes 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

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 Absence codes

Use this page to create absence codes, assign them to absence groups and set limits that are checked when absences are recorded.

Steps from Microsoft

  1. Go to Human resources > Absence > Absence codes.
  2. Use the Filter box to find a code.
  3. Select New and enter the Absence code and Description, then under General pick the Absence group and Method.
  4. Expand Time and attendance, Possible reasons and Financial dimensions for the code's other settings.
  5. Select Save; select Delete to remove a selected code.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Absence codeAn identification code for the absence.Microsoft Learn Doctor VisithrmAbsenceCodeId
ColorsText and background colour for the code.Microsoft Learn Red text on yellow
Absence groupThe absence group the code belongs to.Microsoft Learn PersonalhrmAbsenceCodeGroupId
ActiveTurns a validation rule on.Microsoft Learn Yes
Period codeThe period unit (days, weeks, months or year) used by a validation rule.Microsoft Learn Months
Include in reportWhether absences with this code are counted in absence statistics.Microsoft Learn YesJmgIncludeInReport
Pay typeThe pay type for the absence code.Microsoft Learn SICKJmgAbsencePayCType
Main accountThe ledger account for posting absence costs.Microsoft Learn 601500LedgerDimension

Common errors and fixes

MessageWhat to do
A worker who exceeded the limit isn't flaggedThe validation rule's Active check box is cleared. Select Active on the rule on the Validations FastTab. Microsoft Learn
Workers can't select the code when they register an absenceThe code's absence group doesn't have Registration selected. Select Registration on the group. Microsoft Learn

Test checklist

  1. Create an absence code, for example Doctor Visit, in an absence group and set its colors.
  2. On the Validations FastTab add an active Max. in series rule, for example 3 consecutive days in 2 months.
  3. Register four consecutive days of this absence for a worker.
  4. Open Absence administration and check the worker is listed as violating the rule, shown in the code's colors.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Absence codesOne absence code per absence reason, each in an absence group; add validation rules (Max. in series, Max. days in a period, Max. series in a period) only where policy limits the absenceAbsence codes give the reason for an absence, and validation rules set how often a worker can be absent for the same reason in a period, for example two doctor visits per month.Which absences need validation rules?Creating a rule but not selecting its Active check box, so it is never checked. Also set the text and background colors, because they mark the workers who broke a rule on the Absence administration page.Test: Max. in series rule flags a worker

Feature management and licence

Licence or add-inOn BEAT the page is maintained by Human resource assistant and Compensation and benefits manager; viewed by Human resource manager and Payroll administrator; the full list is under the page's security roles. No Feature management feature is needed for this page.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company: absence codes and groups belong to the legal entity you are signed in to. Data management lists the Absence codes and Absence groups entities as not shared. Checked in Dynamics 365
Can it be undoneReversible: Validation rules are turned on or off with the Active check box. Codes are grouped in absence groups and can be regrouped. Microsoft Learn
If you change it laterA validation rule counts only while its Active check box is selected; workers who break it are listed on the Absence administration page in the code's text and background colors. Moving a code to another group changes whether workers can register it, through the group's Registration setting. Microsoft Learn
Technical architect

6Technical

Menu itemHRMAbsenceCode Checked in Dynamics 365
FormHRMAbsenceCode Checked in Dynamics 365
TableHRMAbsenceCodeShown as “ABSENCE CODES” in Record infoChecked in Dynamics 365
Data entitiesHcmAbsenceCodeEntityAbsence codes
Who can open itPrivilegesMaintain absence codes HRMAbsenceCodeMaintainView absence codes HRMAbsenceCodeViewMaintain absence codes JmgAbsenceCodeMaintainView absence codes JmgAbsenceCodeViewDutiesEnable absence process HcmAbsenceEnableInquire into absence process HcmAbsenceProcessInquireInquire into time and attendance policies JmgTimeAttendancePoliciesInquire
4 security rolesCompensation and benefits manager HcmCompensationAndBenefitsManagerHuman resource assistant HcmHumanResourceAssistantHuman resource manager HcmHumanResourceManagerPayroll administrator HcmPayrollAdministrator
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itHuman resource assistant HcmHumanResourceAssistantCompensation and benefits manager HcmCompensationAndBenefitsManagerTo use itHuman resource manager HcmHumanResourceManagerPayroll administrator HcmPayrollAdministratorGive people one of these roles. On this system, 4 roles can open this page.Checked in Dynamics 365
Actions on the page(Action Pane without tabs): CostChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=HRMAbsenceCode
Integrate withHcmAbsenceCodeEntity data entity
Data migrationHcmAbsenceCodeEntity Absence codes. Per company.Load order: Load Absence groups before Absence codes, because each code names its absence group.Load first: HcmAbsenceCodeGroupEntityMicrosoft Learn
Everyone

8Sources