---
title: "Codeunit 5601 FA Insert G/L Account, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/points/
object: https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/
checked: 2026-11-20
changed: 2026-10-21
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 5601 FA Insert G/L Account, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/points/

23 procedures and triggers with a step in src/Layers/W1/BaseApp/FixedAssets/FixedAsset/FAInsertGLAccount.Codeunit.al, in source order, read from the text, not from a run.

## OnRun

[Line 20](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L20), trigger.

- [35](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L35) raises `OnBeforeFAInsertGLAccount`, IsHandled
- [42](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L42) calls [Codeunit 5602 FA Get G/L Account No.](https://jonas-paprotka.de/ref/codeunit/5602-fa-get-g-l-account-no/) `GetAccNo`
- [49](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L49) raises `OnAfterCopyFAGLPostBufFromFALederEntry`
- [55](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L55) calls `InsertBufferEntry`
- [58](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L58) calls `CalcDisposalAmount`
- [60](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L60) raises `OnAfterRun`

## InsertMaintenanceAccNo

[Line 97](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L97).

- [100](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L100) calls [Codeunit 5602 FA Get G/L Account No.](https://jonas-paprotka.de/ref/codeunit/5602-fa-get-g-l-account-no/) `GetMaintenanceAccNo`
- [109](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L109) raises `OnInsertMaintenanceAccNoOnBeforeInsertBufferEntry`
- [110](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L110) calls `InsertBufferEntry`
- [113](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L113) raises `OnAfterInsertMaintenanceAccNo`

## InsertBufferBalAcc

[Line 116](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L116).

- [127](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L127) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetPostingGroup`
- [128](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L128) raises `OnInsertBufferBalAccOnAfterGetFAPostingGroup`
- [129](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L129) calls `GetGLAccNoFromFAPostingGroup`
- [133](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L133) raises `OnBeforeFillAllocationBuffer`, IsHandled
- [143](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L143) raises `OnInsertBufferBalAccOnAfterFAAllocSetFilters`
- [150](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L150) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `CalcRounding`
- [157](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L157) calls `SetCombinedDimensionSetID`
- [165](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L165) raises `OnInsertBufferBalAccOnAfterAssignFromFAAllocAcc`
- [167](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L167) calls `InsertBufferEntry`
- [168](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L168) raises `OnInsertBufferBalAccOnAfterInsertBufferEntryFromFAAllocAcc`
- [180](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L180) calls `SetDefaultDimID`
- [183](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L183) raises `OnInsertBufferBalAccOnAfterAssignFromFAPostingGrAcc`
- [185](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L185) calls `InsertBufferEntry`
- [186](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L186) raises `OnInsertBufferBalAccOnAfterInsertBufferEntryFromFAPostingGrAcc`
- [189](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L189) raises `OnAfterInsertBufferBalAcc`

## SetCombinedDimensionSetID

[Line 192](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L192), local.

- [198](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L198) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetCombinedDimensionSetID`
- [201](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L201) raises `OnAfterSetCombinedDimensionSetID`

## SetDefaultDimID

[Line 204](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L204), local.

- [211](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L211) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `AddDimSource`
- [213](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L213) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetDefaultDimID`
- [217](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L217) raises `OnAfterSetDefaultDimID`

## InsertBalAcc

[Line 220](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L220).

- [222](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L222) raises `OnBeforeInsertBalAcc`
- [224](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L224) calls `InsertBufferBalAcc`
- [225](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L225) calls `GetPostingType`
- [227](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L227) raises `OnAfterInsertBalAcc`

## GetPostingType

[Line 230](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L230).

- [236](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L236) raises `OnBeforeGetPostingType`, IsHandled
- [258](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L258) calls [Table 5601 FA Ledger Entry](https://jonas-paprotka.de/ref/table/5601-fa-ledger-entry/) `ConvertPostingType`

## GetBalAccLocal

[Line 262](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L262), local.

- [268](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L268) raises `OnBeforeGetBalAccLocal`
- [269](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L269) writes [Table 5637 FA G/L Posting Buffer](https://jonas-paprotka.de/ref/table/5637-fa-g-l-posting-buffer/) DeleteAll
- [274](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L274) calls `CheckAccountType`
- [282](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L282) raises `OnGetBalAccAfterSaveGenJnlLineFields`
- [285](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L285) calls `InsertBufferBalAcc`
- [286](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L286) calls `GetPostingType`
- [289](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L289) calls `CalculateNoOfEmptyLines`
- [293](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L293) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `FA Posting Type`
- [297](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L297) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Account No.`
- [298](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L298) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Amount`
- [299](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L299) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Depreciation Book Code`
- [305](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L305) raises `OnGetBalAccAfterRestoreGenJnlLineFields`
- [306](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L306) calls `InsertGenJnlLine`
- [307](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L307) raises `OnGetBalAccLocalOnAfterInsertGenJnlLine`
- [309](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L309) writes [Table 5637 FA G/L Posting Buffer](https://jonas-paprotka.de/ref/table/5637-fa-g-l-posting-buffer/) DeleteAll

## CheckAccountType

[Line 323](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L323), local.

- [328](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L328) raises `OnBeforeCheckAccountType`, IsHandled

## GetBalAccBuffer

[Line 335](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L335).

- [339](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L339) calls `GetBalAccLocal`

## GetBalAcc

[Line 342](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L342).

- [344](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L344) calls `GetBalAccLocal`

## GetBalAccWithBalAccountInfo

[Line 354](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L354).

- [358](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L358) calls `GetBalAcc`
- [360](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L360) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Account Type`
- [361](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L361) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Account No.`
- [362](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L362) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) Modify(true)

## GetGLAccNoFromFAPostingGroup

[Line 365](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L365), local.

- [372](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L372) raises `OnBeforeGetGLAccNoFromFAPostingGroup`, IsHandled
- [380](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L380) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetAcquisitionCostBalanceAccount`
- [387](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L387) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetDepreciationExpenseAccount`
- [394](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L394) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetWriteDownExpenseAccount`
- [401](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L401) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetAppreciationBalanceAccount`
- [408](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L408) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetCustom1ExpenseAccount`
- [415](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L415) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetCustom2ExpenseAccount`
- [422](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L422) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetSalesBalanceAccount`
- [429](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L429) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetMaintenanceBalanceAccount`
- [436](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L436) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetGainsAccountOnDisposal`
- [443](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L443) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetLossesAccountOnDisposal`
- [450](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L450) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetBookValueAccountOnDisposalGain`
- [457](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L457) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetBookValueAccountOnDisposalLoss`
- [477](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L477) raises `OnAfterGetGLAccNoFromFAPostingGroup`

## CalculateNoOfEmptyLines

[Line 480](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L480), local.

- [486](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L486) raises `OnBeforeCalculateNoOfEmptyLines`, IsHandled

## InsertGenJnlLine

[Line 508](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L508), local.

- [514](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L514) calls [Table 5605 FA Journal Setup](https://jonas-paprotka.de/ref/table/5605-fa-journal-setup/) `SetGenJnlTrailCodes`
- [515](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L515) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) Insert(true)

## InsertBufferEntry

[Line 518](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L518), local.

- [523](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L523) calls [Table 5637 FA G/L Posting Buffer](https://jonas-paprotka.de/ref/table/5637-fa-g-l-posting-buffer/) `GetLastEntryNo`
- [529](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L529) raises `OnInsertBufferEntryOnBeforeBufferInsert`
- [530](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L530) writes [Table 5637 FA G/L Posting Buffer](https://jonas-paprotka.de/ref/table/5637-fa-g-l-posting-buffer/) Insert

## FindFirstGLAcc

[Line 534](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L534).

- [538](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L538) raises `OnBeforeFindFirstGLAcc`

## DeleteAllGLAcc

[Line 553](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L553).

- [555](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L555) writes [Table 5637 FA G/L Posting Buffer](https://jonas-paprotka.de/ref/table/5637-fa-g-l-posting-buffer/) DeleteAll

## CalcDisposalAmount

[Line 565](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L565), local.

- [570](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L570) raises `OnCalcDisposalAmountOnAfterCalcFields`
- [575](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L575) raises `OnAfterCalcDisposalAmount`

## CorrectEntries

[Line 578](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L578).

- [583](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L583) calls `CorrectDisposalEntry`
- [585](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L585) calls `CorrectBookValueEntry`

## CorrectDisposalEntry

[Line 588](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L588), local.

- [595](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L595) raises `OnCorrectDisposalEntryOnAfterCalcGainLoss`
- [596](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L596) calls `CalcLastDisposal`
- [602](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L602) raises `OnCorrectDisposalEntryOnBeforeSetGainLossAccount`, IsHandled
- [605](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L605) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetSalesAccountOnDisposalGain`
- [607](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L607) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetSalesAccountOnDisposalLoss`
- [608](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L608) raises `OnBeforeTempFAGLPostBufModify`
- [609](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L609) writes [Table 5637 FA G/L Posting Buffer](https://jonas-paprotka.de/ref/table/5637-fa-g-l-posting-buffer/) Modify
- [613](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L613) calls `IdenticalSign`
- [615](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L615) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetSalesAccountOnDisposalGain`
- [615](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L615) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetSalesAccountOnDisposalLoss`
- [618](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L618) raises `OnCorrectDisposalEntryOnAfterCheckIdenticalAccountGainLoss`, IsHandled
- [628](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L628) raises `OnCorrectDisposalEntryNonPositiveGainLossOnBeforeSetAccountGain`, IsHandled
- [630](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L630) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetSalesAccountOnDisposalGain`
- [633](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L633) calls `InsertBufferEntry`
- [636](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L636) raises `OnCorrectDisposalEntryNonPositiveGainLossOnBeforeSetAccountLoss`, IsHandled
- [638](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L638) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetSalesAccountOnDisposalLoss`
- [642](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L642) calls `InsertBufferEntry`
- [645](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L645) raises `OnCorrectDisposalEntryPositiveGainLossOnBeforeSetAccountLoss`, IsHandled
- [647](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L647) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetSalesAccountOnDisposalLoss`
- [650](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L650) calls `InsertBufferEntry`
- [653](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L653) raises `OnCorrectDisposalEntryPositiveGainLossOnBeforeSetAccountGain`, IsHandled
- [655](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L655) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetSalesAccountOnDisposalGain`
- [659](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L659) calls `InsertBufferEntry`

## CorrectBookValueEntry

[Line 663](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L663), local.

- [671](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L671) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `SetFAFilter`
- [675](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L675) raises `OnCorrectBookValueEntryOnAfterSetFilterFALedgEntry`
- [680](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L680) calls `IdenticalSign`
- [684](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L684) raises `OnCorrectBookValueEntryOnAfterCheckIdenticalGainLossAmtSign`, IsHandled
- [688](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L688) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetBookValueAccountOnDisposalGain`
- [688](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L688) calls [Table 5606 FA Posting Group](https://jonas-paprotka.de/ref/table/5606-fa-posting-group/) `GetBookValueAccountOnDisposalLoss`
- [691](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L691) raises `OnCorrectBookValueEntryOnBeforeInsertBufferBalAcc`
- [693](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L693) calls `InsertBufferBalAcc`
- [703](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L703) calls `InsertBufferBalAcc`
- [713](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L713) calls `InsertBufferBalAcc`
- [723](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L723) calls `InsertBufferBalAcc`
- [734](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L734) raises `OnAfterCorrectBookValueEntry`

## CalcLastDisposal

[Line 747](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L747), local.

- [752](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L752) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `SetFAFilter`
- [755](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/source/#L755) raises `OnCalcLastDisposalOnAfterSetFilter`

## Source

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

JOP-AL, 2026-11-20.
