Codeunit 224 EmplEntry-Apply Posted Entries

Base Application, Microsoft.HumanResources.Payables

src/Layers/W1/BaseApp/HumanResources/Payables/EmplEntryApplyPostedEntries.Codeunit.al18 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 26, trigger

  1. 31callsCodeunit 9500 Sequence No. Mgt. SetPreviewMode
  2. 35callsApply
  3. 37callsPostUnApplyEmployee
  4. 41callsTable 98 General Ledger Setup GetRecordOnce
  5. 51callsApply

Apply line 77

  1. 79raisesOnBeforeApply
  2. 84callsGetApplicationDate
  3. 86callsGetApplicationDate
  4. 92callsEmplPostApplyEmplLedgEntry

EmplPostApplyEmplLedgEntry line 110, local

  1. 149callsFindLastApplDtldEmplLedgEntry
  2. 151raisesOnEmplPostApplyEmplLedgEntryOnBeforeGenJnlPostLine
  3. 152callsCodeunit 12 Gen. Jnl.-Post Line EmplPostApplyEmplLedgEntry
  4. 154callsFindLastApplDtldEmplLedgEntry
  5. 159callsCodeunit 19 Gen. Jnl.-Post Preview ThrowError
  6. 163callsCodeunit 410 Update Analysis View UpdateAll

FindLastApplDtldEmplLedgEntry line 166, local

  1. 171callsTable 5223 Detailed Employee Ledger Entry GetLastEntryNo

FindLastTransactionNo line 192, local

  1. 203raisesOnFindLastTransactionNoOnAfterSetFilters

UnApplyDtldEmplLedgEntry line 213

  1. 219callsFindLastApplEntry
  2. 223callsUnApplyEmployee

UnApplyEmplLedgEntry line 226

  1. 230callsCheckEmployeeLedgerEntryToUnapply
  2. 231callsUnApplyEmployee

CheckEmployeeLedgerEntryToUnapply line 234

  1. 238callsCheckReversal
  2. 239callsFindLastApplEntry

UnApplyEmployee line 245, local

  1. 250callsFindLastApplEntry
  2. 253callsPage 625 Unapply Employee Entries SetDtldEmplLedgEntry

PostUnApplyEmployee line 258

  1. 279raisesOnPostUnApplyEmployeeOnAfterGetEmplLedgEntry
  2. 281callsCheckPostingDate
  3. 297callsCheckAdditionalCurrency
  4. 300callsCheckReversal
  5. 304callsFindLastApplTransactionEntry
  6. 308callsFindLastTransactionNo
  7. 314callsTable 87 Date Compr. Register CheckMaxDateCompressed
  8. 315raisesOnPostUnApplyEmployeeOnAfterCheckMaxDateCompressed
  9. 338raisesOnPostUnApplyEmployeeOnBeforeGenJnlPostLineUnapplyEmplLedgEntry
  10. 339callsCollectAffectedLedgerEntries
  11. 340callsCodeunit 12 Gen. Jnl.-Post Line UnapplyEmplLedgEntry
  12. 341callsRunEmployeeExchRateAdjustment
  13. 343raisesOnPostUnApplyEmployeeOnAfterRunEmployeeExchRateAdjustment
  14. 346callsCodeunit 19 Gen. Jnl.-Post Preview ThrowError

RunEmployeeExchRateAdjustment line 352, local

  1. 358raisesOnBeforeRunEmplExchRateAdjustmentIsHandled
  2. 362callsCodeunit 599 Exch. Rate Adjmt. Run Handler RunEmplExchRateAdjustment

CheckPostingDate line 365, local

  1. 369callsCodeunit 11 Gen. Jnl.-Check Line SetGenJnlBatch
  2. 370callsCodeunit 11 Gen. Jnl.-Check Line DateNotAllowed

CheckAdditionalCurrency line 377, local

  1. 383callsTable 98 General Ledger Setup GetRecordOnce
  2. 385callsTable 330 Currency Exchange Rate ExchangeRate
  3. 386callsTable 330 Currency Exchange Rate ExchangeRate

ApplyEmplEntryFormEntry line 400

  1. 419runsCodeunit 114 Empl. Entry-Edit
  2. 426callsPage 234 Apply Employee Entries SetEmplLedgEntry
  3. 430callsPage 234 Apply Employee Entries SetAppliesToID

CollectAffectedLedgerEntries line 456, local

  1. 460writesTable 5222 Employee Ledger Entry DeleteAll
  2. 472raisesOnCollectAffectedLedgerEntriesOnAfterSetFilters
  3. 476writesTable 5222 Employee Ledger Entry Insert

PreviewApply line 480

  1. 486callsCodeunit 224 EmplEntry-Apply Posted Entries SetApplyContext
  2. 487callsCodeunit 19 Gen. Jnl.-Post Preview Preview

PreviewUnapply line 490

  1. 497callsCodeunit 224 EmplEntry-Apply Posted Entries SetUnapplyContext
  2. 498callsCodeunit 19 Gen. Jnl.-Post Preview Preview

OnRunPreview line 515, local

  1. 521runsCodeunit 224 EmplEntry-Apply Posted Entries