---
title: "Codeunit 5624 Cancel FA Ledger Entries, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/points/
object: https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/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 5624 Cancel FA Ledger Entries, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/points/

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

## TransferLine

[Line 46](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L46).

- [62](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L62) raises `OnTransferLineOnBeforeIndexGLIntegration`, IsHandled
- [64](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L64) calls [Table 5611 Depreciation Book](https://jonas-paprotka.de/ref/table/5611-depreciation-book/) `IndexGLIntegration`
- [65](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L65) calls `CheckType`
- [71](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L71) raises `OnTransferLineOnBeforeInsertJnlLine`, IsHandled
- [73](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L73) calls [Table 5601 FA Ledger Entry](https://jonas-paprotka.de/ref/table/5601-fa-ledger-entry/) `ConvertPostingType`
- [74](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L74) calls `InsertGenJnlLine`
- [76](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L76) calls `InsertFAJnlLine`

## CheckType

[Line 84](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L84), local.

- [89](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L89) raises `OnBeforeCheckType`, IsHandled

## InsertFAJnlLine

[Line 104](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L104).

- [110](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L110) calls [Table 5605 FA Journal Setup](https://jonas-paprotka.de/ref/table/5605-fa-journal-setup/) `FAJnlName`
- [113](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L113) calls [Table 5605 FA Journal Setup](https://jonas-paprotka.de/ref/table/5605-fa-journal-setup/) `GetFAJnlDocumentNo`
- [116](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L116) calls [Table 5601 FA Ledger Entry](https://jonas-paprotka.de/ref/table/5601-fa-ledger-entry/) `MoveToFAJnl`
- [124](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L124) calls [Table 5605 FA Journal Setup](https://jonas-paprotka.de/ref/table/5605-fa-journal-setup/) `GetFANoSeries`
- [125](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L125) validates [Table 5621 FA Journal Line](https://jonas-paprotka.de/ref/table/5621-fa-journal-line/) `Amount`
- [126](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L126) validates [Table 5621 FA Journal Line](https://jonas-paprotka.de/ref/table/5621-fa-journal-line/) `Correction`
- [128](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L128) raises `OnBeforeFAJnlLineInsert`
- [129](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L129) writes [Table 5621 FA Journal Line](https://jonas-paprotka.de/ref/table/5621-fa-journal-line/) Insert(true)
- [131](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L131) raises `OnAfterInsertFAJnlLine`

## InsertGenJnlLine

[Line 134](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L134).

- [142](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L142) calls [Table 5605 FA Journal Setup](https://jonas-paprotka.de/ref/table/5605-fa-journal-setup/) `GenJnlName`
- [145](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L145) calls [Table 5605 FA Journal Setup](https://jonas-paprotka.de/ref/table/5605-fa-journal-setup/) `GetGenJnlDocumentNo`
- [148](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L148) calls [Table 5601 FA Ledger Entry](https://jonas-paprotka.de/ref/table/5601-fa-ledger-entry/) `MoveToGenJnl`
- [156](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L156) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Amount`
- [157](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L157) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Correction`
- [158](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L158) calls [Table 5605 FA Journal Setup](https://jonas-paprotka.de/ref/table/5605-fa-journal-setup/) `GetGenNoSeries`
- [160](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L160) raises `OnBeforeGenJnlLineInsert`
- [161](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L161) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) Insert(true)
- [163](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L163) calls [Codeunit 5601 FA Insert G/L Account](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/) `GetBalAcc`
- [165](https://jonas-paprotka.de/ref/codeunit/5624-cancel-fa-ledger-entries/source/#L165) raises `OnAfterInsertGenJnlLine`

## Source

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

JOP-AL, 2026-11-20.
