Codeunit 224 "EmplEntry-Apply Posted Entries"
Base Application · Microsoft.HumanResources.Payables
Across versions
- BC23present
- BC243 procedures added, 2 events added
- BC25unchanged
- BC261 events added
- BC27-30unchanged
Neighbourhood 10 connected objects and pages
Base Application · Microsoft.HumanResources.Payables · BC23-30 · source at ea08af5e · 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")+ BC24 (integration)OnBeforeRunEmplExchRateAdjustment(var GenJnlLine: Record "Gen. Journal Line"; var TempEmployeeLedgerEntry: Record "Employee Ledger Entry" temporary; var IsHandled: Boolean)+ BC24 (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)+ BC26 (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"): DateFindLastApplEntry(EmplLedgEntryNo: Integer): IntegerUnApplyDtldEmplLedgEntry(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
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” (4 calls:
EmplPostApplyEmplLedgEntry → ThrowError,PostUnApplyEmployee → ThrowError,PreviewApply → Preview, …) - Codeunit 11 “Gen. Jnl.-Check Line” (2 calls:
CheckPostingDate → DateNotAllowed,CheckPostingDate → SetGenJnlBatch) - Codeunit 12 “Gen. Jnl.-Post Line” (2 calls:
EmplPostApplyEmplLedgEntry → EmplPostApplyEmplLedgEntry,PostUnApplyEmployee → UnapplyEmplLedgEntry) - Codeunit 114 “Empl. Entry-Edit” (1 call:
ApplyEmplEntryFormEntry → (object)) - Codeunit 410 “Update Analysis View” (1 call:
EmplPostApplyEmplLedgEntry → UpdateAll) - Codeunit 599 “Exch. Rate Adjmt. Run Handler” (1 call:
RunEmployeeExchRateAdjustment → RunEmplExchRateAdjustment) - Codeunit 9500 “Sequence No. Mgt.” (1 call:
OnRun → SetPreviewMode)
Called by
- Codeunit 386 “Reverse Payment Rec. Journal” (3 calls:
UnapplyEmployeeEntry → CheckEmployeeLedgerEntryToUnapply,UnapplyEmployeeEntry → PostUnApplyEmployee,UnapplyEmployeeEntry → UnApplyEmplLedgEntry) - Page 234 “Apply Employee Entries” (3 calls:
PostDirectApplication → Apply,PostDirectApplication → GetApplicationDate,PostDirectApplication → PreviewApply)
Countries that replace it
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.