---
id: object/codeunit/224
type: object
title: Codeunit 224 "EmplEntry-Apply Posted Entries"
summary: Codeunit 224 "EmplEntry-Apply Posted Entries" in Base Application (Microsoft.HumanResources.Payables). 12 public procedures, 9 events, 1 event subscribers. Present since at least BC23, still in BC30, changed in BC24, BC26.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "26"
  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: 5c4a442e254559a2e2db6a4b79a8e21e9c63cdfb1841e1625f9f31051afae451
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/HumanResources/Payables/EmplEntryApplyPostedEntries.Codeunit.al
    title: src/Layers/W1/BaseApp/HumanResources/Payables/EmplEntryApplyPostedEntries.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/it
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 224
name: EmplEntry-Apply Posted Entries
namespace: Microsoft.HumanResources.Payables
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "26"
source_major: "29"
obsolete: null
countries:
  - it
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 32
  events: 9
  subscribers: 1
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 7
  called_by: 2
  implements: 0
---

# Codeunit 224 "EmplEntry-Apply Posted Entries"

> Codeunit 224 "EmplEntry-Apply Posted Entries" in Base Application (Microsoft.HumanResources.Payables). 12 public procedures, 9 events, 1 event subscribers. Present since at least BC23, still in BC30, changed in BC24, BC26.

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

## Properties

| Property | Value |
|---|---|
| TableNo | Employee Ledger Entry |
| Permissions | TableData "Employee Ledger Entry" = rimd, TableData "Detailed Employee Ledger Entry" = rimd |

## Events published

- `OnBeforeApply(var EmployeeLedgerEntry: Record "Employee Ledger Entry"; var DocumentNo: Code[20]; var ApplicationDate: Date)` (integration)
- `OnEmplPostApplyEmplLedgEntryOnBeforeGenJnlPostLine(var GenJournalLine: Record "Gen. Journal Line"; EmployeeLedgerEntry: Record "Employee Ledger Entry")` (integration)
- `OnPostUnApplyEmployeeOnAfterCheckMaxDateCompressed(var DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry")` (integration)
- `OnPostUnApplyEmployeeOnAfterGetEmplLedgEntry(var DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry"; var EmployeeLedgerEntry: Record "Employee Ledger Entry")` (integration)
- `OnPostUnApplyEmployeeOnBeforeGenJnlPostLineUnapplyEmplLedgEntry(var GenJournalLine: Record "Gen. Journal Line"; EmplLedgerEntry: Record "Employee Ledger Entry"; DetailedEmplLedgEntry: Record "Detailed Employee Ledger Entry"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")` (integration)
- `OnFindLastTransactionNoOnAfterSetFilters(var DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry")` (integration)
- `OnCollectAffectedLedgerEntriesOnAfterSetFilters(var DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry"; DetailedEmployeeLedgEntry2: Record "Detailed Employee Ledger Entry")` (integration)
- `OnBeforeRunEmplExchRateAdjustment(var GenJnlLine: Record "Gen. Journal Line"; var TempEmployeeLedgerEntry: Record "Employee Ledger Entry" temporary; var IsHandled: Boolean)` (integration)
- `OnPostUnApplyEmployeeOnAfterRunEmployeeExchRateAdjustment(GenJournalLine: Record "Gen. Journal Line"; EmplLedgerEntry: Record "employee Ledger Entry"; DetailedEmplLedgEntry: Record "Detailed Employee Ledger Entry"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; var TempEmplLedgerEntry: Record "Employee Ledger Entry" temporary)` (integration)

## Event subscriptions

- OnRunPreview subscribes to Codeunit "Gen. Jnl.-Post Preview" OnRunPreview

## Procedures

- `Apply(EmplLedgEntry: Record "Employee Ledger Entry"; ApplyUnapplyParameters: Record "Apply Unapply Parameters")`
- `GetApplicationDate(EmplLedgEntry: Record "Employee Ledger Entry"): Date`
- `FindLastApplEntry(EmplLedgEntryNo: Integer): Integer`
- `UnApplyDtldEmplLedgEntry(DtldEmplLedgEntry: Record "Detailed Employee Ledger Entry")`
- `UnApplyEmplLedgEntry(EmplLedgEntryNo: Integer)`
- `CheckEmployeeLedgerEntryToUnapply(EmployeeLedgerEntryNo: Integer; var DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry")`
- `PostUnApplyEmployee(DtldEmplLedgEntry2: Record "Detailed Employee Ledger Entry"; ApplyUnapplyParameters: Record "Apply Unapply Parameters")`
- `ApplyEmplEntryFormEntry(var ApplyingEmplLedgEntry: Record "Employee Ledger Entry")`
- `PreviewApply(EmployeeLedgerEntry: Record "Employee Ledger Entry"; ApplyUnapplyParameters: Record "Apply Unapply Parameters")`
- `PreviewUnapply(DetailedEmployeeLedgEntry: Record "Detailed Employee Ledger Entry"; ApplyUnapplyParameters: Record "Apply Unapply Parameters")`
- `SetApplyContext(ApplyUnapplyParameters: Record "Apply Unapply Parameters")`
- `SetUnapplyContext(var DetailedEmployeeLedgEntry: Record "Detailed Employee Ledger Entry"; ApplyUnapplyParameters: Record "Apply Unapply Parameters")`

Plus 10 local procedures.

## Triggers

OnRun

## Relations

- runs on [Table 5222 "Employee Ledger Entry"](../table/5222.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 19 "Gen. Jnl.-Post Preview"](../codeunit/19.md) (4 calls: `EmplPostApplyEmplLedgEntry → ThrowError`, `PostUnApplyEmployee → ThrowError`, `PreviewApply → Preview`, …)
- [Codeunit 11 "Gen. Jnl.-Check Line"](../codeunit/11.md) (2 calls: `CheckPostingDate → DateNotAllowed`, `CheckPostingDate → SetGenJnlBatch`)
- [Codeunit 12 "Gen. Jnl.-Post Line"](../codeunit/12.md) (2 calls: `EmplPostApplyEmplLedgEntry → EmplPostApplyEmplLedgEntry`, `PostUnApplyEmployee → UnapplyEmplLedgEntry`)
- [Codeunit 114 "Empl. Entry-Edit"](../codeunit/114.md) (1 call: `ApplyEmplEntryFormEntry → (object)`)
- [Codeunit 410 "Update Analysis View"](../codeunit/410.md) (1 call: `EmplPostApplyEmplLedgEntry → UpdateAll`)
- [Codeunit 599 "Exch. Rate Adjmt. Run Handler"](../codeunit/599.md) (1 call: `RunEmployeeExchRateAdjustment → RunEmplExchRateAdjustment`)
- [Codeunit 9500 "Sequence No. Mgt."](../codeunit/9500.md) (1 call: `OnRun → SetPreviewMode`)

## Called by

- [Codeunit 386 "Reverse Payment Rec. Journal"](../codeunit/386.md) (3 calls: `UnapplyEmployeeEntry → CheckEmployeeLedgerEntryToUnapply`, `UnapplyEmployeeEntry → PostUnApplyEmployee`, `UnapplyEmployeeEntry → UnApplyEmplLedgEntry`)
- [Page 234 "Apply Employee Entries"](../page/234.md) (3 calls: `PostDirectApplication → Apply`, `PostDirectApplication → GetApplicationDate`, `PostDirectApplication → PreviewApply`)

## Across versions

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

## Countries that replace it

[IT](../../localizations/it.md)

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). The call sections above are our own, per object, from the BC29 call graph. 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: "codeunit", object_name: "EmplEntry-Apply Posted Entries")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
