{"title":"Codeunit 2581 Dim Correction Run, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/2581-dim-correction-run/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":2581,"name":"Dim Correction Run","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/2581-dim-correction-run/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/2581-dim-correction-run/source/","path":"src/Layers/W1/BaseApp/Finance/Dimension/Correction/DimCorrectionRun.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:2580":{"name":"Dimension Correction Mgt","url":"https://jonas-paprotka.de/ref/codeunit/2580-dimension-correction-mgt/"},"table:2582":{"name":"Dimension Correction","url":"https://jonas-paprotka.de/ref/table/2582-dimension-correction/"},"codeunit:408":{"name":"DimensionManagement","url":"https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/"},"table:2584":{"name":"Dim Correction Set Buffer","url":"https://jonas-paprotka.de/ref/table/2584-dim-correction-set-buffer/"},"table:2587":{"name":"Invalidated Dim Correction","url":"https://jonas-paprotka.de/ref/table/2587-invalidated-dim-correction/"},"table:17":{"name":"G/L Entry","url":"https://jonas-paprotka.de/ref/table/17-g-l-entry/"}},"procs":[{"name":"OnRun","line":20,"kind":"trigger","steps":[[25,"call","RunDimensionCorrection",1]]},{"name":"RunDimensionCorrection","line":32,"kind":"procedure","params":1,"steps":[[38,"ext","codeunit",2580,"ValidateBlockedNotUsed",1],[39,"ext","codeunit",2580,"SetStatusInProgress",1],[41,"ext","codeunit",2580,"GenerateSupportingTables",2],[44,"ext","codeunit",2580,"ValidateDimensionSets",3],[45,"ext","codeunit",2580,"ValidateDimensionChanges",3],[48,"call","ChangeLedgerEntries",2],[53,"write",2582,"Modify"],[56,"ext","codeunit",2580,"ScheduleUpdateAnalysisViews",1]]},{"name":"ChangeLedgerEntries","line":61,"kind":"procedure","access":"local","params":2,"steps":[[90,"write",2582,"Modify"]]},{"name":"ChangeLedgerEntries","line":97,"kind":"procedure","access":"local","params":6,"steps":[[108,"call","UpdateGLEntry",4],[114,"ext","codeunit",2580,"GetCommitCount",0],[116,"write",2582,"Modify"],[118,"ext","codeunit",2580,"GetCommitCount",0],[124,"write",2582,"Modify"]]},{"name":"UpdateGLEntry","line":129,"kind":"procedure","access":"local","params":4,"steps":[[136,"ext","codeunit",408,"UpdateGlobalDimFromDimSetID",3],[138,"event","OnUpdateGLEntryOnAfterUpdateGlobalDimFromDimSetID",0],[142,"ext","table",2584,"AddLedgerEntry",1],[143,"write",2584,"Modify"],[159,"write",2587,"Insert",1],[163,"write",2587,"Insert",1],[168,"write",17,"Modify",1],[171,"event","OnAfterUpdateGLEntry",0]]}]}