{"title":"Codeunit 5615 Budget Depreciation, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5615-budget-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":5615,"name":"Budget Depreciation","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5615-budget-depreciation/source/","path":"src/Layers/W1/BaseApp/FixedAssets/Depreciation/BudgetDepreciation.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:5611":{"name":"Calculate Normal Depreciation","url":"https://jonas-paprotka.de/ref/codeunit/5611-calculate-normal-depreciation/"},"table:96":{"name":"G/L Budget Entry","url":"https://jonas-paprotka.de/ref/table/96-g-l-budget-entry/"},"codeunit:5601":{"name":"FA Insert G/L Account","url":"https://jonas-paprotka.de/ref/codeunit/5601-fa-insert-g-l-account/"},"table:36950":{"name":"Dimension Set Entry","url":"https://jonas-paprotka.de/ref/table/36950-dimension-set-entry/"},"codeunit:408":{"name":"DimensionManagement","url":"https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/"}},"procs":[{"name":"Calculate","line":30,"kind":"procedure","params":6,"steps":[[51,"event","OnCalculateOnAfterCallNoCheck",1],[62,"call","CreateMessage",0],[67,"ext","codeunit",5611,"Calculate",8],[70,"ext","codeunit",5611,"Calculate",8]]},{"name":"CopyProjectedValueToBudget","line":93,"kind":"procedure","params":6,"steps":[[110,"call","CopyFAToBudget",4],[118,"call","CopyFAToBudget",4]]},{"name":"CopyFAToBudget","line":121,"kind":"procedure","params":4,"steps":[[134,"ext","table",96,"GetLastEntryNo",0],[138,"ext","codeunit",5601,"DeleteAllGLAcc",0],[139,"run","codeunit",5601],[141,"ext","codeunit",5601,"InsertBalAcc",1],[142,"ext","codeunit",5601,"FindFirstGLAcc",1],[156,"call","GetFADefaultDimSetID",1],[157,"call","UpdateDimCodesFromDimSetID",2],[158,"event","OnBeforeGLBudgetEntryInsert",0],[159,"write",96,"Insert"],[160,"ext","codeunit",5601,"GetNextGLAcc",1]]},{"name":"GetFADefaultDimSetID","line":163,"kind":"procedure","access":"local","params":1,"steps":[[178,"write",36950,"Insert"],[181,"ext","codeunit",408,"GetDimensionSetID",1]]},{"name":"UpdateDimCodesFromDimSetID","line":184,"kind":"procedure","access":"local","params":2,"steps":[[188,"ext","codeunit",408,"UpdateGlobalDimFromDimSetID",3],[189,"call","UpdateBudgetDimFromDimSetID",3],[190,"call","UpdateBudgetDimFromDimSetID",3],[191,"call","UpdateBudgetDimFromDimSetID",3],[192,"call","UpdateBudgetDimFromDimSetID",3]]}]}