{"title":"Codeunit 5833 Item Statistics, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5833-item-statistics/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":5833,"name":"Item Statistics","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5833-item-statistics/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5833-item-statistics/source/","path":"src/Layers/W1/BaseApp/Inventory/Analysis/ItemStatistics.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":{},"procs":[{"name":"CalculateSalesGrowthRate","line":24,"kind":"procedure","access":"internal","params":3,"steps":[[30,"call","GetSalesAmount",2],[34,"call","GetSalesAmount",2]]},{"name":"DrilldownSalesGrowthRate","line":46,"kind":"procedure","access":"internal","params":3,"steps":[[49,"call","DrilldownSalesAmount",2]]},{"name":"CalculateNetSales","line":58,"kind":"procedure","access":"internal","params":2,"steps":[[63,"call","GetSalesAmount",2]]},{"name":"CalculateGrossMarginPercentage","line":74,"kind":"procedure","access":"internal","params":2,"steps":[[80,"call","GetSalesAmount",2],[83,"call","GetCostAmount",2]]},{"name":"CalculateProductReturnRate","line":96,"kind":"procedure","access":"internal","params":2,"steps":[[98,"call","GetProductReturnData",2]]},{"name":"DrilldownProductReturnRate","line":106,"kind":"procedure","access":"internal","params":2,"steps":[[108,"call","DrilldownProductReturnData",2]]},{"name":"CalculateCurrentInventoryValue","line":116,"kind":"procedure","access":"internal","params":1,"steps":[[118,"call","GetItemValueAmount",1]]},{"name":"DrilldownCurrentInventoryValue","line":125,"kind":"procedure","access":"internal","params":1,"steps":[[127,"call","DrilldownItemValueAmount",1]]}]}