Codeunit 5617 "FA Date Calculation"
Base Application · Microsoft.FixedAssets.Depreciation
Across versions
- BC23-26present
- BC271 events added
- BC28-30unchanged
Neighbourhood 5 connected objects and pages
Base Application · Microsoft.FixedAssets.Depreciation · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeGetFiscalYear(DeprBookCode: Code[10]; EndingDate: Date; var FiscalYearStartDate: Date; var IsHandled: Boolean)+ BC27 (integration)
Procedures
GetFiscalYear(DeprBookCode: Code[10]; EndingDate: Date): DateCalculateDate(StartingDate: Date; NumberOfDays: Integer; Year365Days: Boolean): Date
Plus 1 local procedures.
Triggers
OnRun
Called by
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.
- Report 5607 “Fixed Asset - Projected Value” (4 calls:
GetNextDate → CalculateDate,GetPeriodEndingDate → CalculateDate,TransferValues → CalculateDate, …) - Codeunit 5610 “Calculate Depreciation” (1 call:
CheckDeprDaysInFiscalYear → GetFiscalYear) - Codeunit 5611 “Calculate Normal Depreciation” (1 call:
CalcDBSLAmount → GetFiscalYear) - Codeunit 5616 “Depreciation Calculation” (1 call:
DeprInFiscalYear → GetFiscalYear) - Table 5612 “FA Depreciation Book” (1 call:
CalcEndingDate → CalculateDate)
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: "FA Date Calculation"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.