Change the code in the MATRIX_GenerateColumnCaptions function in the _Budget form (9202) as follows:
Existing code 1...
GlobalDim1Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
GLSetup."Global Dimension 2 Code":
BEGIN
...
Replacement code 1...
GlobalDim1Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
GLSetup."Global Dimension 2 Code":
BEGIN
...
Existing code 2...
GlobalDim2Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
GLBudgetName."Budget Dimension 1 Code":
BEGIN
...
Replacement code 2...
GlobalDim2Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
GLBudgetName."Budget Dimension 1 Code":
BEGIN
...
Existing code 3...
BudgetDim1Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
GLBudgetName."Budget Dimension 2 Code":
BEGIN
...
Replacement code 3...
BudgetDim1Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
GLBudgetName."Budget Dimension 2 Code":
BEGIN
...
Existing code 4...
BudgetDim2Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
GLBudgetName."Budget Dimension 3 Code":
BEGIN
...
Replacement code 4...
BudgetDim2Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
GLBudgetName."Budget Dimension 3 Code":
BEGIN
...
Existing code 5...
BudgetDim3Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
GLBudgetName."Budget Dimension 4 Code":
BEGIN
...
Replacement code 5...
BudgetDim3Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
GLBudgetName."Budget Dimension 4 Code":
BEGIN
...
Existing code 6...
BudgetDim4Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
END;
END;
...
Replacement code 6...
BudgetDim4Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
END;
END;
...
Change the code in the MATRIX_GenerateColumnCaptions function in the _Invt. Analysis by Dimensions form (9208) as follows:
Existing code 1...
MatrixMgt.SetDimColumnSet(ItemAnalysisView."Dimension 1 Code",
Dim1Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,TRUE);
END;
ItemAnalysisView."Dimension 2 Code" :
...
Replacement code 1...
MatrixMgt.SetDimColumnSet(ItemAnalysisView."Dimension 1 Code",
Dim1Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
ItemAnalysisView."Dimension 2 Code" :
...
Existing code 2...
MatrixMgt.SetDimColumnSet(ItemAnalysisView."Dimension 2 Code",
Dim2Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,TRUE);
END;
ItemAnalysisView."Dimension 3 Code" :
...
Replacement code 2...
MatrixMgt.SetDimColumnSet(ItemAnalysisView."Dimension 2 Code",
Dim2Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
ItemAnalysisView."Dimension 3 Code" :
...
Existing code 3...
MatrixMgt.SetDimColumnSet(ItemAnalysisView."Dimension 3 Code",
Dim3Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,TRUE);
END;
END;
...
Replacement code 3...
MatrixMgt.SetDimColumnSet(ItemAnalysisView."Dimension 3 Code",
Dim3Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
END;
...
Change the code in the MATRIX_GenerateColumnCaptions function in the _Purch. Budget Overview form (9218) as follows:
Existing code 1...
GlobalDim1Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
GLSetup."Global Dimension 2 Code":
BEGIN
...
Replacement code 1...
GlobalDim1Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
GLSetup."Global Dimension 2 Code":
BEGIN
...
Existing code 2...
GlobalDim2Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
ItemBudgetName."Budget Dimension 1 Code":
BEGIN
...
Replacement code 2...
GlobalDim2Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
ItemBudgetName."Budget Dimension 1 Code":
BEGIN
...
Existing code 3...
BudgetDim1Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
ItemBudgetName."Budget Dimension 2 Code":
BEGIN
...
Replacement code 3...
BudgetDim1Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
ItemBudgetName."Budget Dimension 2 Code":
BEGIN
...
Existing code 4...
BudgetDim2Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
ItemBudgetName."Budget Dimension 3 Code":
BEGIN
...
Replacement code 4...
BudgetDim2Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
ItemBudgetName."Budget Dimension 3 Code":
BEGIN
...
Existing code 5...
BudgetDim3Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
END;
FOR i := 1 TO 12 DO
...
Replacement code 5...
BudgetDim3Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
END;
FOR i := 1 TO 12 DO
...
Change the code in the MATRIX_GenerateColumnCaptions function in the _Sales Budget Overview form (9238) as follows:
Existing code 1...
GlobalDim1Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
GLSetup."Global Dimension 2 Code":
BEGIN
...
Replacement code 1...
GlobalDim1Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
GLSetup."Global Dimension 2 Code":
BEGIN
...
Existing code 2...
GlobalDim2Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
ItemBudgetName."Budget Dimension 1 Code":
BEGIN
...
Replacement code 2...
GlobalDim2Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
ItemBudgetName."Budget Dimension 1 Code":
BEGIN
...
Existing code 3...
BudgetDim1Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
ItemBudgetName."Budget Dimension 2 Code":
BEGIN
...
Replacement code 3...
BudgetDim1Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
ItemBudgetName."Budget Dimension 2 Code":
BEGIN
...
Existing code 4...
BudgetDim2Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
ItemBudgetName."Budget Dimension 3 Code":
BEGIN
...
Replacement code 4...
BudgetDim2Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
ItemBudgetName."Budget Dimension 3 Code":
BEGIN
...
Existing code 5...
BudgetDim3Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Delete the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange,FALSE);
END;
END;
FOR i := 1 TO 12 DO
...
Replacement code 5...
BudgetDim3Filter,MATRIX_SetWanted,MATRIX_PrimKeyFirstCaptionInCu,FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns);
MatrixMgt.DimToCaptions(
MATRIX_CaptionSet,MATRIX_MatrixRecords,ColumnDimCode,
// Add the following line.
FirstColumn,LastColumn,MATRIX_CurrentNoOfColumns,ShowColumnName,MATRIX_CaptionRange);
END;
END;
FOR i := 1 TO 12 DO
...