{"title":"Codeunit 5610 Calculate Depreciation, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5610-calculate-depreciation/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":5610,"name":"Calculate Depreciation","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5610-calculate-depreciation/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5610-calculate-depreciation/source/","path":"src/Layers/W1/BaseApp/FixedAssets/Depreciation/CalculateDepreciation.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:5612":{"name":"Calculate Custom 1 Depr.","url":"https://jonas-paprotka.de/ref/codeunit/5612-calculate-custom-1-depr/"},"codeunit:5611":{"name":"Calculate Normal Depreciation","url":"https://jonas-paprotka.de/ref/codeunit/5611-calculate-normal-depreciation/"},"codeunit:5617":{"name":"FA Date Calculation","url":"https://jonas-paprotka.de/ref/codeunit/5617-fa-date-calculation/"},"codeunit:5616":{"name":"Depreciation Calculation","url":"https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/"}},"procs":[{"name":"Calculate","line":20,"kind":"procedure","params":10,"steps":[[25,"event","OnBeforeCalculate",1],[38,"call","CheckDeprDaysInFiscalYear",3],[43,"ext","codeunit",5612,"Calculate",10],[48,"ext","codeunit",5611,"Calculate",8],[52,"event","OnAfterCalcDeprYearCalculateAdditionalDepr2ndYear",0]]},{"name":"CheckDeprDaysInFiscalYear","line":55,"kind":"procedure","access":"local","params":3,"steps":[[64,"event","OnBeforeCheckDeprDaysInFiscalYear",1],[73,"ext","codeunit",5617,"GetFiscalYear",2],[79,"ext","codeunit",5616,"DeprDays",4]]}]}