{"title":"Codeunit 2582 Dimension Correction Undo, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/2582-dimension-correction-undo/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":2582,"name":"Dimension Correction Undo","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/2582-dimension-correction-undo/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/2582-dimension-correction-undo/source/","path":"src/Layers/W1/BaseApp/Finance/Dimension/Correction/DimensionCorrectionUndo.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/"},"table:2587":{"name":"Invalidated Dim Correction","url":"https://jonas-paprotka.de/ref/table/2587-invalidated-dim-correction/"},"codeunit:408":{"name":"DimensionManagement","url":"https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/"},"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","RunUndoDimensionCorrection",1]]},{"name":"RunUndoDimensionCorrection","line":32,"kind":"procedure","params":1,"steps":[[38,"ext","codeunit",2580,"VerifyCanUndoDimensionCorrection",1],[41,"ext","codeunit",2580,"SetUndoStatusInProgress",1],[42,"call","UndoDimensionCorrection",1],[45,"write",2582,"Modify"],[49,"ext","codeunit",2580,"ScheduleUpdateAnalysisViews",1]]},{"name":"UndoDimensionCorrection","line":54,"kind":"procedure","access":"local","params":1,"steps":[[67,"ext","codeunit",2580,"LoadTempDimCorrectionSetBuffer",2],[84,"ext","codeunit",2580,"GetTargetDimCorrectionSetBuffer",3],[85,"call","UndoGLEntry",3],[87,"ext","codeunit",2580,"GetCommitCount",0],[90,"ext","codeunit",2580,"GetCommitCount",0],[102,"write",2587,"DeleteAll"]]},{"name":"UndoGLEntry","line":107,"kind":"procedure","access":"local","params":3,"steps":[[117,"ext","codeunit",408,"UpdateGlobalDimFromDimSetID",3],[119,"event","OnUndoGLEntryOnAfterUpdateGlobalDimFromDimSetID",0],[126,"write",2587,"Insert"],[131,"write",17,"Modify",1],[134,"event","OnAfterUndoGLEntry",0]]}]}