---
title: "Codeunit 5613 Calculate Acq. Cost Depr., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5613-calculate-acq-cost-depr/points/
object: https://jonas-paprotka.de/ref/codeunit/5613-calculate-acq-cost-depr/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5613-calculate-acq-cost-depr/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 5613 Calculate Acq. Cost Depr., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5613-calculate-acq-cost-depr/points/

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

## DeprCalc

[Line 26](https://jonas-paprotka.de/ref/codeunit/5613-calculate-acq-cost-depr/source/#L26).

- [35](https://jonas-paprotka.de/ref/codeunit/5613-calculate-acq-cost-depr/source/#L35) raises `OnBeforeDeprCalc`, IsHandled
- [47](https://jonas-paprotka.de/ref/codeunit/5613-calculate-acq-cost-depr/source/#L47) calls `CreateError`
- [50](https://jonas-paprotka.de/ref/codeunit/5613-calculate-acq-cost-depr/source/#L50) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `CalcRounding`
- [58](https://jonas-paprotka.de/ref/codeunit/5613-calculate-acq-cost-depr/source/#L58) calls `CreateError`
- [61](https://jonas-paprotka.de/ref/codeunit/5613-calculate-acq-cost-depr/source/#L61) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `CalcRounding`

## DerogatoryCalculation

[Line 66](https://jonas-paprotka.de/ref/codeunit/5613-calculate-acq-cost-depr/source/#L66).

- [81](https://jonas-paprotka.de/ref/codeunit/5613-calculate-acq-cost-depr/source/#L81) calls `CreateError`
- [84](https://jonas-paprotka.de/ref/codeunit/5613-calculate-acq-cost-depr/source/#L84) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `CalcRounding`

## CreateError

[Line 88](https://jonas-paprotka.de/ref/codeunit/5613-calculate-acq-cost-depr/source/#L88), local.

- [99](https://jonas-paprotka.de/ref/codeunit/5613-calculate-acq-cost-depr/source/#L99) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `FAName`

## Source

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

JOP-AL, 2026-11-20.
