---
id: object/report/5692
type: object
title: Report 5692 "Calculate Depreciation"
summary: Report 5692 "Calculate Depreciation" in Base Application (Microsoft.FixedAssets.Depreciation). 2 public procedures, 13 events. Present since at least BC23, still in BC30, changed in BC24, BC26-28.
tier: official
language: en
tags:
  - report
  - base application
versions:
  introduced: null
  last_changed: "28"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 0d94ed10220a54d0ef004afbdba48aed7f2a659990a7fd22247e4fda33591557
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/FixedAssets/Depreciation/CalculateDepreciation.Report.al
    title: src/Layers/W1/BaseApp/FixedAssets/Depreciation/CalculateDepreciation.Report.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/fa-how-depreciate-amortize
    title: Depreciate or amortize FA
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/fa-how-depreciate-amortize
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/fixed-assets
  localizations:
    - localization/fr
    - localization/it
    - localization/ru
  videos: []
  posts: []
  guidelines: []
object_type: report
object_id: 5692
name: Calculate Depreciation
namespace: Microsoft.FixedAssets.Depreciation
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "26"
  - "27"
  - "28"
source_major: "29"
obsolete: null
countries:
  - fr
  - it
  - ru
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/fa-how-depreciate-amortize.md
counts:
  fields: 0
  procedures: 20
  events: 13
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 1
  calls: 6
  called_by: 0
  implements: 0
---

# Report 5692 "Calculate Depreciation"

> Report 5692 "Calculate Depreciation" in Base Application (Microsoft.FixedAssets.Depreciation). 2 public procedures, 13 events. Present since at least BC23, still in BC30, changed in BC24, BC26-28.

Base Application · Microsoft.FixedAssets.Depreciation · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/FixedAssets/Depreciation/CalculateDepreciation.Report.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Calculate Depreciation |
| UsageCategory | Tasks |
| ApplicationArea | FixedAssets |

## Events published

- `OnAfterCalculateDepreciation(FANo: Code[20]; var TempGenJournalLine: Record "Gen. Journal Line" temporary; var TempFAJournalLine: Record "FA Journal Line" temporary; var DeprAmount: Decimal; var NumberOfDays: Integer; DeprBookCode: Code[10]; DeprUntilDate: Date; EntryAmounts: array[4] of Decimal; DaysInPeriod: Integer)` (integration)
- `OnAfterFAInsertGLAccGetBalAcc(var GenJnlLine: Record "Gen. Journal Line"; var GenJnlNextLineNo: Integer; var BalAccount: Boolean; var TempGenJnlLine: Record "Gen. Journal Line")` (integration)
- `OnAfterPostDataItem()` (integration)
- `OnAfterOnPostReport()` (integration)
- `OnBeforeActivateErrorMessageHandling(var FixedAsset: Record "Fixed Asset"; var ErrorMessageMgt: Codeunit "Error Message Management"; var ErrorMessageHandler: Codeunit "Error Message Handler"; var ErrorContextElement: Codeunit "Error Context Element"; var IsHandled: Boolean)` (integration)
- `OnBeforeCalculateDepreciation(FANo: Code[20]; var TempGenJournalLine: Record "Gen. Journal Line" temporary; var TempFAJournalLine: Record "FA Journal Line" temporary; var DeprAmount: Decimal; var NumberOfDays: Integer; DeprBookCode: Code[10]; DeprUntilDate: Date; EntryAmounts: array[4] of Decimal; DaysInPeriod: Integer)` (integration)
- `OnBeforeFAJnlLineInsert(var TempFAJournalLine: Record "FA Journal Line" temporary; var FAJournalLine: Record "FA Journal Line")` (integration)
- `OnBeforeGenJnlLineInsert(var TempGenJournalLine: Record "Gen. Journal Line" temporary; var GenJournalLine: Record "Gen. Journal Line")` (integration)
- `OnBeforeOnInitReport(var DeprBookCode: Code[10])` (integration)
- `OnPostReportOnBeforeConfirmShowFAJournalLines(DeprBook: Record "Depreciation Book"; FAJnlLine: Record "FA Journal Line"; FAJnlLineCreatedCount: Integer; var IsHandled: Boolean)` (integration)
- `OnPostReportOnBeforeConfirmShowGenJournalLines(DeprBook: Record "Depreciation Book"; GenJnlLine: Record "Gen. Journal Line"; GenJnlLineCreatedCount: Integer; var IsHandled: Boolean)` (integration)
  - subscribers: [Codeunit 5609 "Create FA Jnl. Lines"](../codeunit/5609.md) ConfirmShowGenJournalLines
- `OnBeforeGenJnlLineCreate(var TempGenJournalLine: Record "Gen. Journal Line" temporary; var GenJournalLine: Record "Gen. Journal Line"; DocumentNo: Code[20]; var AutoDocumentNo: Code[20])` (integration)
- `OnPostFixedAssetOnAfterFAJnlLineInit(var TempFAJournalLine: Record "FA Journal Line" temporary; var FAJournalLine: Record "FA Journal Line"; DocumentNo: Code[20]; var AutoDocumentNo: Code[20])` (integration)

## Procedures

- `InitializeRequest(DeprBookCodeFrom: Code[10]; DeprUntilDateFrom: Date; UseForceNoOfDaysFrom: Boolean; DaysInPeriodFrom: Integer; PostingDateFrom: Date; DocumentNoFrom: Code[20]; PostingDescriptionFrom: Text[100]; BalAccountFrom: Boolean)`
- `SetSuppressCommit(NewSuppressCommmit: Boolean)`

Plus 5 local procedures.

## Triggers

OnInitReport, OnPostReport, OnPreReport

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 29 "Error Message Handler"](../codeunit/29.md) (2 calls: `OnPostReport → HasErrors`, `OnPostReport → ShowErrors`)
- [Codeunit 27 "Confirm Management"](../codeunit/27.md) (1 call: `OnPostReport → GetResponse`)
- [Codeunit 28 "Error Message Management"](../codeunit/28.md) (1 call: `ActivateErrorMessageHandling → Activate`)
- [Codeunit 5601 "FA Insert G/L Account"](../codeunit/5601.md) (1 call: `InsertBonusDepreciationGenJnlLine → GetBalAcc`)
- [Page 5628 "Fixed Asset G/L Journal"](../page/5628.md) (1 call: `OnPostReport → (object)`)
- [Page 5629 "Fixed Asset Journal"](../page/5629.md) (1 call: `OnPostReport → (object)`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC26-28

## Countries that replace it

[FR](../../localizations/fr.md), [IT](../../localizations/it.md), [RU](../../localizations/ru.md)

## Documented on Microsoft Learn

- [Depreciate or amortize FA](https://learn.microsoft.com/dynamics365/business-central/fa-how-depreciate-amortize)

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "report", object_name: "Calculate Depreciation")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
