---
title: "Codeunit 12 Gen. Jnl.-Post Line, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/points/
object: https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/
checked: 2026-11-19
changed: 2026-11-04
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 12 Gen. Jnl.-Post Line, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/points/

197 procedures and triggers with a step in src/Layers/W1/BaseApp/Finance/GeneralLedger/Posting/GenJnlPostLine.Codeunit.al, in source order, read from the text, not from a run.

## OnRun

[Line 103](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L103), trigger.

- [105](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L105) calls `GetGLSetup`
- [106](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L106) calls `RunWithCheck`

## RunWithCheck

[Line 210](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L210).

- [216](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L216) raises `OnBeforeRunWithCheck`, IsHandled
- [220](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L220) calls [Codeunit 9500 Sequence No. Mgt.](https://jonas-paprotka.de/ref/codeunit/9500-sequence-no-mgt/) `ClearSequenceNoCheck`
- [223](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L223) calls `Code`
- [224](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L224) raises `OnAfterRunWithCheck`

## RunWithoutCheck

[Line 235](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L235).

- [241](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L241) raises `OnBeforeRunWithoutCheck`, IsHandled
- [246](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L246) calls `Code`
- [247](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L247) raises `OnAfterRunWithoutCheck`

## Code

[Line 252](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L252), local.

- [260](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L260) raises `OnBeforeCode`
- [265](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L265) calls `ValidateSequenceNo`
- [267](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L267) calls `GetJournalsSourceCode`
- [268](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L268) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `EmptyLine`
- [269](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L269) calls `InitLastDocDate`
- [277](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L277) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `GetVATDate`
- [280](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L280) calls `CheckGenJnlLine`
- [281](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L281) raises `OnCodeOnAfterCheckGenJnlLine`
- [283](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L283) calls `InitAmounts`
- [296](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L296) calls `FindJobLineSign`
- [298](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L298) raises `OnBeforeStartOrContinuePosting`
- [300](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L300) calls `StartPosting`
- [302](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L302) calls `ContinuePosting`
- [304](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L304) raises `OnCodeOnAfterStartOrContinuePosting`
- [313](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L313) runs [Codeunit 366 Exchange Acc. G/L Journal Line](https://jonas-paprotka.de/ref/codeunit/366-exchange-acc-g-l-journal-line/)
- [314](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L314) raises `OnCodeOnAfterRunExhangeAccGLJournalLine`
- [318](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L318) calls `PostGenJnlLine`
- [321](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L321) runs [Codeunit 366 Exchange Acc. G/L Journal Line](https://jonas-paprotka.de/ref/codeunit/366-exchange-acc-g-l-journal-line/)
- [322](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L322) raises `OnCodeOnAfterRunExhangeAccGLJournalLine`
- [323](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L323) calls `PostGenJnlLine`
- [326](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L326) calls `CheckPostUnrealizedVAT`
- [328](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L328) calls `CreateDeferralScheduleFromGL`
- [330](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L330) raises `OnCodeOnBeforeFinishPosting`
- [331](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L331) calls `FinishPosting`
- [333](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L333) raises `OnAfterGLFinishPosting`
- [336](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L336) calls `ValidateSequenceNo`

## ShowInconsistentEntries

[Line 353](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L353).

- [358](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L358) raises `OnBeforeShowInconsistentEntries`, IsHandled
- [362](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L362) runs [Page 122 G/L Entries Preview](https://jonas-paprotka.de/ref/page/122-g-l-entries-preview/)

## CheckGenJnlLine

[Line 365](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L365), local.

- [370](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L370) raises `OnBeforeCheckGenJnlLine`, IsHandled
- [375](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L375) calls [Codeunit 11 Gen. Jnl.-Check Line](https://jonas-paprotka.de/ref/codeunit/11-gen-jnl-check-line/) `SetOverDimErr`
- [377](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L377) calls [Codeunit 11 Gen. Jnl.-Check Line](https://jonas-paprotka.de/ref/codeunit/11-gen-jnl-check-line/) `SetIgnoreJournalTemplNameMandatoryCheck`
- [378](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L378) raises `OnCheckGenJnlLineOnBeforeRunCheck`
- [379](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L379) calls [Codeunit 11 Gen. Jnl.-Check Line](https://jonas-paprotka.de/ref/codeunit/11-gen-jnl-check-line/) `RunCheck`

## PostGenJnlLine

[Line 383](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L383), local.

- [385](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L385) raises `OnBeforePostGenJnlLine`
- [388](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L388) calls `PostGLAcc`
- [390](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L390) calls `PostCust`
- [392](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L392) calls `PostVend`
- [394](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L394) calls `PostEmployee`
- [396](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L396) calls `PostBankAcc`
- [398](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L398) calls `PostFixedAsset`
- [400](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L400) calls `PostICPartner`
- [403](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L403) raises `OnAfterPostGenJnlLine`

## InitAmounts

[Line 406](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L406), local.

- [413](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L413) raises `OnBeforeInitAmounts`, IsHandled
- [417](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L417) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `InitRoundingPrecision`
- [433](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L433) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `VATRoundingDirection`
- [442](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L442) raises `OnInitAmountsOnAddCurrencyPostingNone`, IsHandled

## InitLastDocDate

[Line 461](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L461).

- [467](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L467) raises `OnAfterInitLastDocDate`

## InitNextEntryNo

[Line 470](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L470), local.

- [478](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L478) raises `OnBeforeInitNextEntryNo`, IsHandled
- [483](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L483) calls [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) `GetLastEntry`
- [487](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L487) raises `OnAfterInitNextEntryNo`

## InitVAT

[Line 496](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L496).

- [503](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L503) raises `OnBeforeInitVAT`, IsHandled
- [507](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L507) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `InitRoundingPrecision`
- [512](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L512) raises `OnInitVATOnBeforeVATPostingSetupCheck`, IsHandled
- [518](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L518) calls [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) `CopyPostingGroupsFromGenJnlLine`
- [523](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L523) raises `OnInitVATOnVATCalculationTypeNormal`, IsHandled
- [532](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L532) calls `CalcLCYToAddCurr`
- [537](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L537) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `VATRoundingDirection`
- [538](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L538) raises `OnInitVATOnAfterSetGLEntryVATAmountForNormalVAT`
- [544](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L544) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `VATRoundingDirection`
- [546](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L546) calls `CalcLCYToAddCurr`
- [558](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L558) calls `CalcLCYToAddCurr`
- [563](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L563) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `VATRoundingDirection`
- [568](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L568) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `VATRoundingDirection`
- [570](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L570) calls `CalcLCYToAddCurr`
- [581](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L581) raises `OnInitVATOnBeforeTestFullVATAccount`, IsHandled
- [585](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L585) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetSalesAccount`
- [587](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L587) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`
- [596](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L596) calls `CalcLCYToAddCurr`
- [605](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L605) calls [Codeunit 398 Sales Tax Calculate](https://jonas-paprotka.de/ref/codeunit/398-sales-tax-calculate/) `CalculateTax`
- [608](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L608) raises `OnAfterSalesTaxCalculateCalculateTax`
- [613](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L613) calls [Codeunit 398 Sales Tax Calculate](https://jonas-paprotka.de/ref/codeunit/398-sales-tax-calculate/) `ReverseCalculateTax`
- [616](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L616) raises `OnAfterSalesTaxCalculateReverseCalculateTax`
- [623](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L623) calls `CalcLCYToAddCurr`
- [629](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L629) calls [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) `CopyPostingGroupsFromGenJnlLine`
- [634](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L634) calls `CalcLCYToAddCurr`
- [641](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L641) calls `CalcAmountSrcCurr`
- [643](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L643) calls `GLCalcAddCurrency`
- [645](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L645) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `CopyNonDedVATAmountFromGenJnlLineToGLEntry`
- [647](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L647) raises `OnAfterInitVAT`

## PostVAT

[Line 657](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L657).

- [674](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L674) raises `OnBeforePostVAT`, IsHandled
- [686](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L686) calls `InsertVAT`
- [703](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L703) calls `InsertVAT`
- [709](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L709) calls [Codeunit 398 Sales Tax Calculate](https://jonas-paprotka.de/ref/codeunit/398-sales-tax-calculate/) `InitSalesTaxLines`
- [712](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L712) raises `OnAfterSalesTaxCalculateInitSalesTaxLines`
- [715](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L715) calls `CalcLCYToAddCurr`
- [720](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L720) calls [Codeunit 398 Sales Tax Calculate](https://jonas-paprotka.de/ref/codeunit/398-sales-tax-calculate/) `GetSalesTaxLine`
- [723](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L723) calls `InsertVAT`
- [731](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L731) calls `CalcLCYToAddCurr`
- [732](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L732) calls `CalcLCYToAddCurr`
- [735](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L735) calls `InsertVAT`
- [739](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L739) calls `InsertSummarizedVAT`
- [744](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L744) raises `OnAfterPostVAT`

## InsertVAT

[Line 761](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L761).

- [776](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L776) raises `OnBeforeInsertVAT`, IsHandled
- [783](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L783) calls [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) `CopyFromGenJnlLine`
- [788](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L788) calls [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) `SetVATDateFromGenJnlLine`
- [789](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L789) raises `OnInsertVATOnAfterAssignVATEntryFields`
- [798](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L798) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToLCY`
- [800](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L800) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeRate`
- [802](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L802) raises `OnInsertVATOnAfterCalcVATDifferenceLCY`
- [804](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L804) calls `UpdateVATEntryTaxDetails`
- [807](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L807) calls `ExchangeAmtLCYToFCY2`
- [808](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L808) calls `ExchangeAmtLCYToFCY2`
- [809](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L809) calls `ExchangeAmtLCYToFCY2`
- [810](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L810) calls `ExchangeAmtLCYToFCY2`
- [811](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L811) calls `ExchangeAmtLCYToFCY2`
- [817](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L817) calls `SetUnrealizedVAT`
- [828](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L828) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `AdjustVATAmountsFromGenJnlLine`
- [844](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L844) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `AdjustVATAmountsFromGenJnlLine`
- [849](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L849) raises `OnInsertVATOnAfterSetVATAmounts`
- [865](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L865) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `SetNonDedVATInVATEntry`
- [871](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L871) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `ClearNonDedVATACYInVATEntry`
- [894](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L894) raises `OnBeforeInsertVATEntry`
- [895](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L895) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) Insert(true)
- [896](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L896) calls [Table 253 G/L Entry - VAT Entry Link](https://jonas-paprotka.de/ref/table/253-g-l-entry-vat-entry-link/) `InsertLinkSelf`
- [898](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L898) raises `OnAfterInsertVATEntry`
- [902](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L902) calls [Table 187 VAT Posting Parameters](https://jonas-paprotka.de/ref/table/187-vat-posting-parameters/) `InsertRecord`
- [904](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L904) calls `InsertVATForGLEntry`
- [908](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L908) raises `OnAfterInsertVAT`

## SetUnrealizedVAT

[Line 914](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L914), local.

- [925](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L925) calls `IsNotPayment`
- [931](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L931) raises `OnAfterSetUnrealizedVAT`

## InsertVATForGLEntry

[Line 934](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L934), local.

- [940](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L940) raises `OnBeforeInsertVATForGLEntryFromBuffer`, IsHandled
- [944](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L944) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `GetNonDeductibleVATAmount`
- [945](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L945) raises `OnInsertVATOnBeforeVATForGLEntry`
- [954](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L954) calls `CreateNormalVATGLEntries`
- [956](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L956) calls `CreateReverseChargeVATGLEntries`
- [959](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L959) calls `InitGLEntryVAT`
- [959](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L959) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetPurchAccount`
- [961](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L961) calls `InitGLEntryVAT`
- [961](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L961) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetRevChargeAccount`
- [964](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L964) calls `InitGLEntryVAT`
- [964](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L964) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetPurchAccount`
- [972](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L972) calls `CreateGLEntry`
- [973](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L973) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetSalesAccount`
- [977](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L977) calls `CreateGLEntry`
- [978](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L978) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetSalesAccount`
- [980](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L980) calls `CalcAmountSrcCurr`
- [984](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L984) calls `InitGLEntryVAT`
- [985](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L985) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetSalesAccount`

## CreateNormalVATGLEntries

[Line 991](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L991), local.

- [995](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L995) raises `OnBeforeCreateNormalVATGLEntries`
- [998](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L998) calls `CreateGLEntry`
- [999](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L999) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`
- [1001](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1001) calls `CalcAmountSrcCurr`
- [1003](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1003) calls `CreateGLEntry`
- [1004](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1004) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`
- [1006](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1006) calls `CalcAmountSrcCurr`
- [1011](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1011) calls `CreateGLEntry`
- [1014](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1014) calls `CalcAmountSrcCurr`
- [1015](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1015) calls `PostFAJnlLineWithGLEntryBufUpdate`
- [1017](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1017) calls `CreateGLEntry`
- [1020](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1020) calls `CalcAmountSrcCurr`
- [1023](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1023) calls `CreateGLEntry`
- [1026](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1026) calls `CalcAmountSrcCurr`
- [1028](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1028) calls `PostFAJnlLineWithGLEntryBufUpdate`
- [1031](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1031) raises `OnAfterCreateNormalVATGLEntries`

## CreateReverseChargeVATGLEntries

[Line 1034](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1034), local.

- [1039](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1039) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `IsNonDeductibleVATEnabled`
- [1043](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1043) calls `CalcAmountSrcCurr`
- [1044](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1044) raises `OnInsertVATOnBeforeCreateGLEntryForReverseChargeVATToPurchAcc`
- [1046](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1046) calls `CreateGLEntry`
- [1047](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1047) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`
- [1049](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1049) raises `OnInsertVATOnBeforeCreateGLEntryForReverseChargeVATToRevChargeAcc`
- [1051](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1051) calls `CreateGLEntry`
- [1052](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1052) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetRevChargeAccount`
- [1057](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1057) calls `CreateGLEntry`
- [1058](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1058) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`
- [1059](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1059) calls `CalcAmountSrcCurr`
- [1060](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1060) calls `CreateGLEntry`
- [1061](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1061) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetRevChargeAccount`
- [1062](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1062) calls `CalcAmountSrcCurr`
- [1069](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1069) calls `CreateGLEntry`
- [1071](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1071) calls `CalcAmountSrcCurr`
- [1073](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1073) calls `PostFAJnlLineWithGLEntryBufUpdate`
- [1074](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1074) calls `CreateGLEntry`
- [1075](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1075) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetRevChargeAccount`
- [1076](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1076) calls `CalcAmountSrcCurr`
- [1078](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1078) calls `CreateGLEntry`
- [1079](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1079) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetRevChargeAccount`
- [1080](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1080) calls `CalcAmountSrcCurr`
- [1081](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1081) calls `CreateGLEntry`
- [1083](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1083) calls `CalcAmountSrcCurr`
- [1087](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1087) calls `CreateGLEntry`
- [1089](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1089) calls `CalcAmountSrcCurr`
- [1091](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1091) calls `PostFAJnlLineWithGLEntryBufUpdate`
- [1092](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1092) calls `CreateGLEntry`
- [1093](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1093) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetRevChargeAccount`
- [1094](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1094) calls `CalcAmountSrcCurr`

## PostFAJnlLineWithGLEntryBufUpdate

[Line 1098](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1098), local.

- [1104](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1104) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `UseNonDeductibleVATAmountForFixedAssetCost`
- [1107](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1107) calls [Codeunit 5632 FA Jnl.-Post Line](https://jonas-paprotka.de/ref/codeunit/5632-fa-jnl-post-line/) `GenJnlPostLine`
- [1109](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1109) calls [Codeunit 5632 FA Jnl.-Post Line](https://jonas-paprotka.de/ref/codeunit/5632-fa-jnl-post-line/) `FindFirstGLAcc`
- [1111](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1111) calls `PostFAGLPostingBuffer`
- [1112](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1112) calls [Codeunit 5632 FA Jnl.-Post Line](https://jonas-paprotka.de/ref/codeunit/5632-fa-jnl-post-line/) `GetNextGLAcc`

## SummarizeVAT

[Line 1121](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1121).

- [1135](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1135) writes [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) Modify
- [1143](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1143) writes [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) Insert

## InsertSummarizedVAT

[Line 1156](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1156).

- [1160](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1160) calls `InsertGLEntry`
- [1161](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1161) raises `OnInsertSummarizedVATOnAfterInsertGLEntry`
- [1163](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1163) writes [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) DeleteAll

## PostGLAcc

[Line 1182](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1182), local.

- [1192](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1192) raises `OnBeforePostGLAcc`, IsHandled
- [1195](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1195) raises `OnBeforeInitGLEntryForGLAcc`, IsHandled
- [1197](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1197) calls `InitGLEntry`
- [1200](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1200) calls `CalcSourceCurrVATBaseAmount`
- [1202](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1202) raises `OnPostGLAccOnAfterInitGLEntry`
- [1203](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1203) calls `CheckGLAccDirectPosting`
- [1204](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1204) calls `CheckDescriptionForGL`
- [1218](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1218) calls `InitVAT`
- [1220](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1220) raises `OnPostGLAccOnBeforeInsertGLEntry`, IsHandled
- [1223](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1223) calls `InsertGLEntry`
- [1225](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1225) raises `OnPostGLAccOnBeforePostJob`, IsHandled
- [1227](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1227) calls `PostJob`
- [1228](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1228) calls `PostVAT`
- [1229](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1229) raises `OnPostGLAccOnBeforeDeferralPosting`
- [1230](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1230) calls `DeferralPosting`
- [1233](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1233) raises `OnMoveGenJournalLine`
- [1234](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1234) raises `OnAfterPostGLAcc`

## PostCust

[Line 1237](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1237), local.

- [1253](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1253) raises `OnBeforePostCust`, IsHandled
- [1258](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1258) calls [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `CheckBlockedCustOnJnls`
- [1264](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1264) calls [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `CheckAllowMultiplePostingGroups`
- [1266](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1266) raises `OnPostCustOnBeforeGetCustomerPostingGroup`
- [1267](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1267) calls `GetCustomerPostingGroup`
- [1268](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1268) calls `GetCustomerReceivablesAccount`
- [1269](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1269) raises `OnPostCustOnAfterAssignReceivablesAccount`
- [1273](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1273) raises `OnPostCustOnBeforeInitCustLedgEntry`
- [1274](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1274) calls `InitCustLedgEntry`
- [1275](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1275) raises `OnPostCustOnAfterInitCustLedgEntry`
- [1277](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1277) calls `CalcPmtTolerancePossible`
- [1281](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1281) writes [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) DeleteAll
- [1283](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1283) raises `OnPostCustOnBeforeTempDtldCVLedgEntryBufCopyFromGenJnlLine`
- [1284](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1284) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `CopyFromGenJnlLine`
- [1285](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1285) raises `OnPostCustOnAfterTempDtldCVLedgEntryBufCopyFromGenJnlLine`
- [1287](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1287) raises `OnPostCustOnBeforeCopyFromCustLedgEntry`
- [1288](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1288) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `CopyFromCustLedgEntry`
- [1291](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1291) raises `OnPostCustOnBeforeInsertDtldCVLedgEntry`, IsHandled
- [1293](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1293) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InsertDtldCVLedgEntry`
- [1296](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1296) raises `OnPostCustOnAfterCopyCVLedgEntryBuf`
- [1298](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1298) calls `CalcPmtDiscPossible`
- [1305](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1305) raises `OnPostCustOnAfterAssignCurrencyFactors`
- [1309](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1309) calls `IsNotPayment`
- [1310](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1310) raises `OnPostCustOnAfterCalcShouldCheckDocNo`
- [1312](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1312) calls [Codeunit 11 Gen. Jnl.-Check Line](https://jonas-paprotka.de/ref/codeunit/11-gen-jnl-check-line/) `CheckSalesDocNoIsNotUsed`
- [1313](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1313) calls `CheckSalesExtDocNo`
- [1318](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1318) calls `ApplyCustLedgEntry`
- [1321](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1321) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `CopyFromCVLedgEntryBuffer`
- [1323](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1323) raises `OnPostCustOnBeforeResetCustLedgerEntryAppliesToFields`, IsHandled
- [1333](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1333) raises `OnBeforeCustLedgEntryInsert`
- [1334](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1334) writes [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) Insert(true)
- [1339](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1339) calls `PostDtldCustLedgEntries`
- [1341](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1341) raises `OnAfterCustLedgEntryInsert`
- [1343](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1343) calls [Table 1053 Line Fee Note on Report Hist.](https://jonas-paprotka.de/ref/table/1053-line-fee-note-on-report-hist/) `Save`
- [1345](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1345) calls `IsTempGLEntryBufEmpty`
- [1346](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1346) calls [Table 379 Detailed Cust. Ledg. Entry](https://jonas-paprotka.de/ref/table/379-detailed-cust-ledg-entry/) `SetZeroTransNo`
- [1348](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1348) calls `DeferralPosting`
- [1350](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1350) raises `OnMoveGenJournalLine`
- [1352](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1352) raises `OnAfterPostCust`

## PostVend

[Line 1355](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1355), local.

- [1372](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1372) raises `OnBeforePostVend`, IsHandled
- [1379](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1379) calls [Table 23 Vendor](https://jonas-paprotka.de/ref/table/23-vendor/) `CheckBlockedVendOnJnls`
- [1385](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1385) calls [Table 23 Vendor](https://jonas-paprotka.de/ref/table/23-vendor/) `CheckAllowMultiplePostingGroups`
- [1386](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1386) calls `GetVendorPostingGroup`
- [1389](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1389) raises `OnPostVendOnBeforeGetVendorPayablesAccount`, IsHandled
- [1391](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1391) calls `GetVendorPayablesAccount`
- [1393](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1393) raises `OnPostVendOnAfterAssignPayablesAccount`
- [1397](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1397) raises `OnPostVendOnBeforeInitVendLedgEntry`
- [1398](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1398) calls `InitVendLedgEntry`
- [1400](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1400) raises `OnPostVendOnAfterInitVendLedgEntry`
- [1402](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1402) calls `CalcPmtTolerancePossible`
- [1406](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1406) writes [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) DeleteAll
- [1408](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1408) raises `OnPostVendOnBeforeCopyCVLedgEntryBuf`
- [1409](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1409) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `CopyFromGenJnlLine`
- [1411](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1411) raises `OnPostVendAfterTempDtldCVLedgEntryBufInit`
- [1413](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1413) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `CopyFromVendLedgEntry`
- [1414](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1414) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InsertDtldCVLedgEntry`
- [1417](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1417) raises `OnPostVendOnAfterCopyCVLedgEntryBuf`
- [1419](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1419) calls `CalcPmtDiscPossible`
- [1426](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1426) raises `OnPostVendOnAfterAssignCurrencyFactors`
- [1430](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1430) calls `IsNotPayment`
- [1431](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1431) calls [Codeunit 11 Gen. Jnl.-Check Line](https://jonas-paprotka.de/ref/codeunit/11-gen-jnl-check-line/) `CheckPurchDocNoIsNotUsed`
- [1432](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1432) raises `OnBeforeCheckPurchExtDocNo`
- [1434](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1434) calls `CheckPurchExtDocNo`
- [1438](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1438) calls `ApplyVendLedgEntry`
- [1441](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1441) calls [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `CopyFromCVLedgEntryBuffer`
- [1449](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1449) raises `OnBeforeVendLedgEntryInsert`
- [1450](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1450) writes [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) Insert(true)
- [1455](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1455) raises `OnPostVendOnBeforePostDtldVendLedgEntries`
- [1456](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1456) calls `PostDtldVendLedgEntries`
- [1459](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1459) raises `OnAfterVendLedgEntryInsert`
- [1461](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1461) calls `IsTempGLEntryBufEmpty`
- [1462](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1462) calls [Table 380 Detailed Vendor Ledg. Entry](https://jonas-paprotka.de/ref/table/380-detailed-vendor-ledg-entry/) `SetZeroTransNo`
- [1463](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1463) raises `OnBeforePostingDeferral`, IsHandled
- [1464](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1464) calls `DeferralPosting`
- [1468](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1468) calls `CheckPostUnrealizedVAT`
- [1470](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1470) raises `OnMoveGenJournalLine`
- [1471](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1471) raises `OnAfterPostVend`

## PostEmployee

[Line 1474](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1474), local.

- [1487](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1487) calls [Table 5200 Employee](https://jonas-paprotka.de/ref/table/5200-employee/) `CheckBlockedEmployeeOnJnls`
- [1493](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1493) calls [Table 5200 Employee](https://jonas-paprotka.de/ref/table/5200-employee/) `CheckAllowMultiplePostingGroups`
- [1500](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1500) calls `InitEmployeeLedgerEntry`
- [1502](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1502) raises `OnPostEmployeeOnAfterInitEmployeeLedgerEntry`
- [1503](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1503) writes [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) DeleteAll
- [1505](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1505) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `CopyFromGenJnlLine`
- [1507](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1507) raises `OnPostEmployeeAfterTempDtldCVLedgEntryBufInit`
- [1509](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1509) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `CopyFromEmplLedgEntry`
- [1510](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1510) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InsertDtldCVLedgEntry`
- [1513](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1513) raises `OnPostEmployeeOnAfterCopyCVLedgEntryBuf`
- [1520](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1520) raises `OnPostEmployeeOnAfterAssignCurrencyFactors`
- [1523](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1523) calls `ApplyEmplLedgEntry`
- [1526](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1526) calls [Table 5222 Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5222-employee-ledger-entry/) `CopyFromCVLedgEntryBuffer`
- [1532](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1532) raises `OnPostEmployeeOnBeforeEmployeeLedgerEntryInsert`
- [1533](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1533) writes [Table 5222 Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5222-employee-ledger-entry/) Insert(true)
- [1537](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1537) calls `PostDtldEmplLedgEntries`
- [1538](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1538) raises `OnPostEmployeeOnAfterPostDtldEmplLedgEntries`
- [1542](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1542) calls `IsTempGLEntryBufEmpty`
- [1543](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1543) calls [Table 5223 Detailed Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5223-detailed-employee-ledger-entry/) `SetZeroTransNo`
- [1545](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1545) raises `OnAfterPostEmployee`
- [1547](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1547) raises `OnMoveGenJournalLine`

## PostBankAcc

[Line 1550](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1550), local.

- [1562](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1562) raises `OnBeforePostBankAcc`, IsHandled
- [1569](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1569) raises `OnPostBankAccOnBeforeCheckCurrencyCode`, IsHandled
- [1578](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1578) raises `OnBeforeCheckBankAccPostingGroup`, IsHandled
- [1586](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1586) raises `OnPostBankAccOnBeforeInitBankAccLedgEntry`
- [1588](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1588) calls `InitBankAccLedgEntry`
- [1597](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1597) raises `OnBeforeBankAccLedgEntryUpdateAmounts`
- [1605](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1605) calls [Table 271 Bank Account Ledger Entry](https://jonas-paprotka.de/ref/table/271-bank-account-ledger-entry/) `UpdateDebitCredit`
- [1606](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1606) raises `OnPostBankAccOnBeforeBankAccLedgEntryInsert`
- [1607](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1607) writes [Table 271 Bank Account Ledger Entry](https://jonas-paprotka.de/ref/table/271-bank-account-ledger-entry/) Insert(true)
- [1608](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1608) raises `OnPostBankAccOnAfterBankAccLedgEntryInsert`
- [1615](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1615) raises `OnPostBankAccOnBeforeModifyCheckLedgerEntry`, IsHandled
- [1629](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1629) raises `OnPostBankAccOnAfterCheckLedgEntrySetFilters`
- [1635](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1635) raises `OnPostBankAccOnBeforeCheckLedgEntry2Modify`
- [1636](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1636) writes [Table 272 Check Ledger Entry](https://jonas-paprotka.de/ref/table/272-check-ledger-entry/) Modify
- [1662](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1662) calls `InitCheckLedgEntry`
- [1668](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1668) raises `OnPostBankAccOnBeforeCheckLedgEntryInsert`
- [1669](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1669) writes [Table 272 Check Ledger Entry](https://jonas-paprotka.de/ref/table/272-check-ledger-entry/) Insert(true)
- [1670](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1670) raises `OnPostBankAccOnAfterCheckLedgEntryInsert`
- [1677](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1677) raises `OnPostBankAccOnCheckingBankAccPostingGrGLAccountNo`, IsHandled
- [1682](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1682) raises `OnPostBankAccOnBeforeCreateGLEntryBalAcc`, IsHandled
- [1684](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1684) calls `CreateGLEntryBalAcc`
- [1687](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1687) calls `DeferralPosting`
- [1688](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1688) raises `OnMoveGenJournalLine`
- [1690](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1690) raises `OnAfterPostBankAcc`

## PostFixedAsset

[Line 1693](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1693), local.

- [1711](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1711) raises `OnBeforePostFixedAsset`, IsHandled
- [1713](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1713) calls `InitGLEntry`
- [1715](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1715) calls `CalcAmountSrcCurr`
- [1719](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1719) calls `InitVAT`
- [1722](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1722) raises `OnPostFixedAssetOnBeforeGenJnlPostLine`, IsHandled
- [1724](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1724) calls [Codeunit 5632 FA Jnl.-Post Line](https://jonas-paprotka.de/ref/codeunit/5632-fa-jnl-post-line/) `GenJnlPostLine`
- [1726](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1726) calls `CreateAndPostDerogEntry`
- [1731](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1731) raises `OnPostFixedAssetOnAfterSaveGenJnlLineValues`
- [1733](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1733) calls [Codeunit 5632 FA Jnl.-Post Line](https://jonas-paprotka.de/ref/codeunit/5632-fa-jnl-post-line/) `FindFirstGLAcc`
- [1740](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1740) raises `OnPostFixedAssetOnBeforeInitGLEntryFromTempFAGLPostBuf`
- [1742](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1742) calls `CheckDimValueForDisposal`
- [1744](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1744) calls `InitGLEntry`
- [1746](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1746) calls `CalcAmountSrcCurr`
- [1749](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1749) calls `CheckNonAddCurrCodeOccurred`
- [1750](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1750) calls `InitGLEntry`
- [1752](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1752) calls `CalcAmountSrcCurr`
- [1755](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1755) calls [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) `CopyPostingGroupsFromGLEntry`
- [1766](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1766) calls [Codeunit 5607 FA Automatic Entry](https://jonas-paprotka.de/ref/codeunit/5607-fa-automatic-entry/) `AdjustGLEntry`
- [1772](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1772) writes [Table 5637 FA G/L Posting Buffer](https://jonas-paprotka.de/ref/table/5637-fa-g-l-posting-buffer/) Insert
- [1775](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1775) raises `OnPostFixedAssetOnBeforeInsertGLEntry`, IsHandled
- [1777](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1777) calls `InsertGLEntry`
- [1780](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1780) calls [Codeunit 5632 FA Jnl.-Post Line](https://jonas-paprotka.de/ref/codeunit/5632-fa-jnl-post-line/) `GetNextGLAcc`
- [1783](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1783) raises `OnPostFixedAssetOnAfterSetGenJnlLineShortcutDimCodes`
- [1789](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1789) raises `OnPostFixedAssetOnBeforeAssignGLEntry`
- [1794](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1794) raises `OnPostFixedAssetOnBeforePostVAT`
- [1795](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1795) calls `PostVAT`
- [1796](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1796) calls [Codeunit 5632 FA Jnl.-Post Line](https://jonas-paprotka.de/ref/codeunit/5632-fa-jnl-post-line/) `UpdateRegNo`
- [1798](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1798) raises `OnMoveGenJournalLine`
- [1799](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1799) raises `OnAfterPostFixedAsset`

## RunPostFixedAsset

[Line 1810](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1810).

- [1813](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1813) calls `PostFixedAsset`

## PostICPartner

[Line 1816](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1816), local.

- [1823](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1823) raises `OnBeforePostICPartner`, IsHandled
- [1837](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1837) raises `OnPostICPartnerOnBeforeCreateGLEntryBalAcc`, IsHandled
- [1839](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1839) calls `CreateGLEntryBalAcc`

## FindJobLineSign

[Line 1844](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1844), local.

- [1847](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1847) raises `OnAfterFindJobLineSign`

## PostJob

[Line 1860](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1860).

- [1866](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1866) raises `OnBeforePostJob`, IsHandled
- [1871](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1871) calls [Codeunit 1001 Job Post-Line](https://jonas-paprotka.de/ref/codeunit/1001-job-post-line/) `PostGenJnlLine`

## StartPosting

[Line 1879](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1879).

- [1884](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1884) raises `OnBeforeStartPosting`
- [1886](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1886) calls `InitNextEntryNo`
- [1889](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1889) calls `InitLastDocDate`
- [1892](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1892) calls [Codeunit 360 Accounting Period Mgt.](https://jonas-paprotka.de/ref/codeunit/360-accounting-period-mgt/) `GetPeriodStartingDate`
- [1894](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1894) calls `GetGLSetup`
- [1898](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1898) raises `OnStartPostingOnBeforeSetNextVatEntryNo`
- [1904](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1904) raises `OnStartPostingOnAfterSetNextVatEntryNo`
- [1908](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1908) raises `OnStartPostingOnAfterSetNextTaxEntryNo`
- [1923](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1923) raises `OnAfterInitGLRegister`
- [1925](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1925) calls `GetCurrencyExchRate`
- [1926](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1926) writes [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) DeleteAll
- [1927](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1927) writes [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) DeleteAll
- [1928](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1928) calls `CalculateCurrentBalance`
- [1929](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1929) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `IncludeVATAmount`
- [1931](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1931) raises `OnAfterStartPosting`

## ContinuePosting

[Line 1939](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1939).

- [1944](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1944) raises `OnBeforeContinuePosting`, IsHandled
- [1947](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1947) calls `NextTransactionNoNeeded`
- [1948](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1948) calls `CheckPostUnrealizedVAT`
- [1950](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1950) raises `OnContinuePostingOnIncreaseNextTransactionNo`, IsHandled
- [1953](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1953) calls `InitLastDocDate`
- [1957](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1957) raises `OnContinuePostingOnBeforeCalculateCurrentBalance`
- [1959](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1959) calls `GetCurrencyExchRate`
- [1960](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1960) writes [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) DeleteAll
- [1962](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1962) writes [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) DeleteAll
- [1963](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1963) calls `CalculateCurrentBalance`
- [1964](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1964) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `IncludeVATAmount`

## NextTransactionNoNeeded

[Line 1968](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1968), local.

- [1977](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1977) raises `OnNextTransactionNoNeeded`

## ValidateSequenceNo

[Line 1984](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1984), local.

- [1988](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1988) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `UseConcurrentPosting`
- [1990](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1990) calls [Codeunit 9500 Sequence No. Mgt.](https://jonas-paprotka.de/ref/codeunit/9500-sequence-no-mgt/) `ValidateSeqNo`

## ResetTransactionState

[Line 1999](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L1999).

- [2008](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2008) writes [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) DeleteAll

## FinishPosting

[Line 2018](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2018).

- [2024](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2024) raises `OnBeforeFinishPosting`
- [2034](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2034) raises `OnAfterSettingIsTransactionConsistent`
- [2040](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2040) writes [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) Insert
- [2048](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2048) raises `OnBeforeInsertGlobalGLEntry`
- [2051](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2051) writes [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) Insert(true)
- [2053](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2053) calls `InsertGLAccountSourceCurrency`
- [2054](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2054) calls [Table 57 G/L Transaction](https://jonas-paprotka.de/ref/table/57-g-l-transaction/) `InsertFromGLEntry`
- [2055](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2055) raises `OnAfterInsertGlobalGLEntry`
- [2058](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2058) calls `UpdateSpendRequest`
- [2063](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2063) calls `UpdateGLReg`
- [2064](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2064) calls `SetGLAccountNoInVATEntries`
- [2070](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2070) calls [Codeunit 1105 Transfer GL Entries to CA](https://jonas-paprotka.de/ref/codeunit/1105-transfer-gl-entries-to-ca/) `GetGLEntries`
- [2072](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2072) raises `OnFinishPostingOnBeforeResetFirstEntryNo`
- [2075](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2075) calls `UpdateAppliedCVLedgerEntries`
- [2077](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2077) raises `OnAfterFinishPosting`

## UpdateGLReg

[Line 2080](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2080), local.

- [2085](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2085) raises `OnBeforeUpdateGLReg`, IsHandled
- [2090](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2090) writes [Table 45 G/L Register](https://jonas-paprotka.de/ref/table/45-g-l-register/) Modify
- [2092](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2092) writes [Table 45 G/L Register](https://jonas-paprotka.de/ref/table/45-g-l-register/) Insert

## UpdateAppliedCVLedgerEntries

[Line 2097](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2097), local.

- [2107](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2107) writes [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) Modify
- [2110](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2110) writes [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) DeleteAll
- [2117](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2117) writes [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) Modify
- [2120](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2120) writes [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) DeleteAll

## UpdateSpendRequest

[Line 2124](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2124), local.

- [2150](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2150) writes [Table 6845 Spend Request To G/L Link](https://jonas-paprotka.de/ref/table/6845-spend-request-to-g-l-link/) Insert
- [2158](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2158) writes [Table 6840 Spend Request](https://jonas-paprotka.de/ref/table/6840-spend-request/) Modify

## InsertGLAccountSourceCurrency

[Line 2163](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2163), local.

- [2171](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2171) writes [Table 589 G/L Account Source Currency](https://jonas-paprotka.de/ref/table/589-g-l-account-source-currency/) Insert

## PostUnrealizedVAT

[Line 2175](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2175), local.

- [2178](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2178) calls `CustUnrealizedVAT`
- [2182](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2182) calls `VendUnrealizedVAT`

## CheckPostUnrealizedVAT

[Line 2187](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2187), local.

- [2190](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2190) calls `PostUnrealizedVAT`

## InitGLEntry

[Line 2212](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2212).

- [2218](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2218) raises `OnBeforeInitGLEntry`, IsHandled
- [2224](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2224) raises `OnInitGLEntryOnBeforeCheckGLAccountBlocked`, IsHandled
- [2237](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2237) raises `OnInitGLEntryOnBeforeCheckGLAccDimError`
- [2238](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2238) calls `CheckGLAccDimError`
- [2243](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2243) calls [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) `CopyFromGenJnlLine`
- [2250](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2250) calls `GLCalcAddCurrency`
- [2253](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2253) calls [Codeunit 11 Gen. Jnl.-Check Line](https://jonas-paprotka.de/ref/codeunit/11-gen-jnl-check-line/) `CheckGLAccountSourceCurrency`
- [2260](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2260) raises `OnAfterInitGLEntry`

## InitGLEntryVAT

[Line 2272](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2272).

- [2276](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2276) raises `OnBeforeInitGLEntryVAT`
- [2278](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2278) calls `InitGLEntry`
- [2280](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2280) calls `CalcAmountSrcCurr`
- [2282](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2282) calls `InitGLEntry`
- [2284](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2284) calls `CalcAmountSrcCurr`
- [2288](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2288) raises `OnInitGLEntryVATOnBeforeSummarizeVAT`
- [2289](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2289) calls `SummarizeVATFromInitGLEntryVAT`
- [2290](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2290) raises `OnAfterInitGLEntryVAT`

## SummarizeVATFromInitGLEntryVAT

[Line 2293](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2293), local.

- [2298](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2298) raises `OnBeforeSummarizeVATFromInitGLEntryVAT`, IsHandled
- [2302](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2302) calls `SummarizeVAT`

## InitGLEntryVATCopy

[Line 2316](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2316).

- [2320](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2320) raises `OnBeforeInitGLEntryVATCopy`
- [2321](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2321) calls `InitGLEntry`
- [2323](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2323) calls `CalcAmountSrcCurr`
- [2326](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2326) calls [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) `CopyPostingGroupsFromVATEntry`
- [2327](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2327) raises `OnInitGLEntryVATCopyOnBeforeSummarizeVAT`
- [2328](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2328) calls `SummarizeVAT`
- [2329](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2329) raises `OnAfterInitGLEntryVATCopy`

## InsertGLEntry

[Line 2343](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2343).

- [2348](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2348) raises `OnBeforeInsertGlEntry`, IsHandled
- [2353](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2353) raises `OnInsertGLEntryOnBeforeCheckAmountRounding`, IsHandled
- [2358](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2358) raises `OnInsertGLEntryOnBeforeUpdateCheckAmounts`
- [2359](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2359) calls `UpdateCheckAmounts`
- [2363](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2363) calls [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) `UpdateDebitCredit`
- [2365](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2365) raises `OnInsertGLEntryOnBeforeAssignTempGLEntryBuf`
- [2369](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2369) raises `OnBeforeInsertGLEntryBuffer`
- [2373](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2373) writes [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) Insert
- [2376](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2376) calls `IncrNextEntryNo`
- [2378](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2378) calls `HandleAddCurrResidualGLEntry`
- [2381](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2381) raises `OnAfterInsertGLEntry`

## CreateGLEntry

[Line 2397](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2397).

- [2404](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2404) calls `InitGLEntry`
- [2406](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2406) calls `InitGLEntry`
- [2409](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2409) raises `OnCreateGLEntryOnBeforeInsertGLEntry`
- [2410](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2410) calls `InsertGLEntry`
- [2412](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2412) raises `OnAfterCreateGLEntry`

## CreateGLEntryBalAcc

[Line 2424](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2424).

- [2429](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2429) raises `OnBeforeCreateGLEntryBalAcc`
- [2434](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2434) calls `CalcAmountSrcCurr`
- [2435](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2435) calls `InitGLEntry`
- [2440](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2440) calls `InsertGLEntry`
- [2441](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2441) raises `OnMoveGenJournalLine`
- [2442](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2442) raises `OnAfterCreateGLEntryBalAcc`

## CreateGLEntryGainLoss

[Line 2445](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2445), local.

- [2449](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2449) calls `SetPostingDimensions`
- [2450](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2450) calls `InitGLEntry`
- [2451](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2451) raises `OnBeforeCreateGLEntryGainLossInsertGLEntry`
- [2452](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2452) calls `InsertGLEntry`

## CreateGLEntryVAT

[Line 2465](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2465).

- [2469](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2469) raises `OnBeforeCreateGLEntryVAT`
- [2470](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2470) calls `InitGLEntry`
- [2472](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2472) calls `CalcAmountSrcCurr`
- [2475](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2475) calls [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) `CopyPostingGroupsFromDtldCVBuf`
- [2476](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2476) raises `OnCreateGLEntryVATOnBeforeInsertGLEntry`
- [2477](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2477) calls `InsertGLEntry`
- [2478](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2478) calls `InsertVATEntriesFromTemp`

## CreateGLEntryVATCollectAdj

[Line 2492](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2492).

- [2496](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2496) raises `OnBeforeCreateGLEntryVATCollectAdj`
- [2497](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2497) calls `InitGLEntry`
- [2499](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2499) calls `CalcAmountSrcCurr`
- [2505](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2505) calls [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) `CopyPostingGroupsFromDtldCVBuf`
- [2506](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2506) calls `InsertGLEntry`
- [2507](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2507) calls `CollectAdjustment`
- [2508](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2508) calls `InsertVATEntriesFromTemp`

## CreateGLEntryFromVATEntry

[Line 2511](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2511), local.

- [2515](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2515) calls `InitGLEntry`
- [2517](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2517) calls `CalcAmountSrcCurr`
- [2519](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2519) calls [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) `CopyPostingGroupsFromVATEntry`
- [2520](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2520) raises `OnBeforeInsertGLEntryFromVATEntry`
- [2521](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2521) calls `InsertGLEntry`

## CreateDeferralScheduleFromGL

[Line 2525](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2525), local.

- [2533](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2533) runs [Codeunit 366 Exchange Acc. G/L Journal Line](https://jonas-paprotka.de/ref/codeunit/366-exchange-acc-g-l-journal-line/)
- [2534](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2534) calls [Codeunit 1720 Deferral Utilities](https://jonas-paprotka.de/ref/codeunit/1720-deferral-utilities/) `CreateScheduleFromGL`

## UpdateCheckAmounts

[Line 2538](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2538), local.

- [2570](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2570) calls `GetGLSetup`

## CalcPmtDiscPossible

[Line 2585](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2585), local.

- [2591](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2591) raises `OnBeforeCalcPmtDiscPossible`, IsHandled
- [2596](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2596) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `GetRecordOnce`
- [2605](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2605) calls `TotalVATAmountOnJnlLines`
- [2610](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2610) raises `OnCalcPmtDiscPossibleOnBeforeOriginalPmtDiscPossible`
- [2617](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2617) raises `OnAfterCalcPmtDiscPossible`

## CalcPmtTolerancePossible

[Line 2620](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2620), local.

- [2625](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2625) raises `OnBeforeCalcPmtTolerancePossible`, IsHandled
- [2635](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2635) calls [Codeunit 426 Payment Tolerance Management](https://jonas-paprotka.de/ref/codeunit/426-payment-tolerance-management/) `CalcMaxPmtTolerance`
- [2637](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2637) calls [Codeunit 426 Payment Tolerance Management](https://jonas-paprotka.de/ref/codeunit/426-payment-tolerance-management/) `CalcMaxPmtTolerance`

## CalcPmtTolerance

[Line 2642](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2642), local.

- [2650](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2650) raises `OnBeforeCalcPmtTolerance`, IsHandled
- [2663](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2663) raises `OnCalcPmtToleranceOnAfterAssignPmtDisc`
- [2672](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2672) calls `CalcLCYToAddCurr`
- [2674](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2674) calls `CalcPmtDiscIfAdjVAT`
- [2678](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2678) raises `OnBeforeInitDetailedCVLedgEntryBufCalcPmtTolerance`
- [2681](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2681) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InitDetailedCVLedgEntryBuf`
- [2685](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2685) raises `OnAfterCalcPmtTolerance`

## CalcPmtDisc

[Line 2688](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2688), local.

- [2699](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2699) raises `OnBeforeCalcPmtDisc`, IsHandled
- [2705](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2705) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `GetRemainingPmtDiscPossible`
- [2706](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2706) raises `OnAfterCalcMinimalPossibleLiability`
- [2709](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2709) raises `OnAfterCalcPaymentExceedsLiability`
- [2714](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2714) raises `OnAfterCalcToleratedPaymentExceedsLiability`
- [2717](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2717) calls [Codeunit 426 Payment Tolerance Management](https://jonas-paprotka.de/ref/codeunit/426-payment-tolerance-management/) `CheckCalcPmtDisc`
- [2719](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2719) calls [Codeunit 426 Payment Tolerance Management](https://jonas-paprotka.de/ref/codeunit/426-payment-tolerance-management/) `CheckCalcPmtDisc`
- [2722](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2722) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `GetRemainingPmtDiscPossible`
- [2728](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2728) raises `OnCalcPmtDiscOnAfterAssignPmtDisc`
- [2734](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2734) calls `CalcLCYToAddCurr`
- [2736](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2736) raises `OnAfterCalcPmtDiscount`
- [2740](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2740) calls `CalcPmtDiscIfAdjVAT`
- [2744](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2744) raises `OnCalcPmtDiscBeforeInitDetailedCVLedgEntryBuff`, IsHandled
- [2746](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2746) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InitDetailedCVLedgEntryBuf`
- [2750](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2750) raises `OnCalcPmtDiscOnAfterCalcPmtDisc`

## CalcPmtDiscIfAdjVAT

[Line 2754](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2754), local.

- [2786](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2786) calls `CalcLCYToAddCurr`
- [2805](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2805) raises `OnCalcPmtDiscIfAdjVATOnBeforeVATEntryFind`
- [2812](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2812) raises `OnCalcPmtDiscAdjVATAmountsOnBeforeProcessVATEntry`
- [2829](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2829) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InsertDtldCVLedgEntry`
- [2830](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2830) raises `OnCalcPmtDiscIfAdjVATOnBeforeInsertSummarizedVATAdjForPaymentDiscount`
- [2831](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2831) calls `InsertSummarizedVAT`
- [2834](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2834) calls `CalcPmtDiscVATBases`
- [2837](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2837) calls `CalcAmtMultipliedByFactorWithRounding`
- [2840](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2840) calls `CalcAmtMultipliedByFactorWithRounding`
- [2844](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2844) calls `CalcLCYToAddCurr`
- [2848](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2848) calls `CalcLCYToAddCurr`
- [2851](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2851) raises `OnCalcPmtDiscIfAdjVATOnAfterCalcPmtDiscVATBases`
- [2874](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2874) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `CopyFromCVLedgEntryBuf`
- [2879](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2879) raises `OnCalcPmtDiscIfAdjVATCopyFields`
- [2880](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2880) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `CopyPostingGroupsFromVATEntry`
- [2887](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2887) raises `OnBeforeCalcPmtDiscVATAmounts`
- [2888](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2888) calls `CalcPmtDiscVATAmounts`
- [2894](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2894) raises `OnCalcPmtDiscIfAdjVATOnAfterCalcPmtDiscVATAmounts`
- [2908](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2908) calls `InsertPmtDiscVATForVATEntry`
- [2914](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2914) raises `OnCalcPmtDiscIfAdjVATOnBeforeInsertPmtDiscVATForGLEntry`
- [2916](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2916) calls `InsertPmtDiscVATForGLEntry`
- [2926](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2926) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InsertDtldCVLedgEntry`
- [2927](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2927) raises `OnCalcPmtDiscIfAdjVATOnBeforeInsertSummarizedVATAfterLoop`
- [2928](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2928) calls `InsertSummarizedVAT`
- [2934](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2934) raises `OnAfterCalcPmtDiscIfAdjVAT`

## CalcPmtDiscTolerance

[Line 2937](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2937), local.

- [2945](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2945) raises `OnBeforeCalcPmtDiscTolerance`, IsHandled
- [2958](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2958) raises `OnAfterCalcPmtDiscTolerance`
- [2966](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2966) calls `CalcLCYToAddCurr`
- [2968](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2968) calls `CalcPmtDiscIfAdjVAT`
- [2972](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2972) raises `OnCalcPmtDiscToleranceBeforeInitDetailedCVLedgEntryBuff`, IsHandled
- [2974](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2974) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InitDetailedCVLedgEntryBuf`
- [2978](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2978) raises `OnAfterCalcPmtDiscToleranceProc`

## CalcPmtDiscVATBases

[Line 2981](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2981), local.

- [2995](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L2995) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `GetNonDeductibleVATBaseBothCurrencies`
- [3018](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3018) raises `OnAfterCalcPmtDiscVATBases`

## CalcPmtDiscVATAmounts

[Line 3021](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3021), local.

- [3035](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3035) calls `CalcAmtMultipliedByFactorWithRounding`
- [3042](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3042) calls `CalcLCYToAddCurr`
- [3051](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3051) calls `CalcAmtMultipliedByFactorWithRounding`
- [3058](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3058) calls `CalcLCYToAddCurr`
- [3071](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3071) calls `CalcLCYToAddCurr`
- [3074](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3074) calls `CalcLCYToAddCurr`
- [3082](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3082) calls `CalcLCYToAddCurr`
- [3091](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3091) calls `CalcAmtMultipliedByFactorWithRounding`
- [3096](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3096) calls `CalcLCYToAddCurr`

## CalcAmountSourceCurrency

[Line 3113](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3113), internal.

- [3115](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3115) calls `CalcAmountSrcCurr`

## CalcAmountSrcCurr

[Line 3118](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3118), local.

- [3124](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3124) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeRate`
- [3130](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3130) calls `GetSourceCurrency`
- [3136](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3136) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtLCYToFCY`

## InsertPmtDiscVATForVATEntry

[Line 3140](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3140), local.

- [3152](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3152) calls [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) `CopyPostingDataFromGenJnlLine`
- [3153](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3153) calls [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) `SetVATDateFromGenJnlLine`
- [3166](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3166) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `SetNonDeductibleVATAmount`
- [3182](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3182) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `SetNonDeductibleVATBase`
- [3192](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3192) raises `OnBeforeInsertTempVATEntry`
- [3193](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3193) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) Insert

## InsertPmtDiscVATForGLEntry

[Line 3196](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3196), local.

- [3202](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3202) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `CopyFromCVLedgEntryBuf`
- [3217](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3217) raises `OnInsertPmtDiscVATForGLEntryOnAfterCopyFromGenJnlLine`
- [3228](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3228) raises `OnBeforeInsertPmtDiscVATForGLEntry`, IsHandled
- [3236](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3236) calls `InitGLEntryVAT`
- [3236](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3236) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`
- [3240](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3240) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InsertDtldCVLedgEntry`
- [3244](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3244) calls `InitGLEntryVAT`
- [3244](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3244) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`
- [3246](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3246) calls `InitGLEntryVAT`
- [3246](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3246) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetRevChargeAccount`
- [3249](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3249) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`
- [3251](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3251) calls `GetPaymentDiscountVATExclNonDedVATAccountNo`
- [3252](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3252) calls `InitGLEntryVAT`
- [3254](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3254) calls `InitGLEntryVAT`
- [3254](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3254) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetRevChargeAccount`
- [3260](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3260) calls `InitGLEntryVAT`
- [3260](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3260) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetPurchAccount`
- [3262](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3262) calls `InitGLEntryVAT`
- [3262](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3262) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetRevChargeAccount`
- [3265](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3265) calls `InitGLEntryVAT`
- [3265](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3265) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetPurchAccount`
- [3269](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3269) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InsertDtldCVLedgEntry`
- [3277](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3277) calls `InitGLEntryVAT`
- [3278](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3278) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetSalesAccount`
- [3282](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3282) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InsertDtldCVLedgEntry`
- [3288](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3288) calls `InitGLEntryVAT`
- [3289](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3289) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetSalesAccount`
- [3293](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3293) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InsertDtldCVLedgEntry`
- [3298](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3298) raises `OnAfterInsertPmtDiscVATForGLEntry`

## CalcCurrencyApplnRounding

[Line 3301](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3301), local.

- [3314](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3314) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InitDetailedCVLedgEntryBuf`

## FindAmtForAppln

[Line 3319](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3319), local.

- [3324](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3324) raises `OnBeforeFindAmtForAppln`
- [3331](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3331) calls [Codeunit 426 Payment Tolerance Management](https://jonas-paprotka.de/ref/codeunit/426-payment-tolerance-management/) `CheckCalcPmtDisc`
- [3336](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3336) raises `OnAfterSetAppliedAmountFromRemainingAmount`
- [3343](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3343) calls [Codeunit 426 Payment Tolerance Management](https://jonas-paprotka.de/ref/codeunit/426-payment-tolerance-management/) `CheckCalcPmtDisc`
- [3345](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3345) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `GetRemainingPmtDiscPossible`
- [3348](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3348) calls `ABSMin`
- [3349](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3349) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `GetRemainingPmtDiscPossible`
- [3354](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3354) raises `OnAfterSetAppliedAmountFromRemainingAmountOnEmptyFilter`
- [3357](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3357) calls `ABSMin`
- [3359](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3359) calls `ABSMin`
- [3374](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3374) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmount`
- [3385](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3385) raises `OnAfterFindAmtForAppln`

## CalcCurrencyUnrealizedGainLoss

[Line 3398](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3398).

- [3407](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3407) raises `OnBeforeCalcCurrencyUnrealizedGainLoss`, IsHandled
- [3419](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3419) calls [Table 379 Detailed Cust. Ledg. Entry](https://jonas-paprotka.de/ref/table/379-detailed-cust-ledg-entry/) `GetUnrealizedGainLossAmount`
- [3424](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3424) calls [Table 5223 Detailed Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5223-detailed-employee-ledger-entry/) `GetUnrealizedGainLossAmount`
- [3429](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3429) calls [Table 380 Detailed Vendor Ledg. Entry](https://jonas-paprotka.de/ref/table/380-detailed-vendor-ledg-entry/) `GetUnrealizedGainLossAmount`
- [3434](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3434) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InitDetailedCVLedgEntryBuf`
- [3438](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3438) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InitDetailedCVLedgEntryBuf`

## CalcCurrencyRealizedGainLoss

[Line 3443](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3443), local.

- [3449](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3449) raises `OnBeforeCalcCurrencyRealizedGainLoss`, IsHandled
- [3457](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3457) raises `OnAfterCalcCurrencyRealizedGainLoss`
- [3460](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3460) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InitDetailedCVLedgEntryBuf`
- [3464](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3464) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InitDetailedCVLedgEntryBuf`

## CalcApplication

[Line 3469](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3469), local.

- [3475](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3475) raises `OnBeforeCalcAplication`, IsHandled
- [3481](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3481) raises `OnCalcApplicationOnBeforeCheckAppliedAmount`, IsHandled
- [3486](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3486) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InitDetailedCVLedgEntryBuf`
- [3492](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3492) raises `OnAfterInitOldDtldCVLedgEntryBuf`
- [3497](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3497) raises `OnCalcApplicationOnAfterFillOldCVLedgEntryBufOpen`
- [3499](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3499) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `SetClosedFields`
- [3505](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3505) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InitDetailedCVLedgEntryBuf`
- [3511](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3511) raises `OnAfterInitNewDtldCVLedgEntryBuf`
- [3516](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3516) raises `OnCalcApplicationOnAfterCalcShouldSetClosedFields`
- [3518](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3518) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `SetClosedFields`
- [3524](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3524) raises `OnAfterCalcApplication`

## CalcAmtLCYAdjustment

[Line 3534](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3534).

- [3540](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3540) raises `OnBeforeCalcAmtLCYAdjustment`, IsHandled
- [3549](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3549) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InitFromGenJnlLine`
- [3550](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3550) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `CopyFromCVLedgEntryBuf`
- [3554](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3554) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `InsertDtldCVLedgEntry`

## InitBankAccLedgEntry

[Line 3558](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3558), local.

- [3560](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3560) raises `OnBeforeInitBankAccLedgEntry`
- [3563](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3563) calls [Table 271 Bank Account Ledger Entry](https://jonas-paprotka.de/ref/table/271-bank-account-ledger-entry/) `CopyFromGenJnlLine`
- [3567](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3567) raises `OnAfterInitBankAccLedgEntry`

## InitCheckLedgEntry

[Line 3570](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3570), local.

- [3572](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3572) raises `OnBeforeInitCheckEntry`
- [3575](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3575) calls [Table 272 Check Ledger Entry](https://jonas-paprotka.de/ref/table/272-check-ledger-entry/) `CopyFromBankAccLedgEntry`
- [3578](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3578) raises `OnAfterInitCheckLedgEntry`

## InitCustLedgEntry

[Line 3581](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3581), local.

- [3583](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3583) raises `OnBeforeInitCustLedgEntry`
- [3586](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3586) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `CopyFromGenJnlLine`
- [3590](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3590) raises `OnAfterInitCustLedgEntry`

## InitVendLedgEntry

[Line 3593](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3593), local.

- [3595](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3595) raises `OnBeforeInitVendLedgEntry`
- [3598](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3598) calls [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `CopyFromGenJnlLine`
- [3602](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3602) raises `OnAfterInitVendLedgEntry`

## InitEmployeeLedgerEntry

[Line 3605](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3605), local.

- [3607](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3607) raises `OnBeforeInitEmployeeLedgEntry`
- [3610](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3610) calls [Table 5222 Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5222-employee-ledger-entry/) `CopyFromGenJnlLine`
- [3614](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3614) raises `OnAfterInitEmployeeLedgerEntry`

## InsertDtldCustLedgEntry

[Line 3617](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3617), local.

- [3623](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3623) raises `OnBeforeInsertDtldCustLedgEntryProcedure`, IsHandled
- [3636](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3636) calls [Table 379 Detailed Cust. Ledg. Entry](https://jonas-paprotka.de/ref/table/379-detailed-cust-ledg-entry/) `UpdateDebitCredit`
- [3637](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3637) raises `OnBeforeInsertDtldCustLedgEntry`
- [3638](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3638) writes [Table 379 Detailed Cust. Ledg. Entry](https://jonas-paprotka.de/ref/table/379-detailed-cust-ledg-entry/) Insert(true)
- [3639](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3639) raises `OnAfterInsertDtldCustLedgEntry`

## InsertDtldVendLedgEntry

[Line 3642](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3642), local.

- [3648](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3648) raises `OnBeforeInsertDtldVendLedgEntryProcedure`, IsHandled
- [3661](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3661) calls [Table 380 Detailed Vendor Ledg. Entry](https://jonas-paprotka.de/ref/table/380-detailed-vendor-ledg-entry/) `UpdateDebitCredit`
- [3662](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3662) raises `OnBeforeInsertDtldVendLedgEntry`
- [3663](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3663) writes [Table 380 Detailed Vendor Ledg. Entry](https://jonas-paprotka.de/ref/table/380-detailed-vendor-ledg-entry/) Insert(true)
- [3664](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3664) raises `OnAfterInsertDtldVendLedgEntry`

## InsertDtldEmplLedgEntry

[Line 3667](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3667), local.

- [3680](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3680) calls [Table 5223 Detailed Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5223-detailed-employee-ledger-entry/) `UpdateDebitCredit`
- [3681](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3681) raises `OnBeforeInsertDtldEmplLedgEntry`
- [3682](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3682) writes [Table 5223 Detailed Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5223-detailed-employee-ledger-entry/) Insert(true)

## ApplyCustLedgEntry

[Line 3696](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3696).

- [3714](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3714) raises `OnBeforeApplyCustLedgEntry`, IsHandled
- [3735](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3735) raises `OnApplyCustLedgEntryOnBeforePrepareTempCustLedgEntry`
- [3736](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3736) calls `PrepareTempCustLedgEntry`
- [3740](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3740) raises `OnApplyCustLedgEntryOnAfterSetApplyingDate`
- [3747](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3747) raises `OnApplyCustLedgEntryOnBeforeCopyFromCustLedgEntry`
- [3748](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3748) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `CopyFromCustLedgEntry`
- [3750](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3750) calls `PostApply`
- [3755](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3755) raises `OnApplyCustLedgEntryOnAfterCalcShouldUpdateCalcInterestFromOldBuf`
- [3757](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3757) calls `UpdateCalcInterest`
- [3758](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3758) calls `UpdateCalcInterest`
- [3762](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3762) raises `OnApplyCustLedgEntryOnBeforeCopyFromCVLedgEntryBuffer`
- [3763](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3763) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `CopyFromCVLedgEntryBuffer`
- [3771](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3771) writes [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) Insert
- [3773](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3773) writes [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) Modify
- [3775](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3775) raises `OnAfterOldCustLedgEntryModify`
- [3778](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3778) raises `OnApplyCustLedgEntryOnBeforeCustUnrealizedVAT`, IsHandled
- [3783](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3783) calls `IsNotPayment`
- [3784](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3784) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `RecalculateAmounts`
- [3786](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3786) raises `OnApplyCustLedgEntryOnAfterRecalculateAmounts`
- [3787](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3787) calls `CustUnrealizedVAT`
- [3790](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3790) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmount`
- [3795](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3795) raises `OnApplyCustLedgEntryOnBeforeTempOldCustLedgEntryDelete`
- [3796](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3796) writes [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) Delete
- [3798](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3798) raises `OnApplyCustLedgerEntryOnBeforeSetCompleted`
- [3800](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3800) calls `FindNextOldCustLedgEntryToApply`
- [3810](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3810) calls `CalcCurrencyUnrealizedGainLoss`
- [3813](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3813) calls `CalcAmtLCYAdjustment`
- [3819](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3819) raises `OnApplyCustLedgEntryOnAfterCalcShouldUpdateCalcInterestFromNewBuf`
- [3821](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3821) calls `UpdateCalcInterest`
- [3824](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3824) raises `OnApplyCustLedgEntryOnBeforeUnrealizedVAT`, IsHandled
- [3829](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3829) calls `IsNotPayment`
- [3832](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3832) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `CopyFromCVLedgEntryBuffer`
- [3839](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3839) raises `OnAfterApplyCustLedgEntry`

## FindNextOldCustLedgEntryToApply

[Line 3842](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3842), local.

- [3846](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3846) raises `OnBeforeFindNextOldCustLedgEntryToApply`, IsHandled

## CustPostApplyCustLedgEntry

[Line 3874](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3874).

- [3887](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3887) raises `OnBeforeCustPostApplyCustLedgEntry`, IsHandled
- [3893](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3893) raises `OnCustPostApplyCustLedgEntryOnAfterCustLedgEntryTransferFields`
- [3897](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3897) calls `GetSourceCurrency`
- [3900](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3900) raises `OnCustPostApplyCustLedgEntryOnBeforeRunCheck`, IsHandled
- [3902](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3902) calls [Codeunit 11 Gen. Jnl.-Check Line](https://jonas-paprotka.de/ref/codeunit/11-gen-jnl-check-line/) `RunCheck`
- [3904](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3904) calls `StartPosting`
- [3906](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3906) calls `ContinuePosting`
- [3909](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3909) calls [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `CheckBlockedCustOnJnls`
- [3911](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3911) raises `OnCustPostApplyCustLedgEntryOnBeforeCheckPostingGroup`
- [3917](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3917) calls `GetCustomerReceivablesAccount`
- [3926](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3926) raises `OnCustPostApplyCustLedgEntryOnBeforeCopyFromCustLedgEntry`
- [3927](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3927) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `CopyFromCustLedgEntry`
- [3928](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3928) raises `OnCustPostApplyCustLedgEntryOnBeforeApplyCustLedgEntry`
- [3929](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3929) calls `ApplyCustLedgEntry`
- [3930](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3930) raises `OnCustPostApplyCustLedgEntryOnAfterApplyCustLedgEntry`
- [3931](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3931) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `CopyFromCVLedgEntryBuffer`
- [3932](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3932) raises `OnCustPostApplyCustLedgEntryOnBeforeModifyCustLedgEntry`
- [3933](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3933) writes [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) Modify
- [3936](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3936) raises `OnCustPostApplyCustLedgEntryOnBeforePostDtldCustLedgEntries`
- [3937](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3937) calls `PostDtldCustLedgEntries`
- [3939](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3939) raises `OnCustPostApplyCustLedgEntryOnBeforeCheckPostUnrealizedVAT`
- [3940](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3940) calls `CheckPostUnrealizedVAT`
- [3942](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3942) calls `IsTempGLEntryBufEmpty`
- [3943](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3943) calls [Table 379 Detailed Cust. Ledg. Entry](https://jonas-paprotka.de/ref/table/379-detailed-cust-ledg-entry/) `SetZeroTransNo`
- [3945](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3945) raises `OnCustPostApplyCustLedgEntryOnBeforeFinishPosting`
- [3947](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3947) calls `FinishPosting`
- [3949](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3949) raises `OnAfterCustPostApplyCustLedgEntry`

## PrepareTempCustLedgEntry

[Line 3952](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3952), local.

- [3964](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3964) raises `OnBeforePrepareTempCustledgEntry`, IsHandled
- [3976](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3976) raises `OnPrepareTempCustLedgEntryOnAfterSetFilters`
- [3978](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3978) raises `OnPrepareTempCustLedgEntryOnBeforeTestPositive`, IsHandled
- [3988](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3988) raises `OnPrepareTempCustLedgEntryOnBeforeCheckAgainstApplnCurrencyWithAppliesToDocNo`
- [3989](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3989) calls [Codeunit 225 Gen. Jnl.-Apply](https://jonas-paprotka.de/ref/codeunit/225-gen-jnl-apply/) `CheckAgainstApplnCurrency`
- [3992](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3992) raises `OnPrepareTempCustLedgEntryOnBeforeTempOldCustLedgEntryInsert`
- [3993](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L3993) writes [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) Insert
- [4013](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4013) raises `OnPrepareTempCustLedgEntryOnAfterSetFiltersByAppliesToId`
- [4016](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4016) raises `OnPrepareTempCustLedgEntryOnBeforeCheckAgainstApplnCurrency`
- [4017](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4017) calls [Codeunit 225 Gen. Jnl.-Apply](https://jonas-paprotka.de/ref/codeunit/225-gen-jnl-apply/) `CheckAgainstApplnCurrency`
- [4023](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4023) raises `OnPrepareTempCustLedgEntryOnBeforeTempOldCustLedgEntryInsert`
- [4024](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4024) writes [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) Insert
- [4044](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4044) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `RecalculateAmounts`
- [4046](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4046) calls [Codeunit 426 Payment Tolerance Management](https://jonas-paprotka.de/ref/codeunit/426-payment-tolerance-management/) `CheckCalcPmtDiscCVCust`
- [4047](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4047) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `GetRemainingPmtDiscPossible`
- [4058](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4058) raises `OnPrepareTempCustLedgEntryOnBeforeExit`

## PostDtldCustLedgEntries

[Line 4075](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4075).

- [4084](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4084) raises `OnBeforePostDtldCustLedgEntries`
- [4092](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4092) raises `OnPostDtldCustLedgEntriesOnAfterSetDtldCustLedgEntryNoOffset`
- [4094](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4094) calls `CheckCustMultiplePostingGroups`
- [4097](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4097) raises `OnAfterSetDtldCustLedgEntryNoOffset`
- [4100](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4100) raises `OnPostDtldCustLedgEntriesOnBeforeNextEntryNo`, IsHandled
- [4104](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4104) calls `IncrNextEntryNo`
- [4107](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4107) calls `InsertDtldCustLedgEntry`
- [4109](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4109) raises `OnPostDtldCustLedgEntriesOnBeforeUpdateTotalAmounts`, IsHandled
- [4111](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4111) calls `UpdateTotalAmounts`
- [4113](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4113) raises `OnPostDtldCustLedgEntriesOnBeforePostDtldCustLedgEntry`, IsHandled
- [4119](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4119) calls `PostDtldCustLedgEntry`
- [4124](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4124) raises `OnPostDtldCustLedgEntriesOnBeforeCreateGLEntriesForTotalAmountsV19`, IsHandled
- [4126](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4126) calls `GetCustomerReceivablesAccount`
- [4128](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4128) calls `CreateGLEntriesForTotalAmounts`
- [4129](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4129) calls `GetCustomerReceivablesAccount`
- [4131](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4131) raises `OnPostDtldCustLedgEntriesOnAfterCreateGLEntriesForTotalAmounts`
- [4134](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4134) writes [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) DeleteAll

## PostDtldCustLedgEntry

[Line 4137](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4137), local.

- [4142](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4142) calls `GetCustDtldCVLedgEntryBufferAccNo`
- [4144](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4144) calls `GetDtldCustLedgEntryAccNo`
- [4145](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4145) calls `PostDtldCVLedgEntry`

## PostDtldCustLedgEntryUnapply

[Line 4148](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4148), local.

- [4155](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4155) raises `OnBeforePostDtldCustLedgEntryUnapply`, IsHandled
- [4164](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4164) calls `GetCustDtldCVLedgEntryBufferAccNo`
- [4166](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4166) calls `GetDtldCustLedgEntryAccNo`
- [4168](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4168) calls `PostDtldCVLedgEntry`

## GetDtldCustLedgEntryAccNo

[Line 4171](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4171), local.

- [4179](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4179) raises `OnBeforeGetDtldCustLedgEntryAccNo`, IsHandled
- [4183](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4183) calls `IsDebitAmount`
- [4194](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4194) calls `GetCurrency`
- [4195](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4195) calls `CheckNonAddCurrCodeOccurred`
- [4196](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4196) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `GetGainLossAccount`
- [4199](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4199) calls [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `GetPmtDiscountAccount`
- [4204](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4204) calls [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `GetSalesPmtDiscountAccount`
- [4207](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4207) calls [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `GetApplRoundingAccount`
- [4209](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4209) calls [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `GetRoundingAccount`
- [4213](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4213) calls [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `GetPmtToleranceAccount`
- [4215](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4215) calls [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `GetPmtDiscountAccount`
- [4220](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4220) calls [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `GetPmtToleranceAccount`
- [4222](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4222) calls [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `GetPmtDiscountAccount`
- [4230](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4230) calls [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `GetSalesPmtToleranceAccount`
- [4232](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4232) calls [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `GetSalesPmtDiscountAccount`
- [4240](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4240) calls [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `GetSalesPmtToleranceAccount`
- [4242](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4242) calls [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `GetSalesPmtDiscountAccount`
- [4249](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4249) calls `PostDtldCustVATAdjustment`

## CustUnrealizedVAT

[Line 4255](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4255), internal.

- [4275](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4275) raises `OnBeforeCustUnrealizedVAT`, IsHandled
- [4280](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4280) raises `OnCustUnrealizedVATOnAfterCalcPaidAmount`
- [4286](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4286) raises `OnCustUnrealizedVATOnAfterSetFilterForVATEntry2`
- [4304](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4304) calls `InsertSummarizedVAT`
- [4309](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4309) raises `OnCustUnrealizedVATOnBeforeGetUnrealizedVATPart`, IsHandled
- [4312](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4312) calls [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) `GetUnrealizedVATPart`
- [4313](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4313) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `GetAdjustedCurrencyFactor`
- [4319](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4319) raises `OnCustUnrealizedVATOnAfterVATPartCalculation`
- [4327](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4327) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetSalesAccount`
- [4328](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4328) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetSalesAccount`
- [4333](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4333) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetSalesAccount`
- [4334](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4334) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetSalesAccount`
- [4338](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4338) raises `OnCustUnrealizedVATOnAfterSetSalesVATAccounts`
- [4358](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4358) raises `OnCustUnrealizedVATOnBeforeInitGLEntryVAT`, IsHandled
- [4361](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4361) calls `InitGLEntryVAT`
- [4365](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4365) calls `InitGLEntryVATCopy`
- [4367](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4367) raises `OnCustUnrealizedVATOnBeforePostUnrealVATEntry`
- [4368](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4368) calls `PostUnrealVATEntry`
- [4372](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4372) calls `InsertSummarizedVAT`

## ApplyVendLedgEntry

[Line 4384](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4384).

- [4402](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4402) raises `OnBeforeApplyVendLedgEntry`, IsHandled
- [4422](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4422) calls `PrepareTempVendLedgEntry`
- [4431](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4431) raises `OnApplyVendLedgEntryOnBeforeCopyFromVendLedgEntry`
- [4432](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4432) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `CopyFromVendLedgEntry`
- [4435](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4435) calls `PostApply`
- [4440](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4440) raises `OnBeforeCopyFromCVLedgEntryBuffer`
- [4441](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4441) calls [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `CopyFromCVLedgEntryBuffer`
- [4446](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4446) raises `OnBeforeUpdateOldVendLedgEntryAmountToApply`, IsHandled
- [4453](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4453) writes [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) Insert
- [4456](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4456) raises `OnApplyVendLedgEntryOnBeforeOldVendLedgEntryModify`
- [4457](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4457) writes [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) Modify
- [4459](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4459) raises `OnAfterOldVendLedgEntryModify`
- [4462](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4462) raises `OnApplyVendLedgEntryOnBeforeVendUnrealizedVAT`, IsHandled
- [4467](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4467) calls `IsNotPayment`
- [4468](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4468) calls [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `RecalculateAmounts`
- [4470](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4470) raises `OnApplyVendLedgEntryOnAfterRecalculateAmounts`
- [4471](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4471) calls `VendUnrealizedVAT`
- [4474](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4474) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmount`
- [4479](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4479) raises `OnApplyVendLedgEntryOnBeforeTempOldVendLedgEntryDelete`
- [4480](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4480) writes [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) Delete
- [4482](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4482) calls `FindNextOldVendLedgEntryToApply`
- [4492](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4492) calls `CalcCurrencyUnrealizedGainLoss`
- [4495](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4495) calls `CalcAmtLCYAdjustment`
- [4500](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4500) raises `OnApplyVendLedgEntryOnBeforeUnrealizedVAT`, IsHandled
- [4505](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4505) calls `IsNotPayment`
- [4508](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4508) calls [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `CopyFromCVLedgEntryBuffer`
- [4515](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4515) raises `OnAfterApplyVendLedgEntry`

## FindNextOldVendLedgEntryToApply

[Line 4518](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4518), local.

- [4522](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4522) raises `OnBeforeFindNextOldVendLedgEntryToApply`, IsHandled

## ApplyEmplLedgEntry

[Line 4552](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4552).

- [4581](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4581) calls `PrepareTempEmplLedgEntry`
- [4591](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4591) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `CopyFromEmplLedgEntry`
- [4594](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4594) calls `PostApply`
- [4599](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4599) calls [Table 5222 Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5222-employee-ledger-entry/) `CopyFromCVLedgEntryBuffer`
- [4603](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4603) raises `OnApplyEmplLedgEntryOnBeforeOldEmplLedgEntryModify`
- [4604](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4604) writes [Table 5222 Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5222-employee-ledger-entry/) Modify
- [4606](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4606) writes [Table 5222 Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5222-employee-ledger-entry/) Delete
- [4608](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4608) calls `FindNextOldEmplLedgEntryToApply`
- [4618](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4618) calls `CalcCurrencyUnrealizedGainLoss`
- [4621](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4621) calls `CalcAmtLCYAdjustment`
- [4626](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4626) raises `OnAfterApplyEmplLedgEntry`

## FindNextOldEmplLedgEntryToApply

[Line 4629](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4629), local.

- [4633](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4633) raises `OnBeforeFindNextOldEmplLedgEntryToApply`, IsHandled

## VendPostApplyVendLedgEntry

[Line 4661](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4661).

- [4673](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4673) raises `OnBeforeVendPostApplyVendLedgEntry`
- [4677](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4677) raises `OnVendPostApplyVendLedgEntryOnAfterVendLedgEntryTransferFields`
- [4681](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4681) calls `GetSourceCurrency`
- [4684](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4684) raises `OnVendPostApplyVendLedgEntryOnBeforeRunCheck`, IsHandled
- [4686](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4686) calls [Codeunit 11 Gen. Jnl.-Check Line](https://jonas-paprotka.de/ref/codeunit/11-gen-jnl-check-line/) `RunCheck`
- [4688](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4688) calls `StartPosting`
- [4690](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4690) calls `ContinuePosting`
- [4693](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4693) calls [Table 23 Vendor](https://jonas-paprotka.de/ref/table/23-vendor/) `CheckBlockedVendOnJnls`
- [4695](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4695) raises `OnVendPostApplyVendLedgEntryOnBeforeCheckPostingGroup`
- [4700](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4700) calls `GetVendorPostingGroup`
- [4702](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4702) raises `OnBeforeGetVendorPayablesAccount`, IsHandled
- [4704](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4704) calls [Table 93 Vendor Posting Group](https://jonas-paprotka.de/ref/table/93-vendor-posting-group/) `GetPayablesAccount`
- [4713](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4713) raises `OnVendPostApplyVendLedgEntryOnBeforeCopyFromVendLedgEntry`
- [4714](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4714) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `CopyFromVendLedgEntry`
- [4715](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4715) raises `OnVendPostApplyVendLedgEntryOnBeforeApplyVendLedgEntry`
- [4716](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4716) calls `ApplyVendLedgEntry`
- [4717](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4717) raises `OnVendPostApplyVendLedgEntryOnAfterApplyVendLedgEntry`
- [4718](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4718) calls [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `CopyFromCVLedgEntryBuffer`
- [4719](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4719) writes [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) Modify(true)
- [4721](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4721) raises `OnVendPostApplyVendLedgEntryOnBeforePostDtldVendLedgEntries`
- [4722](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4722) calls `PostDtldVendLedgEntries`
- [4724](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4724) raises `OnVendPostApplyVendLedgEntryOnBeforeCheckPostUnrealizedVAT`
- [4725](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4725) calls `CheckPostUnrealizedVAT`
- [4727](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4727) calls `IsTempGLEntryBufEmpty`
- [4728](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4728) calls [Table 380 Detailed Vendor Ledg. Entry](https://jonas-paprotka.de/ref/table/380-detailed-vendor-ledg-entry/) `SetZeroTransNo`
- [4730](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4730) raises `OnVendPostApplyVendLedgEntryOnBeforeFinishPosting`
- [4732](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4732) calls `FinishPosting`
- [4733](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4733) raises `OnAfterVendPostApplyVendLedgEntry`

## EmplPostApplyEmplLedgEntry

[Line 4742](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4742).

- [4755](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4755) raises `OnBeforeEmplPostApplyEmplLedgEntry`, IsHandled
- [4764](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4764) calls `GetSourceCurrency`
- [4766](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4766) calls [Codeunit 11 Gen. Jnl.-Check Line](https://jonas-paprotka.de/ref/codeunit/11-gen-jnl-check-line/) `RunCheck`
- [4768](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4768) calls `StartPosting`
- [4770](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4770) calls `ContinuePosting`
- [4779](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4779) raises `OnBeforeGetEmployeePayablesAccount`, IsHandled
- [4781](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4781) calls [Table 5221 Employee Posting Group](https://jonas-paprotka.de/ref/table/5221-employee-posting-group/) `GetPayablesAccount`
- [4790](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4790) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `CopyFromEmplLedgEntry`
- [4791](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4791) calls `ApplyEmplLedgEntry`
- [4793](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4793) calls [Table 5222 Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5222-employee-ledger-entry/) `CopyFromCVLedgEntryBuffer`
- [4794](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4794) writes [Table 5222 Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5222-employee-ledger-entry/) Modify(true)
- [4797](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4797) calls `PostDtldEmplLedgEntries`
- [4799](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4799) calls `CheckPostUnrealizedVAT`
- [4801](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4801) calls `IsTempGLEntryBufEmpty`
- [4802](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4802) calls [Table 5223 Detailed Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5223-detailed-employee-ledger-entry/) `SetZeroTransNo`
- [4804](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4804) calls `FinishPosting`

## PrepareTempVendLedgEntry

[Line 4807](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4807), local.

- [4819](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4819) raises `OnBeforePrepareTempVendLedgEntry`, IsHandled
- [4831](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4831) raises `OnPrepareTempVendLedgEntryOnAfterSetFilters`
- [4834](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4834) raises `OnPrepareTempVendLedgEntryOnBeforeTestPositive`, IsHandled
- [4839](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4839) raises `OnPrepareTempVendLedgEntryOnBeforeCheckAgainstApplnCurrencyWithAppliesToDocNo`
- [4840](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4840) calls [Codeunit 225 Gen. Jnl.-Apply](https://jonas-paprotka.de/ref/codeunit/225-gen-jnl-apply/) `CheckAgainstApplnCurrency`
- [4843](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4843) raises `OnPrepareTempVendLedgEntryOnBeforeTempOldVendLedgEntryInsert`
- [4844](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4844) writes [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) Insert
- [4864](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4864) raises `OnPrepareTempVendLedgEntryOnAfterSetFiltersBlankAppliesToDocNo`
- [4867](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4867) raises `OnPrepareTempVendLedgEntryOnBeforeCheckAgainstApplnCurrency`
- [4868](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4868) calls [Codeunit 225 Gen. Jnl.-Apply](https://jonas-paprotka.de/ref/codeunit/225-gen-jnl-apply/) `CheckAgainstApplnCurrency`
- [4874](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4874) raises `OnPrepareTempVendLedgEntryOnBeforeTempOldVendLedgEntryInsert`
- [4875](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4875) writes [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) Insert
- [4895](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4895) calls [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `RecalculateAmounts`
- [4897](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4897) calls [Codeunit 426 Payment Tolerance Management](https://jonas-paprotka.de/ref/codeunit/426-payment-tolerance-management/) `CheckCalcPmtDiscCVVend`
- [4898](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4898) calls [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `GetRemainingPmtDiscPossible`
- [4909](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4909) raises `OnPrepareTempVendLedgEntryOnBeforeExit`

## PrepareTempEmplLedgEntry

[Line 4915](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4915), local.

- [4925](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4925) raises `OnBeforePrepareTempEmplLedgEntry`, IsHandled
- [4938](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4938) raises `OnPrepareTempVendLedgEntryOnBeforeTestPositive`, IsHandled
- [4944](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4944) raises `OnPrepareTempEmplLedgEntryOnAppDocNoOnBeforeTempOldEmplLedgEntryInsert`
- [4945](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4945) writes [Table 5222 Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5222-employee-ledger-entry/) Insert
- [4960](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4960) raises `OnPrepareTempEmplLedgEntryOnAfterSetFiltersByAppliesToId`
- [4966](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4966) raises `OnPrepareTempEmplLedgEntryOnAppToIDOnBeforeTempOldEmplLedgEntryInsert`
- [4967](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4967) writes [Table 5222 Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5222-employee-ledger-entry/) Insert
- [4986](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4986) calls [Table 5222 Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5222-employee-ledger-entry/) `RecalculateAmounts`
- [4988](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L4988) raises `OnPrepareTempEmplLedgEntryOnBeforeUpdateRemainingAmount`

## PostDtldVendLedgEntries

[Line 5014](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5014).

- [5026](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5026) raises `OnPostDtldVendLedgEntriesOnBeforeSetDtldVendLedgEntryNoOffset`
- [5032](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5032) raises `OnPostDtldVendLedgEntriesOnAfterSetDtldVendLedgEntryNoOffset`
- [5034](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5034) calls `CheckVendMultiplePostingGroups`
- [5037](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5037) raises `OnAfterSetDtldVendLedgEntryNoOffset`
- [5041](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5041) calls `IncrNextEntryNo`
- [5044](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5044) calls `InsertDtldVendLedgEntry`
- [5046](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5046) raises `OnPostDtldVendLedgEntriesOnBeforeUpdateTotalAmounts`, IsHandled
- [5048](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5048) calls `UpdateTotalAmounts`
- [5050](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5050) raises `OnPostDtldVendLedgEntriesOnBeforePostDtldVendLedgEntry`, IsHandled
- [5056](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5056) calls `PostDtldVendLedgEntry`
- [5057](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5057) raises `OnPostDtldVendLedgEntriesOnAfterPostDtldVendLedgEntry`
- [5062](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5062) raises `OnPostDtldVendLedgEntriesOnBeforeCreateGLEntriesForTotalAmounts`, IsHandled
- [5064](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5064) calls `CreateGLEntriesForTotalAmounts`
- [5065](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5065) calls `GetVendorPayablesAccount2`
- [5067](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5067) raises `OnPostDtldVendLedgEntriesOnAfterCreateGLEntriesForTotalAmounts`
- [5070](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5070) writes [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) DeleteAll

## PostDtldVendLedgEntry

[Line 5073](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5073), local.

- [5078](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5078) calls `GetVendDtldCVLedgEntryBufferAccNo`
- [5080](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5080) calls `GetDtldVendLedgEntryAccNo`
- [5081](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5081) calls `PostDtldCVLedgEntry`

## PostDtldVendLedgEntryUnapply

[Line 5084](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5084), local.

- [5091](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5091) raises `OnBeforePostDtldVendLedgEntryUnapply`, IsHandled
- [5100](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5100) calls `GetVendDtldCVLedgEntryBufferAccNo`
- [5102](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5102) calls `GetDtldVendLedgEntryAccNo`
- [5104](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5104) calls `PostDtldCVLedgEntry`

## GetDtldVendLedgEntryAccNo

[Line 5107](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5107), local.

- [5115](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5115) raises `OnBeforeGetDtldVendLedgEntryAccNo`, IsHandled
- [5119](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5119) calls `IsDebitAmount`
- [5130](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5130) calls `GetCurrency`
- [5131](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5131) calls `CheckNonAddCurrCodeOccurred`
- [5132](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5132) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `GetGainLossAccount`
- [5135](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5135) calls [Table 93 Vendor Posting Group](https://jonas-paprotka.de/ref/table/93-vendor-posting-group/) `GetPmtDiscountAccount`
- [5139](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5139) calls [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `GetPurchPmtDiscountAccount`
- [5142](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5142) calls [Table 93 Vendor Posting Group](https://jonas-paprotka.de/ref/table/93-vendor-posting-group/) `GetApplRoundingAccount`
- [5144](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5144) calls [Table 93 Vendor Posting Group](https://jonas-paprotka.de/ref/table/93-vendor-posting-group/) `GetRoundingAccount`
- [5148](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5148) calls [Table 93 Vendor Posting Group](https://jonas-paprotka.de/ref/table/93-vendor-posting-group/) `GetPmtToleranceAccount`
- [5150](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5150) calls [Table 93 Vendor Posting Group](https://jonas-paprotka.de/ref/table/93-vendor-posting-group/) `GetPmtDiscountAccount`
- [5155](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5155) calls [Table 93 Vendor Posting Group](https://jonas-paprotka.de/ref/table/93-vendor-posting-group/) `GetPmtToleranceAccount`
- [5157](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5157) calls [Table 93 Vendor Posting Group](https://jonas-paprotka.de/ref/table/93-vendor-posting-group/) `GetPmtDiscountAccount`
- [5164](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5164) calls [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `GetPurchPmtToleranceAccount`
- [5166](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5166) calls [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `GetPurchPmtDiscountAccount`
- [5174](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5174) calls [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `GetPurchPmtToleranceAccount`
- [5176](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5176) calls [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `GetPurchPmtDiscountAccount`
- [5183](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5183) calls `PostDtldVendVATAdjustment`

## PostDtldEmplLedgEntry

[Line 5189](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5189), local.

- [5194](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5194) calls `GetEmplDtldCVLedgEntryBufferAccNo`
- [5196](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5196) calls `GetDtldEmplLedgEntryAccNo`
- [5197](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5197) calls `PostDtldCVLedgEntry`

## PostDtldEmplLedgEntryUnapply

[Line 5200](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5200), local.

- [5210](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5210) calls `GetEmplDtldCVLedgEntryBufferAccNo`
- [5212](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5212) calls `GetDtldEmplLedgEntryAccNo`
- [5214](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5214) calls `PostDtldCVLedgEntry`

## GetDtldEmplLedgEntryAccNo

[Line 5217](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5217), local.

- [5224](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5224) raises `OnBeforeGetDtldEmplLedgEntryAccNo`, IsHandled
- [5228](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5228) calls `IsDebitAmount`
- [5239](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5239) calls `GetCurrency`
- [5240](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5240) calls `CheckNonAddCurrCodeOccurred`
- [5241](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5241) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `GetGainLossAccount`
- [5244](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5244) calls [Table 5221 Employee Posting Group](https://jonas-paprotka.de/ref/table/5221-employee-posting-group/) `GetApplRoundingAccount`
- [5246](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5246) calls [Table 5221 Employee Posting Group](https://jonas-paprotka.de/ref/table/5221-employee-posting-group/) `GetRoundingAccount`

## GetCustDtldCVLedgEntryBufferAccNo

[Line 5252](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5252), local.

- [5259](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5259) calls `GetCustomerReceivablesAccount`

## GetVendDtldCVLedgEntryBufferAccNo

[Line 5262](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5262), local.

- [5269](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5269) calls `GetVendorPayablesAccount`

## GetEmplDtldCVLedgEntryBufferAccNo

[Line 5272](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5272), local.

- [5279](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5279) calls `GetEmployeePayablesAccount`

## PostDtldEmplLedgEntries

[Line 5293](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5293).

- [5309](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5309) calls `CheckEmplMultiplePostingGroups`
- [5312](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5312) raises `OnAfterSetDtldEmplLedgEntryNoOffset`
- [5316](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5316) calls `IncrNextEntryNo`
- [5319](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5319) calls `InsertDtldEmplLedgEntry`
- [5321](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5321) raises `OnPostDtldEmplLedgEntriesOnBeforeUpdateTotalAmounts`, IsHandled
- [5323](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5323) calls `UpdateTotalAmounts`
- [5325](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5325) raises `OnPostDtldEmplLedgEntriesOnAfterUpdateTotalAmounts`
- [5330](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5330) calls `PostDtldEmplLedgEntry`
- [5335](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5335) raises `OnPostDtldEmplLedgEntriesOnBeforeCreateGLEntriesForTotalAmounts`, IsHandled
- [5337](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5337) calls `CreateGLEntriesForTotalAmounts`
- [5338](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5338) calls `GetEmployeePayablesAccount`
- [5340](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5340) raises `OnPostDtldEmplLedgEntriesOnAfterCreateGLEntriesForTotalAmounts`
- [5343](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5343) writes [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) DeleteAll

## PostDtldCVLedgEntry

[Line 5355](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5355).

- [5364](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5364) raises `OnBeforePostDtldCVLedgEntry`, IsHandled
- [5372](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5372) calls `CreateGLEntry`
- [5374](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5374) calls `GLCalcAddCurrency`
- [5378](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5378) calls `CalcAmountSrcCurr`
- [5385](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5385) raises `OnPostDtldCVLedgEntryOnBeforeCreateGLEntryGainLoss`, IsHandled
- [5386](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5386) calls `IsApplicableCurrencyCodeNeeded`
- [5387](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5387) calls `SetApplyingCurrencyCode`
- [5389](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5389) calls `CreateGLEntryGainLoss`
- [5391](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5391) calls `SetApplyingCurrencyCode`
- [5396](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5396) calls `GetCustomerPostingGroup`
- [5397](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5397) calls `GetCustDtldCVLedgEntryBufferAccNo`
- [5398](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5398) calls `GetCustomerReceivablesAccount`
- [5403](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5403) calls `GetEmplDtldCVLedgEntryBufferAccNo`
- [5404](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5404) calls `GetEmployeePayablesAccount`
- [5408](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5408) calls `CreateGLEntryGainLoss`
- [5409](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5409) calls `CreateGLEntryGainLoss`
- [5413](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5413) calls `CollectAdjustment`
- [5419](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5419) calls `PostDtldCVLedgEntryCreateGLEntryPmtDiscTol`
- [5421](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5421) calls `CollectAdjustment`
- [5428](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5428) calls `CreateGLEntryVATCollectAdj`
- [5432](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5432) calls `CreateGLEntryVAT`
- [5434](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5434) raises `OnPostDtldCVLedgEntryOnAfterCreateGLEntryPmtDiscTolVATExcl`
- [5438](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5438) calls `CreateGLEntry`
- [5440](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5440) calls `CalcAmountSrcCurr`
- [5442](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5442) calls `CollectAdjustment`
- [5446](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5446) calls `CreateGLEntry`
- [5448](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5448) calls `CalcAmountSrcCurr`
- [5450](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5450) calls `CollectAdjustment`
- [5460](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5460) raises `OnAfterPostDtldCVLedgEntry`

## PostDtldCVLedgEntryCreateGLEntryPmtDiscTol

[Line 5465](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5465), local.

- [5470](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5470) raises `OnBeforePostDtldCVLedgEntryCreateGLEntryPmtDiscTol`, IsHandled
- [5474](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5474) calls `CreateGLEntry`
- [5476](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5476) calls `CalcAmountSrcCurr`
- [5477](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5477) raises `OnPostDtldCVLedgEntryOnAfterCreateGLEntryPmtDiscTol`

## PostDtldCustVATAdjustment

[Line 5480](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5480), local.

- [5485](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5485) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `FindVATEntry`
- [5486](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5486) raises `OnPostDtldCustVATAdjustmentOnAfterFindVATEntry`
- [5493](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5493) calls `CreateGLEntry`
- [5494](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5494) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetSalesAccount`
- [5495](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5495) calls `CalcAmountSrcCurr`
- [5503](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5503) calls `CreateGLEntry`
- [5504](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5504) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetPurchAccount`
- [5505](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5505) calls `CalcAmountSrcCurr`
- [5508](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5508) raises `OnAfterPostDtldCustVATAdjustment`

## PostDtldVendVATAdjustment

[Line 5511](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5511), local.

- [5517](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5517) calls [Table 383 Detailed CV Ledg. Entry Buffer](https://jonas-paprotka.de/ref/table/383-detailed-cv-ledg-entry-buffer/) `FindVATEntry`
- [5518](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5518) raises `OnPostDtldVendVATAdjustmentOnAfterFindVATEntry`
- [5526](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5526) raises `OnPostDtldVendVATAdjustmentOnBeforeCreateGLEntryForNormalOrFullVAT`, IsHandled
- [5528](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5528) calls `CreateGLEntry`
- [5529](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5529) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`
- [5530](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5530) calls `CalcAmountSrcCurr`
- [5537](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5537) raises `OnPostDtldVendVATAdjustmentOnBeforeCreateGLEntryReverseChargeVATInPostDtldVendVATAdjustment`, IsHandled
- [5539](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5539) calls `CreateGLEntry`
- [5540](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5540) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`
- [5541](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5541) calls `CalcAmountSrcCurr`
- [5542](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5542) calls `CreateGLEntry`
- [5543](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5543) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetRevChargeAccount`
- [5544](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5544) calls `CalcAmountSrcCurr`
- [5551](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5551) raises `OnPostDtldVendVATAdjustmentOnBeforeCreateGLEntrySalesTaxInPostDtldVendVATAdjustment`, IsHandled
- [5554](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5554) calls `CreateGLEntry`
- [5555](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5555) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetPurchAccount`
- [5556](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5556) calls `CalcAmountSrcCurr`
- [5557](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5557) calls `CreateGLEntry`
- [5558](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5558) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetRevChargeAccount`
- [5559](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5559) calls `CalcAmountSrcCurr`
- [5561](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5561) calls `CreateGLEntry`
- [5562](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5562) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetPurchAccount`
- [5563](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5563) calls `CalcAmountSrcCurr`
- [5566](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5566) raises `OnAfterPostDtldVendVATAdjustment`

## VendUnrealizedVAT

[Line 5569](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5569), internal.

- [5590](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5590) raises `OnBeforeVendUnrealizedVAT`, IsHandled
- [5599](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5599) raises `OnVendUnrealizedVATOnAfterSetFilterForVATEntry2`
- [5602](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5602) raises `OnVendUnrealizedVATOnAfterCalcPaidAmount`
- [5616](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5616) raises `OnVendUnrealizedVATOnAfterCalcTotalUnrealVATAmount`
- [5622](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5622) calls `InsertSummarizedVAT`
- [5627](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5627) raises `OnVendUnrealizedVATOnBeforeGetUnrealizedVATPart`, IsHandled
- [5630](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5630) calls [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) `GetUnrealizedVATPart`
- [5631](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5631) calls [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `GetAdjustedCurrencyFactor`
- [5637](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5637) raises `OnVendUnrealizedVATOnAfterVATPartCalculation`
- [5640](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5640) calls `GetVendUnrealizedVATAccounts`
- [5659](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5659) raises `OnVendUnrealizedVATOnBeforeInitGLEntryVAT`
- [5663](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5663) calls `InitGLEntryVAT`
- [5666](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5666) calls `InitGLEntryVATCopy`
- [5670](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5670) raises `OnBeforeInitGLEntryVATOnVendUnrealizedVAT`, IsHandled
- [5672](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5672) calls `InitGLEntryVAT`
- [5675](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5675) calls `InitGLEntryVATCopy`
- [5680](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5680) raises `OnBeforeInitGLEntryVATOnVendUnrealizedVATForRevChargeVAT`, IsHandled
- [5683](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5683) calls `InitGLEntryVAT`
- [5686](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5686) calls `InitGLEntryVATCopy`
- [5689](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5689) raises `OnVendUnrealizedVATOnBeforePostUnrealVATEntry`
- [5690](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5690) calls `PostUnrealVATEntry`
- [5694](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5694) calls `InsertSummarizedVAT`

## GetVendUnrealizedVATAccounts

[Line 5698](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5698), local.

- [5706](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5706) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`
- [5707](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5707) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`
- [5711](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5711) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`
- [5712](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5712) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`
- [5713](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5713) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetRevChargeAccount`
- [5714](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5714) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetRevChargeAccount`
- [5719](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5719) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetPurchAccount`
- [5720](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5720) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetPurchAccount`
- [5721](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5721) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetRevChargeAccount`
- [5722](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5722) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetRevChargeAccount`
- [5725](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5725) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetPurchAccount`
- [5726](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5726) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetPurchAccount`
- [5730](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5730) raises `OnAfterGetVendUnrealizedVATAccounts`

## PostUnrealVATEntry

[Line 5744](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5744).

- [5746](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5746) raises `OnBeforePostUnrealVATEntry`
- [5750](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5750) calls [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) `CopyPostingDataFromGenJnlLine`
- [5751](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5751) calls [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) `SetVATDateFromGenJnlLine`
- [5756](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5756) calls [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) `SetUnrealAmountsToZero`
- [5767](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5767) raises `OnBeforeInsertPostUnrealVATEntry`
- [5768](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5768) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) Insert(true)
- [5769](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5769) raises `OnPostUnrealVATEntryOnBeforeInsertLinkSelf`
- [5770](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5770) calls [Table 253 G/L Entry - VAT Entry Link](https://jonas-paprotka.de/ref/table/253-g-l-entry-vat-entry-link/) `InsertLinkSelf`
- [5781](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5781) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) Modify
- [5782](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5782) raises `OnAfterPostUnrealVATEntry`

## PostApply

[Line 5798](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5798).

- [5808](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5808) raises `OnBeforePostApply`
- [5816](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5816) calls `GetApplnRoundPrecision`
- [5818](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5818) calls [Table 382 CV Ledger Entry Buffer](https://jonas-paprotka.de/ref/table/382-cv-ledger-entry-buffer/) `RecalculateAmounts`
- [5821](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5821) raises `OnPostApplyOnAfterRecalculateAmounts`
- [5824](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5824) calls `CalcPmtTolerance`
- [5828](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5828) calls `CalcPmtDisc`
- [5832](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5832) calls `CalcPmtDiscTolerance`
- [5837](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5837) raises `OnBeforeCalcCurrencyApplnRounding`, IsHandled
- [5841](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5841) calls `CalcCurrencyApplnRounding`
- [5845](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5845) raises `OnPostApplyOnAfterCalcCurrencyApplnRounding`, IsHandled
- [5847](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5847) calls `FindAmtForAppln`
- [5851](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5851) raises `OnPostApplyOnAfterFindAmtForApplnOnBeforeCalcCurrencyUnrealizedGainLoss`
- [5855](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5855) calls `CalcCurrencyUnrealizedGainLoss`
- [5858](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5858) calls `CalcCurrencyRealizedGainLoss`
- [5861](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5861) calls `CalcCurrencyRealizedGainLoss`
- [5864](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5864) calls `CalcApplication`
- [5869](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5869) calls [Codeunit 426 Payment Tolerance Management](https://jonas-paprotka.de/ref/codeunit/426-payment-tolerance-management/) `CalcRemainingPmtDisc`
- [5871](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5871) calls `CalcAmtLCYAdjustment`
- [5874](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5874) raises `OnAfterPostApply`

## UnapplyCustLedgEntry

[Line 5888](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5888).

- [5908](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5908) raises `OnBeforeUnapplyCustLedgEntry`, IsHandled
- [5916](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5916) calls `GetSourceCurrency`
- [5918](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5918) calls `StartPosting`
- [5920](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5920) calls `ContinuePosting`
- [5922](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5922) calls `ReadGLSetup`
- [5925](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5925) calls [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `CheckBlockedCustOnJnls`
- [5927](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5927) raises `OnUnapplyCustLedgEntryOnBeforeCheckPostingGroup`
- [5929](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5929) calls `GetCustomerReceivablesAccount`
- [5940](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5940) raises `OnUnapplyCustLedgEntryOnAfterGetNextDtldLedgEntryNo`
- [5949](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5949) calls `CheckDetCustLedgEntryMultiplePostingGrOnBeforeUnapply`
- [5951](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5951) raises `OnUnapplyCustLedgEntryOnAfterDtldCustLedgEntrySetFilters`
- [5957](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5957) calls `IsVATAdjustment`
- [5960](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5960) calls `IsVATExcluded`
- [5966](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5966) raises `OnUnapplyCustLedgEntryOnBeforePostUnapply`
- [5968](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5968) calls `PostUnapply`
- [5972](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5972) raises `OnUnapplyCustLedgEntryOnAfterPostUnapply`
- [5974](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5974) calls `ProcessTempVATEntryCust`
- [5977](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5977) calls `ProcessTempVATEntryCust`
- [5979](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5979) calls `ProcessTempVATEntryCust`
- [5990](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5990) raises `OnOnUnapplyCustLedgEntryOnBeforeSecondLook`
- [5992](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5992) writes [Table 385 Dimension Posting Buffer](https://jonas-paprotka.de/ref/table/385-dimension-posting-buffer/) DeleteAll
- [5995](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5995) raises `OnOnUnapplyCustLedgEntryOnBeforeProcessDetailedCustLedgEntry2InLoop`, IsHandled
- [5997](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5997) calls `CheckDetailedCustLedgEntryUnapply`
- [5998](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L5998) calls `InsertDtldCustLedgEntryUnapply`
- [6003](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6003) raises `OnUnapplyCustLedgEntryOnAfterFillDtldCVLedgEntryBuf`
- [6006](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6006) calls `SetAddCurrForUnapplication`
- [6007](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6007) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `InitRoundingPrecision`
- [6008](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6008) calls `IsVATExcluded`
- [6009](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6009) calls `UnapplyExcludedVAT`
- [6013](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6013) calls `CalcVATAmountFromVATEntry`
- [6016](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6016) raises `OnOnUnapplyCustLedgEntryOnBeforeUpdateTotalAmounts`, IsHandled
- [6018](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6018) calls `UpdateTotalAmounts`
- [6019](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6019) raises `OnUnapplyCustLedgEntryOnAfterUpdateTotals`
- [6024](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6024) calls `CollectAdjustment`
- [6028](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6028) calls `PostDtldCustLedgEntryUnapply`
- [6031](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6031) raises `OnUnapplyCustLedgEntryOnBeforeUpdateDetailedCustLedgEntry`
- [6035](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6035) writes [Table 379 Detailed Cust. Ledg. Entry](https://jonas-paprotka.de/ref/table/379-detailed-cust-ledg-entry/) Modify
- [6037](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6037) raises `OnUnapplyCustLedgEntryOnBeforeUpdateCustLedgEntry`
- [6038](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6038) calls `UpdateCustLedgEntry`
- [6039](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6039) raises `OnUnapplyCustLedgEntryOnAfterUpdateCustLedgEntry`
- [6044](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6044) raises `OnBeforeCreateGLEntriesForTotalAmountsUnapplyV19`, IsHandled
- [6046](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6046) calls `CreateGLEntriesForTotalAmountsUnapply`
- [6047](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6047) calls `GetCustomerReceivablesAccount`
- [6049](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6049) raises `OnUnapplyCustLedgEntryOnAfterCreateGLEntriesForTotalAmounts`
- [6050](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6050) calls `IsTempGLEntryBufEmpty`
- [6051](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6051) calls [Table 379 Detailed Cust. Ledg. Entry](https://jonas-paprotka.de/ref/table/379-detailed-cust-ledg-entry/) `SetZeroTransNo`
- [6052](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6052) calls `CheckPostUnrealizedVAT`
- [6054](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6054) raises `OnUnapplyCustLedgEntryOnBeforeFinishPosting`
- [6055](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6055) calls `FinishPosting`

## CheckDetailedCustLedgEntryUnapply

[Line 6058](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6058), local.

- [6067](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6067) writes [Table 379 Detailed Cust. Ledg. Entry](https://jonas-paprotka.de/ref/table/379-detailed-cust-ledg-entry/) Modify

## UnapplyVendLedgEntry

[Line 6082](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6082).

- [6102](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6102) raises `OnBeforeUnapplyVendLedgEntry`, IsHandled
- [6110](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6110) calls `GetSourceCurrency`
- [6112](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6112) calls `StartPosting`
- [6114](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6114) calls `ContinuePosting`
- [6116](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6116) calls `ReadGLSetup`
- [6119](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6119) calls [Table 23 Vendor](https://jonas-paprotka.de/ref/table/23-vendor/) `CheckBlockedVendOnJnls`
- [6121](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6121) raises `OnUnapplyVendLedgEntryOnBeforeCheckPostingGroup`
- [6122](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6122) calls `GetVendorPostingGroup`
- [6123](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6123) calls [Table 93 Vendor Posting Group](https://jonas-paprotka.de/ref/table/93-vendor-posting-group/) `GetPayablesAccount`
- [6142](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6142) calls `CheckDetVendLedgEntryMultiplePostingGrOnBeforeUnapply`
- [6144](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6144) raises `OnUnapplyVendLedgEntryOnAfterFilterSourceEntries`
- [6150](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6150) calls `IsVATAdjustment`
- [6153](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6153) calls `IsVATExcluded`
- [6159](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6159) raises `OnUnapplyVendLedgEntryOnBeforePostUnapply`
- [6161](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6161) calls `PostUnapply`
- [6165](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6165) raises `OnUnapplyVendLedgEntryOnAfterPostUnapply`
- [6167](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6167) calls `ProcessTempVATEntryVend`
- [6170](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6170) calls `ProcessTempVATEntryVend`
- [6172](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6172) calls `ProcessTempVATEntryVend`
- [6178](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6178) raises `OnUnapplyVendLedgEntryOnBeforeSecondLook`
- [6180](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6180) writes [Table 385 Dimension Posting Buffer](https://jonas-paprotka.de/ref/table/385-dimension-posting-buffer/) DeleteAll
- [6182](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6182) calls `CheckDetailedVendLedgEntryUnapply`
- [6183](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6183) calls `InsertDtldVendLedgEntryUnapply`
- [6187](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6187) raises `OnUnapplyVendLedgEntryOnAfterFillDtldCVLedgEntryBuf`
- [6190](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6190) calls `SetAddCurrForUnapplication`
- [6191](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6191) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `InitRoundingPrecision`
- [6192](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6192) calls `IsVATExcluded`
- [6193](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6193) calls `UnapplyExcludedVAT`
- [6197](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6197) calls `CalcVATAmountFromVATEntry`
- [6200](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6200) raises `OnUnapplyVendLedgEntryOnBeforeUpdateTotalAmounts`, IsHandled
- [6202](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6202) calls `UpdateTotalAmounts`
- [6207](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6207) calls `CollectAdjustment`
- [6211](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6211) calls `PostDtldVendLedgEntryUnapply`
- [6214](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6214) raises `OnUnapplyVendLedgEntryOnBeforeUpdateDetailedVendLedgEntry2`
- [6218](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6218) writes [Table 380 Detailed Vendor Ledg. Entry](https://jonas-paprotka.de/ref/table/380-detailed-vendor-ledg-entry/) Modify
- [6220](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6220) raises `OnUnapplyVendLedgEntryOnBeforeUpdateVendLedgEntry`
- [6221](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6221) calls `UpdateVendLedgEntry`
- [6225](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6225) raises `OnBeforeCreateGLEntriesForTotalAmountsUnapplyVendorV19`, IsHandled
- [6227](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6227) calls `CreateGLEntriesForTotalAmountsUnapply`
- [6227](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6227) calls `GetVendorPayablesAccount`
- [6229](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6229) raises `OnUnapplyVendLedgEntryOnAfterCreateGLEntriesForTotalAmounts`
- [6230](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6230) calls `IsTempGLEntryBufEmpty`
- [6231](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6231) calls [Table 380 Detailed Vendor Ledg. Entry](https://jonas-paprotka.de/ref/table/380-detailed-vendor-ledg-entry/) `SetZeroTransNo`
- [6232](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6232) calls `CheckPostUnrealizedVAT`
- [6234](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6234) calls `FinishPosting`
- [6236](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6236) raises `OnAfterUnapplyVendLedgEntry`

## CheckDetailedVendLedgEntryUnapply

[Line 6239](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6239), local.

- [6248](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6248) writes [Table 380 Detailed Vendor Ledg. Entry](https://jonas-paprotka.de/ref/table/380-detailed-vendor-ledg-entry/) Modify

## UnapplyEmplLedgEntry

[Line 6262](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6262).

- [6278](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6278) raises `OnBeforeUnapplyEmplLedgEntry`, IsHandled
- [6286](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6286) calls `GetSourceCurrency`
- [6288](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6288) calls `StartPosting`
- [6290](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6290) calls `ContinuePosting`
- [6292](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6292) calls `ReadGLSetup`
- [6295](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6295) calls [Table 5200 Employee](https://jonas-paprotka.de/ref/table/5200-employee/) `CheckBlockedEmployeeOnJnls`
- [6297](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6297) calls [Table 5221 Employee Posting Group](https://jonas-paprotka.de/ref/table/5221-employee-posting-group/) `GetPayablesAccount`
- [6315](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6315) calls `CheckDetEmplLedgEntryMultiplePostingGrOnBeforeUnapply`
- [6318](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6318) raises `OnUnapplyEmplLedgEntryOnAfterFilterSourceEntries`
- [6321](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6321) writes [Table 385 Dimension Posting Buffer](https://jonas-paprotka.de/ref/table/385-dimension-posting-buffer/) DeleteAll
- [6324](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6324) calls `UpdateEmployeePostingGroup`
- [6325](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6325) calls `InsertDtldEmplLedgEntryUnapply`
- [6331](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6331) calls `SetAddCurrForUnapplication`
- [6332](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6332) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `InitRoundingPrecision`
- [6334](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6334) raises `OnUnapplyEmplLedgEntryOnBeforeUpdateTotalAmounts`, IsHandled
- [6336](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6336) calls `UpdateTotalAmounts`
- [6341](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6341) calls `CollectAdjustment`
- [6345](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6345) calls `PostDtldEmplLedgEntryUnapply`
- [6350](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6350) writes [Table 5223 Detailed Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5223-detailed-employee-ledger-entry/) Modify
- [6352](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6352) calls `UpdateEmplLedgEntry`
- [6356](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6356) raises `OnBeforeCreateGLEntriesForTotalAmountsUnapplyEmployee`, IsHandled
- [6358](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6358) calls `CreateGLEntriesForTotalAmountsUnapply`
- [6358](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6358) calls `GetEmployeePayablesAccount`
- [6359](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6359) calls `IsTempGLEntryBufEmpty`
- [6360](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6360) calls [Table 5223 Detailed Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5223-detailed-employee-ledger-entry/) `SetZeroTransNo`
- [6362](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6362) calls `FinishPosting`
- [6364](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6364) raises `OnAfterUnapplyEmplLedgEntry`

## UpdateEmployeePostingGroup

[Line 6367](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6367), local.

- [6375](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6375) writes [Table 5223 Detailed Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5223-detailed-employee-ledger-entry/) Modify

## UnapplyExcludedVAT

[Line 6379](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6379), local.

- [6407](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6407) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) Insert

## PostUnrealVATByUnapply

[Line 6411](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6411), local.

- [6417](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6417) raises `OnBeforePostUnrealVATByUnapply`
- [6419](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6419) calls `CalcAddCurrForUnapplication`
- [6420](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6420) calls `CreateGLEntry`
- [6421](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6421) calls `GetPostingAccountNo`
- [6422](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6422) calls `CalcAmountSrcCurr`
- [6424](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6424) calls `CreateGLEntryFromVATEntry`
- [6425](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6425) calls `GetPostingAccountNo`
- [6434](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6434) raises `OnPostUnrealVATByUnapplyOnBeforeVATEntryModify`
- [6435](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6435) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) Modify
- [6437](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6437) raises `OnAfterPostUnrealVATByUnapply`

## PostPmtDiscountVATByUnapply

[Line 6442](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6442), local.

- [6446](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6446) raises `OnBeforePostPmtDiscountVATByUnapply`
- [6448](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6448) calls `CalcAddCurrForUnapplication`
- [6449](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6449) calls `CreateGLEntry`
- [6451](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6451) calls `CalcAmountSrcCurr`
- [6452](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6452) calls `CreateGLEntry`
- [6454](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6454) calls `CalcAmountSrcCurr`
- [6456](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6456) raises `OnAfterPostPmtDiscountVATByUnapply`

## PostUnapply

[Line 6459](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6459), local.

- [6469](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6469) raises `OnBeforePostUnapply`, IsHandled
- [6478](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6478) raises `OnPostUnapplyOnAfterVATEntrySetFilters`
- [6482](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6482) raises `OnPostUnapplyOnBeforeUnapplyVATEntry`
- [6484](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6484) raises `OnPostUnapplyOnBeforeInsertTempVATEntry`
- [6485](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6485) calls `InsertTempVATEntry`
- [6492](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6492) calls `PostUnrealVATByUnapply`
- [6495](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6495) calls `PostUnrealVATByUnapply`
- [6496](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6496) calls `CreateGLEntry`
- [6497](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6497) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetRevChargeAccount`
- [6498](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6498) calls `CalcAddCurrForUnapplication`
- [6499](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6499) calls `CalcAmountSrcCurr`
- [6500](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6500) calls `CreateGLEntry`
- [6501](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6501) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetRevChargeAccount`
- [6502](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6502) calls `CalcAddCurrForUnapplication`
- [6503](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6503) calls `CalcAmountSrcCurr`
- [6505](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6505) calls `PostUnrealVATByUnapply`
- [6509](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6509) raises `OnPostUnapplyOnBeforeVATEntryInsert`
- [6510](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6510) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) Insert
- [6511](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6511) raises `OnPostUnapplyOnAfterVATEntryInsert`
- [6513](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6513) calls [Table 253 G/L Entry - VAT Entry Link](https://jonas-paprotka.de/ref/table/253-g-l-entry-vat-entry-link/) `InsertLinkSelf`
- [6515](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6515) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) Delete
- [6516](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6516) calls `IncrNextVATEntryNo`
- [6518](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6518) calls `IsNotPayment`
- [6525](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6525) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetSalesAccount`
- [6527](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6527) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`
- [6529](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6529) calls `PostPmtDiscountVATByUnapply`
- [6529](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6529) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetRevChargeAccount`

## CalcAddCurrForUnapplication

[Line 6535](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6535), local.

- [6548](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6548) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtLCYToFCY`
- [6549](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6549) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeRate`

## CalcVATAmountFromVATEntry

[Line 6553](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6553), local.

- [6557](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6557) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) Delete
- [6563](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6563) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `VATRoundingDirection`
- [6566](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6566) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) Modify

## InsertDtldCustLedgEntryUnapply

[Line 6570](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6570), local.

- [6590](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6590) raises `OnBeforeInsertDtldCustLedgEntryUnapply`
- [6591](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6591) writes [Table 379 Detailed Cust. Ledg. Entry](https://jonas-paprotka.de/ref/table/379-detailed-cust-ledg-entry/) Insert(true)
- [6594](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6594) raises `OnAfterInsertDtldCustLedgEntryUnapply`

## InsertDtldVendLedgEntryUnapply

[Line 6597](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6597), local.

- [6617](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6617) raises `OnBeforeInsertDtldVendLedgEntryUnapply`
- [6618](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6618) writes [Table 380 Detailed Vendor Ledg. Entry](https://jonas-paprotka.de/ref/table/380-detailed-vendor-ledg-entry/) Insert(true)
- [6620](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6620) raises `OnAfterInsertDtldVendLedgEntryUnapply`

## InsertDtldEmplLedgEntryUnapply

[Line 6623](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6623), local.

- [6643](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6643) raises `OnBeforeInsertDtldEmplLedgEntryUnapply`
- [6644](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6644) writes [Table 5223 Detailed Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5223-detailed-employee-ledger-entry/) Insert(true)

## InsertTempVATEntry

[Line 6648](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6648), local.

- [6655](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6655) calls [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) `CopyAmountsFromVATEntry`
- [6664](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6664) raises `OnInsertTempVATEntryOnBeforeInsert`
- [6665](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6665) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) Insert

## SetGLAccountNoInVATEntries

[Line 6668](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6668), local.

- [6674](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6674) calls [Table 253 G/L Entry - VAT Entry Link](https://jonas-paprotka.de/ref/table/253-g-l-entry-vat-entry-link/) `InsertLinkSelf`
- [6677](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6677) writes [Table 253 G/L Entry - VAT Entry Link](https://jonas-paprotka.de/ref/table/253-g-l-entry-vat-entry-link/) DeleteAll

## ProcessTempVATEntry

[Line 6680](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6680), local.

- [6731](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6731) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) Rename
- [6733](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6733) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) Rename
- [6735](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6735) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) Rename

## ProcessTempVATEntryCust

[Line 6759](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6759), local.

- [6769](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6769) calls `ProcessTempVATEntry`
- [6770](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6770) raises `OnProcessTempVATEntryCustOnAfterProcessTempVATEntry`

## ProcessTempVATEntryVend

[Line 6774](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6774), local.

- [6783](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6783) calls `ProcessTempVATEntry`

## UpdateCustLedgEntry

[Line 6787](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6787), local.

- [6811](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6811) raises `OnBeforeCustLedgEntryModify`
- [6812](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6812) writes [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) Modify
- [6814](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6814) raises `OnAfterUpdateCustLedgEntry`

## UpdateVendLedgEntry

[Line 6817](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6817), local.

- [6841](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6841) raises `OnBeforeVendLedgEntryModify`
- [6842](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6842) writes [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) Modify
- [6844](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6844) raises `OnAfterUpdateVendLedgEntry`

## UpdateEmplLedgEntry

[Line 6847](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6847), local.

- [6865](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6865) raises `OnBeforeEmplLedgEntryModify`
- [6866](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6866) writes [Table 5222 Employee Ledger Entry](https://jonas-paprotka.de/ref/table/5222-employee-ledger-entry/) Modify

## UpdateCalcInterest

[Line 6869](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6869), local.

- [6880](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6880) raises `OnUpdateCalcInterestOnAfterCustLedgEntrySetFilters`

## GLCalcAddCurrency

[Line 6904](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6904).

- [6915](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6915) raises `OnGLCalcAddCurrencyPostingNone`, IsHandled
- [6918](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6918) calls `ExchangeAmtLCYToFCY2`

## HandleAddCurrResidualGLEntry

[Line 6923](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6923), local.

- [6936](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6936) calls `CheckNonAddCurrCodeOccurred`
- [6939](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6939) calls [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) `CopyFromGenJnlLine`
- [6964](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6964) raises `OnHandleAddCurrResidualGLEntryOnBeforeInsertGLEntry`, IsHandled
- [6966](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6966) calls `InsertGLEntry`
- [6968](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6968) calls `CheckGLAccDimError`
- [6973](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6973) raises `OnAfterHandleAddCurrResidualGLEntry`

## CalcLCYToAddCurr

[Line 6984](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6984).

- [6989](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6989) calls `ExchangeAmtLCYToFCY2`

## GetCurrencyExchRate

[Line 6992](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6992), local.

- [6998](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L6998) raises `OnBeforeGetCurrencyExchRate`, IsHandled
- [7012](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7012) raises `OnGetCurrencyExchRateOnAfterSetNewCurrencyDate`
- [7019](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7019) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeRate`
- [7029](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7029) raises `OnAfterGetCurrencyExchRate`

## ExchangeAmtLCYToFCY2

[Line 7037](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7037).

- [7042](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7042) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtLCYToFCYOnlyFactor`
- [7046](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7046) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtLCYToFCY`

## InsertVATEntriesFromTemp

[Line 7088](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7088), local.

- [7124](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7124) raises `OnInsertVATEntriesFromTempOnBeforeVATEntryInsert`
- [7125](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7125) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) Insert(true)
- [7128](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7128) calls [Table 253 G/L Entry - VAT Entry Link](https://jonas-paprotka.de/ref/table/253-g-l-entry-vat-entry-link/) `InsertLinkSelf`
- [7135](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7135) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) DeleteAll

## GetApplnRoundPrecision

[Line 7151](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7151), local.

- [7158](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7158) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `Initialize`
- [7162](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7162) calls `GetGLSetup`

## GetGLSetup

[Line 7170](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7170).

- [7179](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7179) raises `OnAfterGetGLSetup`

## CheckSalesExtDocNo

[Line 7200](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7200), local.

- [7206](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7206) raises `OnBeforeCheckSalesExtDocNo`, IsHandled

## CheckPurchExtDocNo

[Line 7223](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7223), local.

- [7231](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7231) raises `OnBeforeCheckPurchExtDocNoProcedure`, IsHandled
- [7241](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7241) calls [Codeunit 1312 Vendor Mgt.](https://jonas-paprotka.de/ref/codeunit/1312-vendor-mgt/) `SetFilterForExternalDocNo`

## CheckDimValueForDisposal

[Line 7259](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7259).

- [7267](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7267) raises `OnBeforeCheckDimValueForDisposal`, IsHandled
- [7273](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7273) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `TypeToTableID1`
- [7275](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7275) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `CheckDimValuePosting`
- [7276](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7276) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetDimValuePostingErr`

## CheckGLAccDimError

[Line 7308](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7308).

- [7316](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7316) raises `OnBeforeCheckGLAccDimError`, IsHandled
- [7319](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7319) calls `IsGainLossAccount`
- [7324](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7324) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `CheckDimValuePosting`
- [7325](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7325) raises `OnAfterCheckGLAccDimError`
- [7333](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7333) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetDimValuePostingErr`
- [7335](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7335) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetDimValuePostingErr`

## CheckGLAccDirectPosting

[Line 7366](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7366), local.

- [7371](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7371) raises `OnBeforeCheckGLAccDirectPosting`, IsHandled

## GetSourceCurrency

[Line 7407](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7407), local.

- [7412](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7412) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `InitRoundingPrecision`

## CollectAdjustment

[Line 7430](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7430).

- [7434](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7434) calls `GetAdjAmountOffset`

## HandleDtldAdjustment

[Line 7449](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7449).

- [7453](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7453) calls `PostDtldAdjustment`
- [7456](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7456) calls `GetAdjAmountOffset`
- [7459](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7459) raises `OnHandleDtldAdjustmentOnBeforeInitGLEntry`, IsHandled
- [7462](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7462) calls `InitGLEntry`
- [7465](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7465) calls `InitGLEntry`

## PostDtldAdjustment

[Line 7470](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7470), local.

- [7479](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7479) raises `OnPostDtldAdjustmentOnBeforeCreateGLEntryBalAcc`, IsHandled
- [7482](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7482) calls `CreateGLEntryBalAcc`
- [7487](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7487) calls `InitGLEntry`

## IncrNextVATEntryNo

[Line 7545](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7545).

- [7550](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7550) raises `OnBeforeIncrNextVATEntryNo`, IsHandled

## IncrNextEntryNo

[Line 7562](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7562).

- [7567](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7567) raises `OnBeforeIncrNextEntryNo`, IsHandled

## IsNotPayment

[Line 7573](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7573), local.

- [7580](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7580) raises `OnAfterIsNotPayment`

## UpdateVATEntryTaxDetails

[Line 7610](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7610), local.

- [7621](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7621) raises `OnAfterUpdateVATEntryTaxDetails`

## UpdateTotalAmounts

[Line 7649](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7649).

- [7653](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7653) raises `OnBeforeUpdateTotalAmountsV19`, IsHandled
- [7663](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7663) writes [Table 385 Dimension Posting Buffer](https://jonas-paprotka.de/ref/table/385-dimension-posting-buffer/) Modify
- [7669](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7669) writes [Table 385 Dimension Posting Buffer](https://jonas-paprotka.de/ref/table/385-dimension-posting-buffer/) Insert
- [7671](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7671) raises `OnAfterUpdateTotalAmounts`

## CreateGLEntriesForTotalAmountsUnapply

[Line 7674](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7674), local.

- [7680](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7680) raises `OnBeforeCreateGLEntriesForTotalAmountsUnapplyProcedure`, IsHandled
- [7691](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7691) raises `OnCreateGLEntriesForTotalAmountsUnapplyOnBeforeUpdateGenJnlLineDim`, IsHandled
- [7693](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7693) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `UpdateGenJnlLineDim`
- [7694](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7694) raises `OnCreateGLEntriesForTotalAmountsUnapplyOnBeforeCreateGLEntryV19`
- [7695](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7695) calls `CreateGLEntry`

## CreateGLEntriesForTotalAmounts

[Line 7701](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7701), local.

- [7708](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7708) raises `OnBeforeCreateGLEntriesForTotalAmountsV19`, IsHandled
- [7719](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7719) raises `OnCreateGLEntriesForTotalAmountsOnBeforeUpdateGenJnlLineDim`, IsHandled
- [7721](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7721) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `UpdateGenJnlLineDim`
- [7722](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7722) raises `OnBeforeCreateGLEntryForTotalAmountsForDimPostBuf`
- [7723](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7723) calls `CreateGLEntryForTotalAmounts`
- [7728](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7728) calls `CreateGLEntryForTotalAmounts`

## CreateGLEntryForTotalAmounts

[Line 7731](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7731), local.

- [7736](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7736) calls `HandleDtldAdjustment`
- [7739](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7739) calls `UpdateGLEntryNo`
- [7742](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7742) raises `OnCreateGLEntryForTotalAmountsOnBeforeInsertGLEntry`, IsHandled
- [7746](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7746) calls `InsertGLEntry`

## CreateAndPostDerogEntry

[Line 7755](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7755), local.

- [7770](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7770) calls [Codeunit 5632 FA Jnl.-Post Line](https://jonas-paprotka.de/ref/codeunit/5632-fa-jnl-post-line/) `GenJnlPostLineContinue`
- [7772](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7772) calls [Codeunit 5632 FA Jnl.-Post Line](https://jonas-paprotka.de/ref/codeunit/5632-fa-jnl-post-line/) `GetLastSourceFALedgerEntry`
- [7775](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7775) calls [Codeunit 5632 FA Jnl.-Post Line](https://jonas-paprotka.de/ref/codeunit/5632-fa-jnl-post-line/) `InsertBalAcc`
- [7778](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7778) validates [Table 5621 FA Journal Line](https://jonas-paprotka.de/ref/table/5621-fa-journal-line/) `Depreciation Book Code`
- [7779](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7779) calls [Codeunit 5632 FA Jnl.-Post Line](https://jonas-paprotka.de/ref/codeunit/5632-fa-jnl-post-line/) `FAJnlPostLine`

## SetAddCurrForUnapplication

[Line 7790](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7790).

- [7802](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7802) calls `CalcAddCurrForUnapplication`

## CheckCustMultiplePostingGroups

[Line 7813](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7813).

- [7820](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7820) raises `OnBeforeCheckCustMultiplePostingGroups`, IsHandled

## CheckVendMultiplePostingGroups

[Line 7844](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7844).

- [7851](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7851) raises `OnBeforeCheckVendMultiplePostingGroups`, IsHandled

## CheckDetCustLedgEntryMultiplePostingGrOnBeforeUnapply

[Line 7893](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7893), local.

- [7898](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7898) raises `OnBeforeCheckDetCustLedgEntryMultiplePostingGrOnBeforeUnapply`, IsHandled

## CheckDetVendLedgEntryMultiplePostingGrOnBeforeUnapply

[Line 7911](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7911), local.

- [7916](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7916) raises `OnBeforeCheckDetVendLedgEntryMultiplePostingGrOnBeforeUnapply`, IsHandled

## PostDeferral

[Line 7940](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7940), local.

- [7965](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7965) raises `OnBeforePostDeferral`, IsHandled
- [7973](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7973) calls `PostDeferralPostBuffer`
- [7979](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7979) calls [Codeunit 1720 Deferral Utilities](https://jonas-paprotka.de/ref/codeunit/1720-deferral-utilities/) `FilterDeferralLines`
- [7989](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7989) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToLCY`
- [7990](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7990) writes [Table 1701 Deferral Header](https://jonas-paprotka.de/ref/table/1701-deferral-header/) Modify
- [7991](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L7991) calls [Codeunit 1720 Deferral Utilities](https://jonas-paprotka.de/ref/codeunit/1720-deferral-utilities/) `RoundDeferralAmount`
- [8003](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8003) calls [Codeunit 1720 Deferral Utilities](https://jonas-paprotka.de/ref/codeunit/1720-deferral-utilities/) `FilterDeferralLines`
- [8008](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8008) calls `GetGeneralDeferralSourceCode`
- [8009](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8009) calls `InitGLEntry`
- [8011](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8011) calls `CalcAmountSrcCurr`
- [8012](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8012) calls `SetDeferralDescription`
- [8014](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8014) raises `OnPostDeferralOnBeforeInsertGLEntryForGLAccount`
- [8015](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8015) calls `InsertGLEntry`
- [8017](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8017) calls `InitGLEntry`
- [8019](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8019) calls `CalcAmountSrcCurr`
- [8020](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8020) calls `SetDeferralDescription`
- [8022](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8022) raises `OnPostDeferralOnBeforeInsertGLEntryForDeferralAccount`
- [8023](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8023) calls `InsertGLEntry`
- [8025](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8025) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `GetNonDeductibleVATPct`
- [8026](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8026) raises `OnPostDeferralOnAfterGetNonDeductibleVATPct`
- [8027](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8027) calls [Table 1706 Deferral Posting Buffer](https://jonas-paprotka.de/ref/table/1706-deferral-posting-buffer/) `InitFromDeferralLine`
- [8031](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8031) calls `SetDeferralDescriptionFromDeferralLine`
- [8034](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8034) calls `InsertDeferralNonDeductibleVATGLEntries`
- [8046](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8046) writes [Table 1702 Deferral Line](https://jonas-paprotka.de/ref/table/1702-deferral-line/) Insert
- [8052](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8052) calls `CheckDeferralPostingDate`
- [8054](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8054) calls `InitGLEntry`
- [8056](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8056) calls `CalcAmountSrcCurr`
- [8058](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8058) calls `SetDeferralDescriptionFromDeferralLine`
- [8060](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8060) raises `OnPostDeferralOnBeforeInsertGLEntryDeferralLineForGLAccount`
- [8061](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8061) calls `InsertGLEntry`
- [8063](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8063) calls `InitGLEntry`
- [8065](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8065) calls `CalcAmountSrcCurr`
- [8067](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8067) calls `SetDeferralDescriptionFromDeferralLine`
- [8069](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8069) raises `OnPostDeferralOnBeforeInsertGLEntryDeferralLineForDeferralAccount`
- [8070](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8070) calls `InsertGLEntry`
- [8072](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8072) calls [Table 1706 Deferral Posting Buffer](https://jonas-paprotka.de/ref/table/1706-deferral-posting-buffer/) `InitFromDeferralLine`
- [8075](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8075) calls `SetDeferralDescriptionFromDeferralLine`
- [8076](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8076) calls `InsertDeferralNonDeductibleVATGLEntries`
- [8081](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8081) raises `OnPostDeferralOnAfterInsertGLEntry`
- [8083](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8083) raises `OnPostDeferralOnAfterTempDeferralLineLoopCompleted`
- [8087](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8087) raises `OnAfterPostDeferral`

## CheckDeferralPostingDate

[Line 8090](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8090), local.

- [8095](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8095) raises `OnBeforeCheckDeferralPostDate`, IsHandled
- [8098](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8098) calls [Codeunit 1720 Deferral Utilities](https://jonas-paprotka.de/ref/codeunit/1720-deferral-utilities/) `IsDateNotAllowed`

## PostDeferralPostBuffer

[Line 8102](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8102), local.

- [8118](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8118) raises `OnBeforePostDeferralPostBuffer`, IsHandled
- [8122](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8122) calls `GetSalesDeferralSourceCode`
- [8125](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8125) calls `GetPurchaseDeferralSourceCode`
- [8130](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8130) raises `OnPostDeferralPostBufferOnAfterSetFilters`
- [8132](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8132) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `GetNonDeductibleVATPct`
- [8136](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8136) raises `OnPostDeferralPostBufferOnAfterFindDeferalPostingBuffer`
- [8139](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8139) raises `OnPostDeferralPostBufferOnAfterSetPostDate`, IsHandled
- [8141](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8141) calls [Codeunit 1720 Deferral Utilities](https://jonas-paprotka.de/ref/codeunit/1720-deferral-utilities/) `IsDateNotAllowed`
- [8145](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8145) calls `InitGLEntry`
- [8148](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8148) calls `CalcAmountSrcCurr`
- [8150](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8150) calls `SetDeferralDescriptionFromDeferralPostingBuffer`
- [8151](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8151) calls [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) `CopyFromDeferralPostBuffer`
- [8152](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8152) calls `IsNonDeferredRemainderEntry`
- [8156](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8156) raises `OnPostDeferralPostBufferOnBeforeInsertGLEntryForGLAccount`
- [8157](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8157) calls `InsertGLEntry`
- [8160](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8160) calls `InitGLEntry`
- [8163](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8163) calls `CalcAmountSrcCurr`
- [8165](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8165) calls `SetDeferralDescriptionFromDeferralPostingBuffer`
- [8167](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8167) raises `OnPostDeferralPostBufferOnBeforeInsertGLEntryForDeferralAccount`
- [8168](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8168) calls `InsertGLEntry`
- [8169](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8169) raises `OnPostDeferralPostBufferOnAfterInsertGLEntry`
- [8171](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8171) calls `InsertDeferralNonDeductibleVATGLEntries`
- [8175](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8175) raises `OnPostDeferralPosBufferOnBeforeDeleteDeferralPostBuffer`
- [8176](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8176) writes [Table 1706 Deferral Posting Buffer](https://jonas-paprotka.de/ref/table/1706-deferral-posting-buffer/) DeleteAll
- [8180](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8180) raises `OnAfterPostDeferralPostBuffer`

## RemoveDeferralSchedule

[Line 8190](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8190).

- [8195](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8195) calls [Codeunit 1720 Deferral Utilities](https://jonas-paprotka.de/ref/codeunit/1720-deferral-utilities/) `DeferralCodeOnDelete`

## InsertDeferralNonDeductibleVATGLEntries

[Line 8200](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8200), local.

- [8219](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8219) raises `OnBeforeInsertDeferralNonDeductibleVATGLEntries`, IsHandled
- [8226](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8226) raises `OnBeforeInsertDeferralNonDeductibleVATGLEntries2`, IsHandled
- [8250](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8250) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `GetNonDeductibleAmount`
- [8262](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8262) calls `InitGLEntry`
- [8264](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8264) calls `CalcAmountSrcCurr`
- [8267](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8267) calls [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) `CopyFromDeferralPostBuffer`
- [8268](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8268) calls `InsertGLEntry`
- [8270](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8270) calls `InitGLEntry`
- [8271](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8271) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `GetNonDeductibleVATAccForDeferrals`
- [8273](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8273) calls `CalcAmountSrcCurr`
- [8276](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8276) calls [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) `CopyFromDeferralPostBuffer`
- [8277](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8277) calls `InsertGLEntry`

## GetJournalsSourceCode

[Line 8280](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8280), local.

- [8282](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8282) calls `GetSourceCodeSetup`
- [8287](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8287) raises `OnAfterGetJournalsSourceCode`

## GetGeneralDeferralSourceCode

[Line 8290](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8290), local.

- [8292](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8292) calls `GetSourceCodeSetup`

## GetSalesDeferralSourceCode

[Line 8297](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8297), local.

- [8299](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8299) calls `GetSourceCodeSetup`

## GetPurchaseDeferralSourceCode

[Line 8304](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8304), local.

- [8306](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8306) calls `GetSourceCodeSetup`

## DeferralPosting

[Line 8311](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8311).

- [8317](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8317) raises `OnBeforeDeferralPosting`, IsHandled
- [8325](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8325) calls `PostDeferralPostBuffer`
- [8329](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8329) calls `PostDeferral`
- [8330](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8330) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUptake`
- [8331](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8331) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUsage`

## SetDeferralDescription

[Line 8335](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8335), local.

- [8342](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8342) raises `OnBeforeSetDeferralDescription`, IsHandled
- [8348](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8348) calls `CheckDescriptionForGL`

## SetDeferralDescriptionFromDeferralLine

[Line 8353](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8353), local.

- [8360](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8360) raises `OnBeforeSetDeferralDescriptionFromDeferralLine`, IsHandled
- [8366](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8366) calls `CheckDescriptionForGL`

## SetDeferralDescriptionFromDeferralPostingBuffer

[Line 8371](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8371), local.

- [8378](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8378) raises `OnBeforeSetDeferralDescriptionFromDeferralPostingBuffer`, IsHandled
- [8384](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8384) calls `CheckDescriptionForGL`

## SetPostingDimensions

[Line 8389](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8389), local.

- [8404](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8404) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `AddDimSource`
- [8405](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8405) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `TypeToTableID1`
- [8406](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8406) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Dimension Set ID`
- [8407](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8407) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetRecDefaultDimID`

## GetPostingAccountNo

[Line 8414](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8414), local.

- [8423](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8423) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetSalesAccount`
- [8427](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8427) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetRevChargeAccount`
- [8428](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8428) calls [Table 320 Tax Jurisdiction](https://jonas-paprotka.de/ref/table/320-tax-jurisdiction/) `GetPurchAccount`
- [8434](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8434) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetSalesAccount`
- [8436](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8436) calls [Table 325 VAT Posting Setup](https://jonas-paprotka.de/ref/table/325-vat-posting-setup/) `GetPurchAccount`

## GetVendorPostingGroup

[Line 8464](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8464), local.

- [8467](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8467) raises `OnAfterGetVendorPostingGroup`

## GetCustomerPostingGroup

[Line 8470](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8470), local.

- [8473](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8473) raises `OnAfterGetCustomerPostingGroup`

## GetCustomerReceivablesAccount

[Line 8476](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8476), local.

- [8481](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8481) raises `OnBeforeGetCustomerReceivablesAccount`, IsHandled
- [8483](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8483) calls [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `GetReceivablesAccount`
- [8484](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8484) raises `OnAfterGetCustomerReceivablesAccount`

## GetVendorPayablesAccount

[Line 8487](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8487), local.

- [8489](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8489) calls [Table 93 Vendor Posting Group](https://jonas-paprotka.de/ref/table/93-vendor-posting-group/) `GetPayablesAccount`
- [8490](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8490) raises `OnAfterGetVendorPayablesAccount`

## GetEmployeePayablesAccount

[Line 8493](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8493), local.

- [8495](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8495) calls [Table 5221 Employee Posting Group](https://jonas-paprotka.de/ref/table/5221-employee-posting-group/) `GetPayablesAccount`
- [8496](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8496) raises `OnAfterGetEmployeePayablesAccount`

## GetVendorPayablesAccount2

[Line 8544](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8544), local.

- [8550](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8550) calls `GetVendDtldCVLedgEntryBufferAccNo`
- [8552](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8552) calls `GetVendorPayablesAccount`
- [8554](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8554) calls `GetVendorPayablesAccount`

## PostFAGLPostingBuffer

[Line 8557](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8557), local.

- [8569](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8569) writes [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) Modify
- [8581](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8581) calls `InitGLEntry`
- [8583](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8583) calls `CalcAmountSrcCurr`
- [8589](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8589) calls `InitGLEntry`
- [8591](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8591) calls `CalcAmountSrcCurr`
- [8593](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8593) calls `CheckNonAddCurrCodeOccurred`
- [8594](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8594) calls `InitGLEntry`
- [8596](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8596) calls `CalcAmountSrcCurr`
- [8599](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8599) calls [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) `CopyPostingGroupsFromGLEntry`
- [8607](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8607) calls [Codeunit 5607 FA Automatic Entry](https://jonas-paprotka.de/ref/codeunit/5607-fa-automatic-entry/) `AdjustGLEntry`
- [8610](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8610) calls `InsertGLEntry`

## IsApplicableCurrencyCodeNeeded

[Line 8629](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8629), local.

- [8633](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8633) calls `IsCustApplnBetweenCurrencies`

## IsCustApplnBetweenCurrencies

[Line 8639](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8639), local.

- [8644](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8644) calls [Table 311 Sales & Receivables Setup](https://jonas-paprotka.de/ref/table/311-sales-receivables-setup/) `GetRecordOnce`

## GetPaymentDiscountVATExclNonDedVATAccountNo

[Line 8648](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8648), local.

- [8654](https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/source/#L8654) calls [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `GetPurchPmtDiscountAccount`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 6db4b18d1676c984833b094fda95694836e0bae3.

JOP-AL, 2026-11-19.
