{"title":"Page 5847 Average Cost Calc. Overview, extension points 29","url":"https://jonas-paprotka.de/ref/page/5847-average-cost-calc-overview/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":"page","id":5847,"name":"Average Cost Calc. Overview","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/5847-average-cost-calc-overview/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/5847-average-cost-calc-overview/source/","path":"src/Layers/W1/BaseApp/Inventory/Costing/AverageCostCalcOverview.Page.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:32":{"name":"Item Ledger Entry","url":"https://jonas-paprotka.de/ref/table/32-item-ledger-entry/"},"codeunit:5801":{"name":"Show Applied Entries","url":"https://jonas-paprotka.de/ref/codeunit/5801-show-applied-entries/"},"page:344":{"name":"Navigate","url":"https://jonas-paprotka.de/ref/page/344-navigate/"},"table:5847":{"name":"Average Cost Calc. Overview","url":"https://jonas-paprotka.de/ref/table/5847-average-cost-calc-overview/"},"codeunit:5847":{"name":"Get Average Cost Calc Overview","url":"https://jonas-paprotka.de/ref/codeunit/5847-get-average-cost-calc-overview/"}},"procs":[{"name":"Dimensions.OnAction","line":157,"kind":"trigger","steps":[[160,"ext","table",32,"ShowDimensions",0]]},{"name":"Applied E&ntries.OnAction","line":187,"kind":"trigger","steps":[[192,"run","codeunit",5801]]},{"name":"Reservation Entries.OnAction","line":203,"kind":"trigger","steps":[[208,"ext","table",32,"ShowReservationEntries",1]]},{"name":"&Navigate.OnAction","line":223,"kind":"trigger","steps":[[225,"ext","page",344,"SetDoc",2]]},{"name":"Category_Line.OnAfterGetRecord","line":265,"kind":"trigger","steps":[[271,"call","SetExpansionStatus",0],[275,"ext","table",5847,"CalculateRemainingQty",0],[276,"ext","table",5847,"CalculateCostAmt",1],[277,"ext","table",5847,"CalculateCostAmt",1],[279,"call","TypeOnFormat",0],[280,"call","ItemLedgerEntryNoOnFormat",0],[281,"call","EntryTypeOnFormat",0],[282,"call","DocumentLineNoOnFormat",0]]},{"name":"OnOpenPage","line":285,"kind":"trigger","steps":[[290,"call","InitTempTable",0],[291,"call","ExpandAll",1],[294,"call","SetRecFilters",0]]},{"name":"SetExpansionStatus","line":314,"kind":"procedure","params":0,"steps":[[317,"call","IsExpanded",1],[319,"call","HasChildren",1]]},{"name":"InitTempTable","line":326,"kind":"procedure","params":0,"steps":[[334,"event","OnInitTempTableOnAfterAvgCostCalcOverviewSetFilters",0],[336,"run","codeunit",5847],[340,"write",5847,"DeleteAll"],[345,"write",5847,"Insert"]]},{"name":"ExpandAll","line":351,"kind":"procedure","access":"local","params":1,"steps":[[359,"event","OnExpandAllOnAfterAvgCostCalcOverviewSetFilters",0],[361,"run","codeunit",5847],[364,"write",5847,"DeleteAll"],[370,"ext","codeunit",5847,"Calculate",1],[379,"write",5847,"Insert"]]},{"name":"IsExpanded","line":385,"kind":"procedure","access":"local","params":1,"steps":[[393,"call","GetDirection",0]]},{"name":"HasChildren","line":400,"kind":"procedure","access":"local","params":1,"steps":[[404,"ext","codeunit",5847,"EntriesExist",1]]}]}