Codeunit 5613 "Calculate Acq. Cost Depr."
Base Application · Microsoft.FixedAssets.Depreciation
Across versions
- BC23-28present
- BC291 procedures added
- BC30unchanged
Neighbourhood 3 connected objects and pages
Base Application · Microsoft.FixedAssets.Depreciation · BC23-30 · source at 4e6a307c · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | TableData “FA Ledger Entry” = rimd |
Events published
OnBeforeDeprCalc(var DeprAmount: Decimal; var Custom1Amount: Decimal; FANo: Code[20]; DeprBookCode: Code[10]; LocalDeprBasis: Decimal; Custom1LocalDeprBasis: Decimal; var IsHandled: Boolean)(integration)
Procedures
DeprCalc(var DeprAmount: Decimal; var Custom1Amount: Decimal; FANo: Code[20]; DeprBookCode: Code[10]; LocalDeprBasis: Decimal; Custom1LocalDeprBasis: Decimal)DerogatoryCalculation(var DeprAmount: Decimal; FANo: Code[20]; DeprBookCode: Code[10]; LocalDerogatoryBasis: Decimal)+ BC29
Plus 1 local procedures.
Triggers
OnRun
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 5616 “Depreciation Calculation” (3 calls:
CreateError → FAName,DeprCalc → CalcRounding,DerogatoryCalculation → CalcRounding)
Called by
- Codeunit 5632 “FA Jnl.-Post Line” (1 call:
PostDeprUntilDate → DeprCalc) - Codeunit 5869 “Derogatory Posting Mgt.” (1 call:
PrepareAcquisitionCostAdjustment → DerogatoryCalculation)
Recent changes
- 2026-10-20 #12160 Deliverable 617319: Move French accelerated depreciation to W1 base application (main, BC30, feature)
Countries that replace it
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- How to Calculate Accelerated Depreciation [FR] — possibly related: Codeunit calculates accelerated depreciation using the Calculate Depreciation batch job (model-linked)
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: "codeunit", object_name: "Calculate Acq. Cost Depr."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.