{"title":"Codeunit 5809 Cost Adj. Session Scheduler, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5809-cost-adj-session-scheduler/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":5809,"name":"Cost Adj. Session Scheduler","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5809-cost-adj-session-scheduler/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5809-cost-adj-session-scheduler/source/","path":"src/Layers/W1/BaseApp/Inventory/Costing/CostAdjSessionScheduler.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":{"table:5801":{"name":"Cost Adj. Item Bucket","url":"https://jonas-paprotka.de/ref/table/5801-cost-adj-item-bucket/"},"codeunit:5808":{"name":"Cost Adjustment Runner","url":"https://jonas-paprotka.de/ref/codeunit/5808-cost-adjustment-runner/"},"codeunit:46":{"name":"SelectionFilterManagement","url":"https://jonas-paprotka.de/ref/codeunit/46-selectionfiltermanagement/"},"table:27":{"name":"Item","url":"https://jonas-paprotka.de/ref/table/27-item/"}},"procs":[{"name":"OnRun","line":15,"kind":"trigger","steps":[[17,"call","Code",0]]},{"name":"Code","line":20,"kind":"procedure","params":0,"steps":[[33,"write",5801,"Modify"],[36,"call","RunCostAdjustment",1],[42,"write",5801,"Modify"],[47,"call","Reschedule",1]]},{"name":"RunCostAdjustment","line":52,"kind":"procedure","access":"local","params":1,"steps":[[58,"run","codeunit",5808]]},{"name":"Reschedule","line":73,"kind":"procedure","access":"local","params":1,"steps":[[98,"ext","table",5801,"GetLastLineNo",0],[101,"write",5801,"Insert"],[106,"ext","table",5801,"GetLastLineNo",0],[109,"write",5801,"Insert"],[115,"call","InsertNotStartedCostAdjItemBucket",3],[115,"ext","codeunit",46,"GetSelectionFilterForItem",1],[123,"write",27,"Insert"],[128,"write",27,"Insert"],[131,"call","InsertNotStartedCostAdjItemBucket",3],[131,"ext","codeunit",46,"GetSelectionFilterForItem",1],[132,"call","InsertNotStartedCostAdjItemBucket",3],[132,"ext","codeunit",46,"GetSelectionFilterForItem",1]]},{"name":"InsertNotStartedCostAdjItemBucket","line":137,"kind":"procedure","access":"local","params":3,"steps":[[139,"ext","table",5801,"GetLastLineNo",0],[148,"write",5801,"Insert"]]}]}