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:
            [*
              <table>
              <tr>
              <td><b>Suggested quantity          </b></td>
              <td>VALUE( object.ProductInStockingPointInPeriodPlanning().GetUnfulfilledQuantity() + object.Quantity()  ) VALUE( object.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().UnitOfMeasureName() ) </td></tr>
              <tr>
              <td><b>Feedback quantity          </b></td>
              <td>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) ' ) )</td>
              </tr>
              </table>
              <hr>
              <table>
              <tr>
              <td><b>VALUE(object.Process_MP().GetDisplayAccount())  </b></td>
              <td>VALUE(object.Process_MP().GetDisplayCost())</td><td> </td><td> </td><td> </td>
              </tr>
              <tr>
              <td><b>Lead time       </b></td>
              <td>VALUE(object.Process_MP().LeadTime())</td><td> </td><td><b> </b></td><td></td>
              </tr>
              <tr>
              <td><b>Minimum quantity      </b></td>
              <td>VALUE(object.Process_MP().MinimumQuantity())</td><td> </td>
              <td><b>Maximum quantity       </b></td>
              <td>VALUE(ifexpr( object.Process_MP().HasUserMaximumQuantity(), [String]object.Process_MP().MaximumQuantity(), '-' ) )</td>
              </tr>
              <tr>
              <td><b>Lot size       </b></td>
              <td>VALUE(object.Process_MP().LotSize())</td><td> </td><td> </td><td> </td>
              </tr>
              </table>
            *]
          ]
        }
        #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
  ]
}
