Quintiq file version 2.0 
 | 
Component MatrixEditor id:MatrixEditor_988 
 | 
{ 
 | 
  #keys: '[412672.1.61940674]' 
 | 
  BaseType: 'WebMatrixEditor' 
 | 
  Children: 
 | 
  [ 
 | 
    Component MatrixEditorCell 
 | 
    { 
 | 
      #keys: '[412672.1.61940675]' 
 | 
      BaseType: 'WebMatrixEditorCell' 
 | 
      Children: 
 | 
      [ 
 | 
        Component DataExtractorCells 
 | 
        { 
 | 
          #keys: '[412672.1.61940676]' 
 | 
          BaseType: 'WebDataExtractor' 
 | 
          Properties: 
 | 
          [ 
 | 
            DataType: 'LocalTable' 
 | 
            Source: 'dhTable' 
 | 
            Taborder: 0 
 | 
            Transformation: 'LocalRow.LocalCell.astype(LocalCell_ProductionComparison)' 
 | 
          ] 
 | 
        } 
 | 
      ] 
 | 
      Properties: 
 | 
      [ 
 | 
        Attributes: 'Plan;Actual;Gap' 
 | 
        Column: 'LocalColumn' 
 | 
        Row: 'LocalRow' 
 | 
        Taborder: 0 
 | 
      ] 
 | 
    } 
 | 
    Component MatrixEditorRows 
 | 
    { 
 | 
      #keys: '[412672.1.61940677]' 
 | 
      BaseType: 'WebMatrixEditorHeaderLevel' 
 | 
      Children: 
 | 
      [ 
 | 
        Component DataExtractorRows 
 | 
        { 
 | 
          #keys: '[412672.1.61940678]' 
 | 
          BaseType: 'WebDataExtractor' 
 | 
          Properties: 
 | 
          [ 
 | 
            DataType: 'LocalTable' 
 | 
            FilterArguments: 'checkedProducts:QMacroPlanner::FormOfflinePlanComparison.dhFinelProducts;checkedUnits:QMacroPlanner::FormOfflinePlanComparison.dhFinalUnits' 
 | 
            FixedFilter: 'exists( checkedProducts,Elements,product,product.ID() = object.ProductID()) and exists( checkedUnits,Elements,unit,unit.DisplayName() = object.ProductionLine())' 
 | 
            Source: 'dhTable' 
 | 
            Taborder: 0 
 | 
            Transformation: 'LocalRow' 
 | 
          ] 
 | 
        } 
 | 
      ] 
 | 
      Properties: 
 | 
      [ 
 | 
        Legend: 'Name' 
 | 
        SortCriteria: 'Index' 
 | 
        Taborder: 1 
 | 
      ] 
 | 
    } 
 | 
    Component MatrixEditorColumns 
 | 
    { 
 | 
      #keys: '[412672.1.61940679]' 
 | 
      BaseType: 'WebMatrixEditorHeaderLevel' 
 | 
      Children: 
 | 
      [ 
 | 
        Component DataExtractorColumns 
 | 
        { 
 | 
          #keys: '[412672.1.61940680]' 
 | 
          BaseType: 'WebDataExtractor' 
 | 
          Properties: 
 | 
          [ 
 | 
            DataType: 'LocalTable' 
 | 
            FilterArguments: 'startDate:QMacroPlanner::FormOfflinePlanComparison.dhStartDate;endDate:QMacroPlanner::FormOfflinePlanComparison.dhEndDate;timeUnit:QMacroPlanner::FormOfflinePlanComparison.dhTimeUnit' 
 | 
            FixedFilter: 'not object.IsAttrbuteColumn() and startDate <= object.Date() and endDate > object.Date() and object.TimeUnit() = timeUnit' 
 | 
            Source: 'dhTable' 
 | 
            Taborder: 0 
 | 
            Transformation: 'LocalColumn' 
 | 
          ] 
 | 
        } 
 | 
      ] 
 | 
      Properties: 
 | 
      [ 
 | 
        Legend: 'DisplayDate' 
 | 
        SortCriteria: 'Index' 
 | 
        Taborder: 2 
 | 
      ] 
 | 
    } 
 | 
    #child: matrixEditorActionBarPageDemandComparison_1 
 | 
    #child: matrixeditorContextMenuDemandComparison_1 
 | 
  ] 
 | 
  Properties: 
 | 
  [ 
 | 
    AllowMultipleAttributes: true 
 | 
    Columns: 'MatrixEditorColumns' 
 | 
    ContextMenu: 'matrixeditorContextMenuDemandComparison' 
 | 
    Rows: 'MatrixEditorRows' 
 | 
    Taborder: 0 
 | 
  ] 
 | 
} 
 |