---
id: object/table/5207
type: object
title: Table 5207 "Employee Absence"
summary: Table 5207 "Employee Absence" in Base Application (Microsoft.HumanResources.Absence). 11 fields, 1 events. Present since at least BC23, still in BC30, changed in BC24-25, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 07e9603a90cd031831a49a0539377455336371e49823a461aedfde9c7950aa39
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/HumanResources/Absence/EmployeeAbsence.Table.al
    title: src/Layers/W1/BaseApp/HumanResources/Absence/EmployeeAbsence.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/hr-how-manage-absence
    - https://learn.microsoft.com/dynamics365/business-central/hr-how-register-employees
    - https://learn.microsoft.com/dynamics365/business-central/hr-manage-human-resources
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/human-resources
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5207
name: Employee Absence
namespace: Microsoft.HumanResources.Absence
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 11
  procedures: 2
  events: 1
  subscribers: 0
relations:
  out: 6
  referenced_by: 2
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5207 "Employee Absence"

> Table 5207 "Employee Absence" in Base Application (Microsoft.HumanResources.Absence). 11 fields, 1 events. Present since at least BC23, still in BC30, changed in BC24-25, BC28.

Base Application · Microsoft.HumanResources.Absence · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/HumanResources/Absence/EmployeeAbsence.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 5211 "Employee Absences"](../page/5211.md) (3 Learn pages), [Page 5212 "Absence Registration"](../page/5212.md) (2).

## Properties

| Property | Value |
|---|---|
| Caption | Employee Absence |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Employee No. | Code[20] | Specifies a number for the employee. | TableRelation [Table 5200 "Employee"](../table/5200.md); NotBlank |
| 2 | Entry No. | Integer | — |  |
| 3 | From Date | Date | Specifies the first day of the employee's absence registered on this line. |  |
| 4 | To Date | Date | Specifies the last day of the employee's absence registered on this line. |  |
| 5 | Cause of Absence Code | Code[10] | Specifies a cause of absence code to define the type of absence. | TableRelation [Table 5206 "Cause of Absence"](../table/5206.md) (Cause of Absence) |
| 6 | Description | Text[100] | Specifies a description of the absence. |  |
| 7 | Quantity | Decimal | Specifies the quantity associated with absences, in hours or days. |  |
| 8 | Unit of Measure Code | Code[10] | Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted. | TableRelation [Table 5220 "Human Resource Unit of Measure"](../table/5220.md) (Human Resource Unit of Measure) |
| 11 | Comment | Boolean | Specifies if a comment is associated with this entry. | FlowField: exist("Human Resource Comment Line" where("Table Name" = const("Employee Absence"), "Table Line No." = field("Entry No."))); not editable |
| 12 | Quantity (Base) | Decimal | Specifies the quantity associated with absences, in hours or days. <small>via [Page 5211 "Employee Absences"](../page/5211.md)</small> |  |
| 13 | Qty. per Unit of Measure | Decimal | — | not editable |

## Keys

- Key1: Entry No. (clustered)
- Key2: Employee No., From Date
- Key3: Employee No., Cause of Absence Code, From Date
- Key4: Cause of Absence Code, From Date
- Key5: From Date, To Date

## Events published

- `OnBeforeOnInsert(var EmployeeAbsence: Record "Employee Absence"; var IsHandled: Boolean)` (integration)

## Procedures

1 local procedures, no public ones.

## Triggers

OnInsert

## Relations

- drill-down page [Page 5211 "Employee Absences"](../page/5211.md)
- lookup page [Page 5211 "Employee Absences"](../page/5211.md)
- Employee No.: TableRelation [Table 5200 "Employee"](../table/5200.md)
- Cause of Absence Code: TableRelation [Table 5206 "Cause of Absence"](../table/5206.md)
- Comment: CalcFormula [Table 5208 "Human Resource Comment Line"](../table/5208.md)
- Unit of Measure Code: TableRelation [Table 5220 "Human Resource Unit of Measure"](../table/5220.md)

## Referenced by

2 fields in 2 objects relate to this table (TableRelation or CalcFormula).

- [Table 5200 "Employee"](../table/5200.md): Total Absence (Base)
- [Table 5206 "Cause of Absence"](../table/5206.md): Total Absence (Base)

## Pages and codeunits on this table

- [Page 5211 "Employee Absences"](../page/5211.md) (source table)
- [Page 5212 "Absence Registration"](../page/5212.md) (source table)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-25, BC28

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Employee Absence")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
