Codeunit 5618 "Table Depr. Calculation"
Base Application · Microsoft.FixedAssets.Depreciation
Across versions
- BC23-30present
Neighbourhood 5 connected objects and pages
Base Application · Microsoft.FixedAssets.Depreciation · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeValidateYear365Days(DepreBook: Record "Depreciation Book"; var IsHandled: Boolean)(integration)OnCreateTableBufferOnAfterCalculateDaysInPeriod(DeprBook: Record "Depreciation Book"; AccountingPeriod: Record "Accounting Period"; FirstUserDefinedDeprDate: Date; Year365Days: Boolean; var DaysInPeriod: Integer)(integration)OnGetTablePercentOnAfterSetLimits(DeprBookCode: Code[10]; DeprTableCode: Code[10]; FirstUserDefinedDeprDate: Date; StartingDate: Date; EndingDate: Date; var StartingLimit: Integer; var EndingLimit: Integer)(integration)
Procedures
GetTablePercent(DeprBookCode: Code[10]; DeprTableCode: Code[10]; FirstUserDefinedDeprDate: Date; StartingDate: Date; EndingDate: Date): Decimal
Plus 3 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:
CreateTableBuffer → DeprDays,CreateTableBuffer → Yesterday,GetTablePercent → DeprDays) - Codeunit 360 “Accounting Period Mgt.” (1 call:
CreateTableBuffer → InitDefaultAccountingPeriod)
Called by
- Codeunit 5611 “Calculate Normal Depreciation” (1 call:
CalcUserDefinedAmount → GetTablePercent) - Codeunit 5612 “Calculate Custom 1 Depr.” (1 call:
CalcCustom1Amount → GetTablePercent) - Report 5607 “Fixed Asset - Projected Value” (1 call:
CalculationDone → GetTablePercent)
Countries that replace it
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: "Table Depr. Calculation"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.