---
title: "Codeunit 5618 Table Depr. Calculation, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/points/
object: https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/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 5618 Table Depr. Calculation, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/points/

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

## GetTablePercent

[Line 43](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L43).

- [59](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L59) raises `OnBeforeValidateYear365Days`, IsHandled
- [75](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L75) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `DeprDays`
- [76](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L76) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `DeprDays`
- [77](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L77) raises `OnGetTablePercentOnAfterSetLimits`
- [83](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L83) calls `CreateTableBuffer`
- [84](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L84) calls `CalculatePercent`

## CreateTableBuffer

[Line 114](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L114), local.

- [128](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L128) calls [Codeunit 360 Accounting Period Mgt.](https://jonas-paprotka.de/ref/codeunit/360-accounting-period-mgt/) `InitDefaultAccountingPeriod`
- [153](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L153) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `DeprDays`
- [155](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L155) calls [Codeunit 5616 Depreciation Calculation](https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/) `Yesterday`
- [157](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L157) raises `OnCreateTableBufferOnAfterCalculateDaysInPeriod`
- [164](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L164) calls `InsertTableBuffer`
- [169](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L169) writes [Table 5646 Depreciation Table Buffer](https://jonas-paprotka.de/ref/table/5646-depreciation-table-buffer/) Insert

## InsertTableBuffer

[Line 174](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L174), local.

- [184](https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/#L184) writes [Table 5646 Depreciation Table Buffer](https://jonas-paprotka.de/ref/table/5646-depreciation-table-buffer/) Insert

## Source

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

JOP-AL, 2026-11-20.
