---
title: "Codeunit 5615 Budget Depreciation, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/points/
object: https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/
checked: 2026-11-20
changed: 2026-10-05
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 5615 Budget Depreciation, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/points/

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

## Calculate

[Line 30](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L30).

- [51](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L51) raises `OnCalculateOnAfterCallNoCheck`, IsHandled
- [62](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L62) calls `CreateMessage`
- [67](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L67) calls [Codeunit 5611 Calculate Normal Depreciation](https://jonas-paprotka.de/ref/codeunit/5611-calculate-normal-depreciation/) `Calculate`
- [70](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L70) calls [Codeunit 5611 Calculate Normal Depreciation](https://jonas-paprotka.de/ref/codeunit/5611-calculate-normal-depreciation/) `Calculate`

## CopyProjectedValueToBudget

[Line 93](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L93).

- [110](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L110) calls `CopyFAToBudget`
- [118](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L118) calls `CopyFAToBudget`

## CopyFAToBudget

[Line 121](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L121).

- [134](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L134) calls [Table 96 G/L Budget Entry](https://jonas-paprotka.de/ref/table/96-g-l-budget-entry/) `GetLastEntryNo`
- [138](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L138) calls [Codeunit 5601 FA Insert G/L Account](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/) `DeleteAllGLAcc`
- [139](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L139) runs [Codeunit 5601 FA Insert G/L Account](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/)
- [141](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L141) calls [Codeunit 5601 FA Insert G/L Account](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/) `InsertBalAcc`
- [142](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L142) calls [Codeunit 5601 FA Insert G/L Account](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/) `FindFirstGLAcc`
- [156](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L156) calls `GetFADefaultDimSetID`
- [157](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L157) calls `UpdateDimCodesFromDimSetID`
- [158](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L158) raises `OnBeforeGLBudgetEntryInsert`
- [159](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L159) writes [Table 96 G/L Budget Entry](https://jonas-paprotka.de/ref/table/96-g-l-budget-entry/) Insert
- [160](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L160) calls [Codeunit 5601 FA Insert G/L Account](https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/) `GetNextGLAcc`

## GetFADefaultDimSetID

[Line 163](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L163), local.

- [178](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L178) writes [Table 36950 Dimension Set Entry](https://jonas-paprotka.de/ref/table/36950-dimension-set-entry/) Insert
- [181](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L181) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetDimensionSetID`

## UpdateDimCodesFromDimSetID

[Line 184](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L184), local.

- [188](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L188) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `UpdateGlobalDimFromDimSetID`
- [189](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L189) calls `UpdateBudgetDimFromDimSetID`
- [190](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L190) calls `UpdateBudgetDimFromDimSetID`
- [191](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L191) calls `UpdateBudgetDimFromDimSetID`
- [192](https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/#L192) calls `UpdateBudgetDimFromDimSetID`

## Source

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

JOP-AL, 2026-11-20.
