...
MATRIX_CellData@1114 : ARRAY [32] OF Decimal;
MATRIX_CaptionSet@1115 : ARRAY [32] OF Text[1024];
// Delete the following lines.
LOCAL PROCEDURE FindPeriod@1116(SearchText@1000 : Code[10]);
VAR
Item@1117 : Record 27;
Calendar@1118 : Record 2000000007;
PeriodFormMgt@1119 : Codeunit 359;
BEGIN
IF DateFilter <> '' THEN BEGIN
Calendar.SETFILTER("Period Start",DateFilter);
IF NOT PeriodFormMgt.FindDate('+',Calendar,PeriodType) THEN
PeriodFormMgt.FindDate('+',Calendar,PeriodType::Day);
Calendar.SETRANGE("Period Start");
END;
PeriodFormMgt.FindDate(SearchText,Calendar,PeriodType);
Item.SETRANGE("Date Filter",Calendar."Period Start",Calendar."Period End");
IF Item.GETRANGEMIN("Date Filter") = Item.GETRANGEMAX("Date Filter") THEN
Item.SETRANGE("Date Filter",Item.GETRANGEMIN("Date Filter"));
InternalDateFilter := Item.GETFILTER("Date Filter");
IF (LineDimOption <> LineDimOption::Period) AND (ColumnDimOption <> ColumnDimOption::Period) THEN
DateFilter := InternalDateFilter;
END;
// End of the deleted lines.
LOCAL PROCEDURE CalcAmt@1120(ValueType@1001 : Integer;SetColFilter@1000 : Boolean) : Decimal;
VAR
Amt@1121 : Decimal;
...
...
MATRIX_CellData@1114 : ARRAY [32] OF Decimal;
MATRIX_CaptionSet@1115 : ARRAY [32] OF Text[1024];
LOCAL PROCEDURE CalcAmt@1120(ValueType@1001 : Integer;SetColFilter@1000 : Boolean) : Decimal;
VAR
Amt@1121 : Decimal;
...