{"title":"Codeunit 5618 Table Depr. Calculation, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/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":5618,"name":"Table Depr. Calculation","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5618-table-depr-calculation/source/","path":"src/Layers/W1/BaseApp/FixedAssets/Depreciation/TableDeprCalculation.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:5616":{"name":"Depreciation Calculation","url":"https://jonas-paprotka.de/ref/codeunit/5616-depreciation-calculation/"},"codeunit:360":{"name":"Accounting Period Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/360-accounting-period-mgt/"},"table:5646":{"name":"Depreciation Table Buffer","url":"https://jonas-paprotka.de/ref/table/5646-depreciation-table-buffer/"}},"procs":[{"name":"GetTablePercent","line":43,"kind":"procedure","params":5,"steps":[[59,"event","OnBeforeValidateYear365Days",1],[75,"ext","codeunit",5616,"DeprDays",4],[76,"ext","codeunit",5616,"DeprDays",4],[77,"event","OnGetTablePercentOnAfterSetLimits",0],[83,"call","CreateTableBuffer",1],[84,"call","CalculatePercent",0]]},{"name":"CreateTableBuffer","line":114,"kind":"procedure","access":"local","params":1,"steps":[[128,"ext","codeunit",360,"InitDefaultAccountingPeriod",2],[153,"ext","codeunit",5616,"DeprDays",4],[155,"ext","codeunit",5616,"Yesterday",3],[157,"event","OnCreateTableBufferOnAfterCalculateDaysInPeriod",0],[164,"call","InsertTableBuffer",4],[169,"write",5646,"Insert"]]},{"name":"InsertTableBuffer","line":174,"kind":"procedure","access":"local","params":4,"steps":[[184,"write",5646,"Insert"]]}]}