codeunitFixed Assetsofficial - Microsoftderived - from the source, no model text

Codeunit 5610 "Calculate Depreciation"

Base Application · Microsoft.FixedAssets.Depreciation

Across versions

  1. BC23-30present

Neighbourhood 7 connected objects and pages

Report 5607 "Fixed Asset - Projected Value" (calls, 2 links)Fixed Asset - Projected ValueCodeunit 5611 "Calculate Normal Depreciation" (calls)Calculate Normal DepreciationCodeunit 5612 "Calculate Custom 1 Depr." (calls)Calculate Custom 1 Depr.Codeunit 5616 "Depreciation Calculation" (calls)Depreciation CalculationCodeunit 5617 "FA Date Calculation" (calls)FA Date CalculationCodeunit 5632 "FA Jnl.-Post Line" (calls)FA Jnl.-Post LineCodeunit 5642 "FA Reclass. Transfer Line" (calls)FA Reclass. Transfer Line

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.FixedAssets.Depreciation · BC23-30 · source at ea08af5e · facts from BC29

Events published

  • OnBeforeCalculate(var DeprAmount: Decimal; var Custom1Amount: Decimal; var NumberOfDays: Integer; var Custom1NumberOfDays: Integer; FANo: Code[20]; DeprBookCode: Code[10]; UntilDate: Date; EntryAmounts: array[4] of Decimal; DateFromProjection: Date; DaysInPeriod: Integer; var IsHandled: Boolean) (integration)
  • OnBeforeCheckDeprDaysInFiscalYear(FADeprBook: Record "FA Depreciation Book"; CheckDeprDays: Boolean; UntilDate: Date; var IsHandled: Boolean) (integration)
  • OnAfterCalcDeprYearCalculateAdditionalDepr2ndYear(var DeprAmount: Decimal; FANo: code[20]; DepreBookCode: code[10]) (integration)

Procedures

  • Calculate(var DeprAmount: Decimal; var Custom1Amount: Decimal; var NumberOfDays: Integer; var Custom1NumberOfDays: Integer; FANo: Code[20]; DeprBookCode: Code[10]; UntilDate: Date; EntryAmounts: array[4] of Decimal; DateFromProjection: Date; DaysInPeriod: Integer)

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.

Called by

Countries that replace it

IT, RU

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 Depreciation"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources