#13813 [main] feature 624914 - Refactor depreciation calculation logic to use GetDepreciationCalculationBase for improved clarity and maintainability
Czech Fixed Asset Localization adds an optional checkbox to deduct ending book value from the depreciation base, supporting residual-value treatment under new accounting requirements while preserving existing behavior by default.
- 11files
- 8AL files
- 4objects
Pull request · merged into main (BC30) on 2026-11-23 by DavidHolusa · 11 files (+1283 -252), 8 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Adds an ‘Include Ending Book Value in Depreciation Base’ checkbox to Czech Fixed Asset Setup, cleared by default
- When enabled, the ending book value is deducted from the depreciation base, but it still acts as the final floor
- Respects individual and default ending book values and Ignore Def. Ending Book Value; assets in a tax depreciation group ignore ending book value entirely
- Calculate Normal Depreciation in the Base Application gets a new integration event and a shared calculation-base helper
- Affects only later calculations; asks for confirmation when the setting is changed interactively
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 31247 “Calc. Normal Depr. Handler CZF”, FixedAssetLocalization (CZ layer): modified
- Page extension 31249 “Fixed Asset Setup CZF”, FixedAssetLocalization (CZ layer): modified
- Table extension 31249 “FA Setup CZF”, FixedAssetLocalization (CZ layer): modified
- Codeunit 5611 “Calculate Normal Depreciation”, Base Application: modified
src/Layers/FR/BaseApp/FixedAssets/Depreciation/CalculateNormalDepreciation.Codeunit.al: modified, not in the BC30 snapshotsrc/Layers/GB/BaseApp/FixedAssets/Depreciation/CalculateNormalDepreciation.Codeunit.al: modified, not in the BC30 snapshot
Context
- Work items: AB#624914
- Labels: Team: Finance
- Systems: fixed-assets
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Czech local functionality - Tax depreciation for fixed assets | Microsoft Docs — possibly related: Documents Czech tax depreciation for fixed assets using depreciation calculation methods and groups. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).