Quintiq file version 2.0
#root
#parent: LibMacroPlannerWebUI
OrphanComponent FormSupplyPlanning
{
  #keys: '[134266.2.76731946]'
  Accessibility: 'Extensible'
  BaseType: 'WebForm'
  Children:
  [
    Component MatrixEditorSupplyPlanning
    {
      #keys: '[134266.2.76733210]'
      BaseType: 'WebMatrixEditor'
      Children:
      [
        Component MatrixEditorCellPlanning
        {
          #keys: '[134266.2.76733211]'
          BaseType: 'WebMatrixEditorCell'
          Children:
          [
            Component DataExtractorCellPlanning
            {
              #keys: '[134266.2.76733212]'
              BaseType: 'WebDataExtractor'
              Properties:
              [
                DataType: 'shadow[GlobalParameters_MP]'
                Source: 'DataHolderShadowGlobalParameters'
                Taborder: 0
                Transformation: 'PlanningCell'
              ]
            }
          ]
          Properties:
          [
            Attributes: 'Quantity'
            Column: 'ProductInStockingPointInPeriodPlanning.Period_MP'
            Row: 'Process_MP'
            Taborder: 1
          ]
        }
        Component MatrixEditorRowsProcess
        {
          #keys: '[134266.2.76733213]'
          BaseType: 'WebMatrixEditorHeaderLevel'
          Children:
          [
            Component DataExtractorProcess
            {
              #keys: '[134266.2.76733214]'
              BaseType: 'WebDataExtractor'
              Properties:
              [
                DataType: 'structured[Process_MP]'
                Source: 'DataHolderProcess'
                Taborder: 0
                Transformation: 'Elements'
              ]
            }
          ]
          Properties:
          [
            Legend: 'DisplayName'
            Taborder: 2
          ]
        }
        Component MatrixEditorColumnsPeriod
        {
          #keys: '[134266.2.76733215]'
          BaseType: 'WebMatrixEditorHeaderLevel'
          Children:
          [
            Component DataExtractorPeriod
            {
              #keys: '[134266.2.76733216]'
              BaseType: 'WebDataExtractor'
              Properties:
              [
                DataType: 'structured[Period_MP]'
                FixedFilter: 'object.IsPlanning()'
                Source: 'ApplicationMacroPlanner.DataHolderPeriods'
                Taborder: 0
                Transformation: 'Elements'
              ]
            }
          ]
          Properties:
          [
            Legend: 'Start'
            SortCriteria: 'Start'
            Taborder: 3
          ]
        }
        Component UserConfigurableInformationPlanningCell id:UserConfigurableInformationPlanningCell_549
        {
          #keys: '[138546.0.774474202]'
          BaseType: 'WebUserConfigurableInformation'
          Properties:
          [
            ObjectType: 'shadow[PlanningCell]'
            Taborder: 0
            Tooltip:
            [*
              
              
              | Suggested quantity           | 
              VALUE( object.ProductInStockingPointInPeriodPlanning().GetUnfulfilledQuantity() + object.Quantity()  ) VALUE( object.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().UnitOfMeasureName() )  | 
              
              | Feedback quantity           | 
              VALUE(object.ProductInStockingPointInPeriodPlanning().astype(ProductInStockingPointInPeriodPlanningLeaf).GetFeedbackQuantity( object.Process_MP() )  + 0 ) VALUE( object.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().UnitOfMeasureName() ) VALUE( ifexpr( object.ProductInStockingPointInPeriodPlanning().astype(ProductInStockingPointInPeriodPlanningLeaf).GetFeedbackIsLocked( object.Process_MP() )  , ' (Fixed quantity) ', ' (Minimum threshold) ' ) ) | 
              
              
              
              
              
              | VALUE(object.Process_MP().GetDisplayAccount())   | 
              VALUE(object.Process_MP().GetDisplayCost()) |   |   |   | 
              
              
              | Lead time        | 
              VALUE(object.Process_MP().LeadTime()) |   |   |  | 
              
              
              | Minimum quantity       | 
              VALUE(object.Process_MP().MinimumQuantity()) |   | 
              Maximum quantity        | 
              VALUE(ifexpr( object.Process_MP().HasUserMaximumQuantity(), [String]object.Process_MP().MaximumQuantity(), '-' ) ) | 
              
              
              | Lot size        | 
              VALUE(object.Process_MP().LotSize()) |   |   |   | 
              
              
            *]
          ]
        }
        #child: matrixeditorContextMenuSupplyPlanning
        #child: matrixEditorActionBarPageSupplyPlanning
      ]
      Properties:
      [
        Columns: 'MatrixEditorColumnsPeriod'
        ContextMenu: 'matrixeditorContextMenuSupplyPlanning'
        Rows: 'MatrixEditorRowsProcess'
        ShowEditability: true
        Taborder: 4
      ]
      ResponseDefinitions:
      [
        DelegatedResponseDefinition OnClick id:Responsedef_MatrixEditorSupplyPlanning_WebMenu_OnClick
        {
          #keys: '[139394.0.2086142185]'
          Initiator: 'WebMenu'
          IsInherited: false
          ResponseType: 'OnClick'
          Arguments:
          [
            ResponseDefinitionArgument selection
            {
              #keys: '[6763.0.7954706]'
              Binding: 'this.Selection()'
            }
          ]
        }
        DelegatedResponseDefinition OnClick id:Responsedef_MatrixEditorSupplyPlanning_WebButton_OnClick
        {
          #keys: '[139394.0.2086142186]'
          Initiator: 'WebButton'
          IsInherited: false
          ResponseType: 'OnClick'
          Arguments:
          [
            ResponseDefinitionArgument selection
            {
              #keys: '[6763.0.7954779]'
              Binding: 'this.Selection()'
            }
          ]
        }
        DelegatedResponseDefinition OnClick id:Responsedef_MatrixEditorSupplyPlanning_WebMenu_OnClick_715
        {
          #keys: '[139394.0.2086142187]'
          Initiator: 'WebMenu'
          IsInherited: false
          ResponseType: 'OnClick'
          Arguments:
          [
            ResponseDefinitionArgument selectedrows
            {
              #keys: '[6763.0.7954852]'
              Binding: 'this.SelectedRows()'
            }
          ]
        }
        DelegatedResponseDefinition OnClick id:Responsedef_MatrixEditorSupplyPlanning_WebButton_OnClick_844
        {
          #keys: '[139394.0.2086142188]'
          Initiator: 'WebButton'
          IsInherited: false
          ResponseType: 'OnClick'
          Arguments:
          [
            ResponseDefinitionArgument selectedrows
            {
              #keys: '[6763.0.7954925]'
              Binding: 'this.SelectedRows()'
            }
          ]
        }
        DelegatedResponseDefinition OnClick id:Responsedef_MatrixEditorSupplyPlanning_WebMenu_OnClick_603
        {
          #keys: '[139394.0.2086142189]'
          Initiator: 'WebMenu'
          IsInherited: false
          ResponseType: 'OnClick'
          Arguments:
          [
            ResponseDefinitionArgument selectedcolumns
            {
              #keys: '[6763.0.7954998]'
              Binding: 'this.SelectedColumns()'
            }
          ]
        }
        DelegatedResponseDefinition OnClick id:Responsedef_MatrixEditorSupplyPlanning_WebButton_OnClick_858
        {
          #keys: '[139394.0.2086142190]'
          Initiator: 'WebButton'
          IsInherited: false
          ResponseType: 'OnClick'
          Arguments:
          [
            ResponseDefinitionArgument selectedcolumns
            {
              #keys: '[6763.0.7955071]'
              Binding: 'this.SelectedColumns()'
            }
          ]
        }
      ]
    }
    Component DataHolderShadowGlobalParameters
    {
      #keys: '[134266.2.80086814]'
      BaseType: 'WebDataHolder'
      Databinding: 'shadow[GlobalParameters_MP]*'
      Properties:
      [
        Taborder: 3
      ]
    }
    Component DataHolderSCVSelection
    {
      #keys: '[137862.0.631572686]'
      BaseType: 'WebDataHolder'
      Databinding: 'structured[ProductInStockingPoint_MP]*'
      Children:
      [
        Component DataExtractorSCVSelection
        {
          #keys: '[137862.0.631572858]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'structured[ProductInStockingPoint_MP]'
            Source: 'FormSupplyChainVisualization.DataHolderSelectedPISPs'
            Taborder: 0
            Transformation: 'Elements'
          ]
        }
      ]
      Properties:
      [
        Taborder: 1
      ]
    }
    Component DataHolderProcess
    {
      #keys: '[137862.0.631617050]'
      BaseType: 'WebDataHolder'
      Databinding: 'structured[Process_MP]*'
      Properties:
      [
        Taborder: 2
      ]
    }
    Component LabelLastPlanningAction
    {
      #keys: '[146446.0.211300870]'
      BaseType: 'WebLabel'
      Properties:
      [
        DataBinding: 'ApplicationMacroPlanner.DataHolderMacroPlanner.Data.LastPlanningAction'
        Taborder: 0
        Visible: false
      ]
    }
  ]
  Properties:
  [
    Image: 'ELEMENT_INTO'
    Title: 'Supply Planning'
    UseExistingInstance: true
  ]
}