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

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/points/

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

## Calculate

[Line 71](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L71).

- [77](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L77) raises `OnBeforeCalculate`, IsHandled
- [91](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L91) raises `OnAfterGetDeprBooks`
- [114](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L114) calls `TransferValues`
- [115](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L115) calls `SkipRecord`
- [121](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L121) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `GetCustom1Sign`
- [126](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L126) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `GetNewCustom1Signs`
- [136](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L136) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `GetFirstDeprDate`
- [140](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L140) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `UseDeprStartingDate`
- [150](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L150) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `DeprDays`
- [157](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L157) calls `FAName`
- [158](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L158) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `DeprDays`
- [169](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L169) calls `CalcDeprBasis`
- [173](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L173) calls `CalcSLAmount`
- [175](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L175) calls `CalcDB1Amount`
- [177](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L177) calls `CalcDB2Amount`
- [179](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L179) calls `CalcDBSLAmount`
- [184](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L184) calls `CalcCustom1Amount`
- [187](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L187) raises `OnCalculateOnBeforeCalcCustom1DeprAmount`
- [189](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L189) calls `CalcCustom1DeprAmount`
- [190](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L190) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `AdjustCustom1`

## CalcSLAmount

[Line 211](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L211), local.

- [216](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L216) calls `CalcDeprBasis`
- [216](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L216) calls `CalcSLPercent`
- [225](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L225) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `DeprDays`
- [226](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L226) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `Yesterday`
- [228](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L228) raises `OnCalcSLAmountOnAfterSetRemainingLife`

## CalcDBSLAmount

[Line 239](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L239), local.

- [245](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L245) calls `CalcDB1Amount`
- [247](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L247) calls `CalcDB2Amount`
- [250](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L250) calls `CalcSLAmount`

## CalcDB1Amount

[Line 264](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L264), local.

- [269](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L269) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `DeprInFiscalYear`

## CalcCustom1Amount

[Line 277](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L277), local.

- [286](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L286) calls [Codeunit 5618 Table Depr. Calculation](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/) `GetTablePercent`

## CalcSLPercent

[Line 291](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L291), local.

- [306](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L306) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `DeprDays`

## CalcCustom1DeprAmount

[Line 332](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L332), local.

- [334](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L334) calls `CalcCustom1DeprPercent`

## CalcDeprBasis

[Line 337](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L337), local.

- [353](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L353) calls `FAName`

## TransferValues

[Line 361](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L361), local.

- [372](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L372) calls `FAName`
- [383](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L383) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `GetMinusBookValue`
- [383](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L383) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `GetUnpostedBonusDepreciationForCalc`
- [395](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L395) calls `FAName`
- [403](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L403) calls `FAName`
- [405](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L405) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `DeprDays`
- [431](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L431) calls `FAName`
- [435](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L435) calls `FAName`
- [439](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L439) calls `FAName`
- [441](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L441) raises `OnAfterTransferValues`

## FAName

[Line 444](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L444), local.

- [448](https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/source/#L448) 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.
