admin
2025-01-22 7e31442f0e9b07764e9c6a9680d3d4aeba5fe1de
_Main/UI/MacroPlannerWebApp/Component_FormAnnualPlanReport/Component_MatrixEditor.def
@@ -1,55 +1,55 @@
Quintiq file version 2.0
Component MatrixEditor
{
  #keys: '[412672.1.106503687]'
  #keys: '[414996.1.230731119]'
  BaseType: 'WebMatrixEditor'
  Children:
  [
    Component MatrixEditorCell
    {
      #keys: '[412672.1.106503688]'
      #keys: '[414996.1.230731120]'
      BaseType: 'WebMatrixEditorCell'
      Children:
      [
        Component DataExtractorCells
        {
          #keys: '[412672.1.106503689]'
          #keys: '[414996.1.230731121]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'MP_Table'
            Source: 'dhComparisonData'
            DataType: 'LocalTable'
            Source: 'dhAnnualPlanTable'
            Taborder: 0
            Transformation: 'MP_Row.MP_Cell.astype(MP_Cell_AnnualPlanReport)'
            Transformation: 'LocalRow.LocalCell.astype(LocalCell_Default)'
          ]
        }
      ]
      Properties:
      [
        Attributes: 'NewSupply'
        Column: 'MP_Column'
        Row: 'MP_Row'
        Attributes: 'RealValue'
        Column: 'LocalColumn'
        Row: 'LocalRow'
        Taborder: 0
      ]
    }
    Component MatrixEditorRows
    {
      #keys: '[412672.1.106503690]'
      #keys: '[414996.1.230731122]'
      BaseType: 'WebMatrixEditorHeaderLevel'
      Children:
      [
        Component DataExtractorRows
        {
          #keys: '[412672.1.106503691]'
          #keys: '[414996.1.230731123]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'MP_Table'
            FilterArguments: 'checkedProduct:QMacroPlanner::FormAnnualPlanReport.dhFinelProduct;checkedStockingPoint:QMacroPlanner::FormAnnualPlanReport.dhFinelStockingPoint'
            FixedFilter: 'exists( checkedProduct,Elements,entity,entity.ID() = object.ProductID()) and exists( checkedStockingPoint,Elements,entity,entity.DisplayName() = object.StockingPointID())'
            Source: 'dhComparisonData'
            DataType: 'LocalTable'
            FilterArguments: 'checkedProducts:QMacroPlanner::FormAnnualPlanReport.dhFinelProducts;checkedEntitys:QMacroPlanner::FormAnnualPlanReport.dhFinelEntitys'
            FixedFilter: 'exists( checkedProducts,Elements,entity,entity.ID() = object.ProductID()) and exists( checkedEntitys,Elements,entity,entity.DisplayName() = object.ProductionLine())'
            Source: 'dhAnnualPlanTable'
            Taborder: 0
            Transformation: 'MP_Row'
            Transformation: 'LocalRow'
          ]
        }
      ]
@@ -62,28 +62,28 @@
    }
    Component MatrixEditorColumns
    {
      #keys: '[412672.1.106503692]'
      #keys: '[414996.1.230731124]'
      BaseType: 'WebMatrixEditorHeaderLevel'
      Children:
      [
        Component DataExtractorColumns
        {
          #keys: '[412672.1.106503693]'
          #keys: '[414996.1.230731125]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'MP_Table'
            FilterArguments: 'startDate:QMacroPlanner::FormAnnualPlanReport.dhStartDate;endDate:QMacroPlanner::FormAnnualPlanReport.dhEndDate'
            FixedFilter: 'not object.IsAttrbuteColumn() and startDate <= object.Date() and endDate > object.Date() '
            Source: 'dhComparisonData'
            DataType: 'LocalTable'
            FilterArguments: 'startDate:QMacroPlanner::FormAnnualPlanReport.dhStartDate;endDate:QMacroPlanner::FormAnnualPlanReport.dhEndDate;timeUnit:QMacroPlanner::FormAnnualPlanReport.dhTimeUnit'
            FixedFilter: 'not object.IsAttrbuteColumn() and startDate <= object.Date() and endDate > object.Date() and object.TimeUnit() = timeUnit'
            Source: 'dhAnnualPlanTable'
            Taborder: 0
            Transformation: 'MP_Column'
            Transformation: 'LocalColumn'
          ]
        }
      ]
      Properties:
      [
        Legend: 'Date'
        Legend: 'DisplayDate'
        SortCriteria: 'Index'
        Taborder: 2
      ]
@@ -98,6 +98,5 @@
    ContextMenu: 'matrixeditorContextMenuDemandComparison'
    Rows: 'MatrixEditorRows'
    Taborder: 0
    Visible: false
  ]
}