{"title":"Page 9223 Item Statistics Matrix, procedures","url":"https://jonas-paprotka.de/ref/page/9223-item-statistics-matrix/procedures/","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":9223,"name":"Item Statistics Matrix","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/page/9223-item-statistics-matrix/","json":"https://jonas-paprotka.de/ref/page/9223-item-statistics-matrix.json"},"aspect":"procedures","total":6,"rows":[{"name":"SetItem","sig":"(var Record Item)","named":"(var NewItem: Record Item)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var NewItem: Record Item)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"Load","sig":"(Text[1024], var Record Dimension Code Buffer, Integer, Option, Boolean, Boolean, Record Item Statistics Buffer, Record Item, Option, Option, Text[30], Text, Text, Text, Text)","named":"(MatrixColumns1: array[32] of Text[1024]; var MatrixRecords1: array[32] of Record \"Dimension Code Buffer\"; CurrentNoOfMatrixColumns: Integer; _RoundingFactor: Option None,1,1000,1000000; _PerUnit: Boolean; _IncludeExpected: Boolean; _ItemBuffer: Record \"Item Statistics Buffer\"; _Item: Record Item; _PeriodType: Option; _AmountType: Option; _ColumnDimCode: Text[30]; _DateFilter: Text; _ItemFilter: Text; _LocationFilter: Text; _VariantFilter: Text)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by LoadMatrix()","tag":"19.0"},"range":"17-21","first":17,"last":21,"obsoleteSince":19,"spans":[{"from":17,"to":18,"named":"(MatrixColumns1: array[32] of Text[1024]; var MatrixRecords1: array[32] of Record \"Dimension Code Buffer\"; CurrentNoOfMatrixColumns: Integer; _RoundingFactor: Option None,1,1000,1000000; _PerUnit: Boolean; _IncludeExpected: Boolean; _ItemBuffer: Record \"Item Statistics Buffer\"; _Item: Record Item; _PeriodType: Option Day,Week,Month,Quarter,Year,\"Accounting Period\"; _AmountType: Option \"Net Change\",\"Balance at Date\"; _ColumnDimCode: Text[30]; _DateFilter: Text; _ItemFilter: Text; _LocationFilter: Text; _VariantFilter: Text)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":19,"to":21,"named":"(MatrixColumns1: array[32] of Text[1024]; var MatrixRecords1: array[32] of Record \"Dimension Code Buffer\"; CurrentNoOfMatrixColumns: Integer; _RoundingFactor: Option None,1,1000,1000000; _PerUnit: Boolean; _IncludeExpected: Boolean; _ItemBuffer: Record \"Item Statistics Buffer\"; _Item: Record Item; _PeriodType: Option; _AmountType: Option; _ColumnDimCode: Text[30]; _DateFilter: Text; _ItemFilter: Text; _LocationFilter: Text; _VariantFilter: Text)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by LoadMatrix()","tag":"19.0"}}]},{"name":"InsertRow","sig":"(Code[10], Text[80], Integer, Boolean, var Record Dimension Code Buffer)","named":"(Code1: Code[10]; Name1: Text[80]; Indentation1: Integer; Bold1: Boolean; var TheDimCodeBuf: Record \"Dimension Code Buffer\")","returns":"","kind":"procedure","access":"protected","obsolete":null,"range":"19-29","first":19,"last":29,"obsoleteSince":null,"spans":[{"from":19,"to":29,"named":"(Code1: Code[10]; Name1: Text[80]; Indentation1: Integer; Bold1: Boolean; var TheDimCodeBuf: Record \"Dimension Code Buffer\")","returns":"","kind":"procedure","access":"protected","obsolete":null}]},{"name":"SetCommonFilters","sig":"(var Record Item Statistics Buffer)","named":"(var TheItemBuffer: Record \"Item Statistics Buffer\")","returns":"","kind":"procedure","access":"protected","obsolete":null,"range":"19-29","first":19,"last":29,"obsoleteSince":null,"spans":[{"from":19,"to":29,"named":"(var TheItemBuffer: Record \"Item Statistics Buffer\")","returns":"","kind":"procedure","access":"protected","obsolete":null}]},{"name":"SetFilters","sig":"(var Record Item Statistics Buffer, Option)","named":"(var ItemBuffer: Record \"Item Statistics Buffer\"; LineOrColumn: Option Line,Column)","returns":"","kind":"procedure","access":"protected","obsolete":null,"range":"19-29","first":19,"last":29,"obsoleteSince":null,"spans":[{"from":19,"to":29,"named":"(var ItemBuffer: Record \"Item Statistics Buffer\"; LineOrColumn: Option Line,Column)","returns":"","kind":"procedure","access":"protected","obsolete":null}]},{"name":"LoadMatrix","sig":"(Text[1024], var Record Dimension Code Buffer, Integer, Enum Analysis Rounding Factor, Boolean, Boolean, Record Item Statistics Buffer, Record Item, Enum Analysis Period Type, Enum Analysis Amount Type, Text[30], Text, Text, Text, Text)","named":"(NewMatrixColumns: array[32] of Text[1024]; var NewMatrixRecords: array[32] of Record \"Dimension Code Buffer\"; CurrentNoOfMatrixColumns: Integer; NewRoundingFactor: Enum \"Analysis Rounding Factor\"; NewPerUnit: Boolean; NewIncludeExpected: Boolean; NewItemBuffer: Record \"Item Statistics Buffer\"; NewItem: Record Item; NewPeriodType: Enum \"Analysis Period Type\"; NewAmountType: Enum \"Analysis Amount Type\"; NewColumnDimCode: Text[30]; NewDateFilter: Text; NewItemFilter: Text; NewLocationFilter: Text; NewVariantFilter: Text)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"19-29","first":19,"last":29,"obsoleteSince":null,"spans":[{"from":19,"to":29,"named":"(NewMatrixColumns: array[32] of Text[1024]; var NewMatrixRecords: array[32] of Record \"Dimension Code Buffer\"; CurrentNoOfMatrixColumns: Integer; NewRoundingFactor: Enum \"Analysis Rounding Factor\"; NewPerUnit: Boolean; NewIncludeExpected: Boolean; NewItemBuffer: Record \"Item Statistics Buffer\"; NewItem: Record Item; NewPeriodType: Enum \"Analysis Period Type\"; NewAmountType: Enum \"Analysis Amount Type\"; NewColumnDimCode: Text[30]; NewDateFilter: Text; NewItemFilter: Text; NewLocationFilter: Text; NewVariantFilter: Text)","returns":"","kind":"procedure","access":"public","obsolete":null}]}]}