Quintiq file version 2.0
Component PanelSCV
{
  #keys: '[134266.2.556582]'
  BaseType: 'WebPanel'
  Children:
  [
    Component DataHolderSCVConfig
    {
      #keys: '[134266.2.557001]'
      BaseType: 'WebDataHolder'
      Databinding: 'shadow[SCVConfiguration]*'
      Properties:
      [
        Taborder: 0
      ]
    }
    Component DataHolderDisplayPISPIP
    {
      #keys: '[134266.2.557171]'
      BaseType: 'WebDataHolder'
      Databinding: 'ProductInStockingPointInPeriod'
      Properties:
      [
        Taborder: 2
      ]
    }
    Component CustomDrawSCV
    {
      #keys: '[134266.2.550027]'
      BaseType: 'WebCustomDraw'
      Children:
      [
        Component customdrawContextMenuSCV
        {
          #keys: '[134266.2.550028]'
          BaseType: 'customdrawContextMenu'
          Children:
          [
            Component MenuEdit
            {
              #keys: '[139394.0.527801480]'
              BaseType: 'WebMenu'
              Properties:
              [
                Image: 'WINDOW_WIDTH'
                Taborder: 0
                Title: 'Edit number of levels...'
              ]
            }
            Component MenuRefresh
            {
              #keys: '[139394.0.527817087]'
              BaseType: 'WebMenu'
              Properties:
              [
                Image: 'REFRESH'
                Taborder: 1
                Title: 'Refresh'
              ]
            }
            Component MenuSetFocus
            {
              #keys: '[139394.0.533524054]'
              BaseType: 'WebMenu'
              Properties:
              [
                BindOnDoubleClick: true
                Image: 'FLASH'
                Taborder: 2
                Title: 'Set focus'
              ]
              ResponseDefinitions:
              [
                ResponseDefinition OnClick id:Responsedef_customdrawContextMenuSCV_MenuSetFocus_OnClick
                {
                  #keys: '[139394.0.533513239]'
                  IsInherited: false
                  ResponseType: 'OnClick'
                  Arguments:
                  [
                    ResponseDefinitionArgument selection
                    {
                      #keys: '[2611.0.3299255]'
                      Binding: 'CustomDrawSCV.Selection()'
                    }
                  ]
                }
              ]
            }
          ]
          Properties:
          [
            Taborder: 0
          ]
        }
        Component CustomDrawDataLayerSCVEdge
        {
          #keys: '[134266.2.1644131]'
          BaseType: 'WebCustomDrawDataLayer'
          Children:
          [
            Component DataExtractorSCVEdge
            {
              #keys: '[134266.2.1644132]'
              BaseType: 'WebDataExtractor'
              Properties:
              [
                DataType: 'shadow[SCVConfiguration]'
                Source: 'DataHolderSCVConfig'
                Taborder: 0
                Transformation: 'SCVNode.SCVEdge'
              ]
            }
          ]
          Properties:
          [
            ContextMenu: 'customdrawContextMenuSCV'
            Taborder: 2
          ]
        }
        Component CustomDrawDataLayerSCVNode id:CustomDrawDataLayerSCVNode_549
        {
          #keys: '[134266.2.4940970]'
          BaseType: 'WebCustomDrawDataLayer'
          Children:
          [
            Component DataExtractorSCVNode id:DataExtractorSCVNode_593
            {
              #keys: '[134266.2.4940971]'
              BaseType: 'WebDataExtractor'
              Properties:
              [
                DataType: 'shadow[SCVConfiguration]'
                Source: 'DataHolderSCVConfig'
                Taborder: 0
                Transformation: 'SCVNode'
              ]
            }
            Component UserConfigurableInformationPISPIPNode
            {
              #keys: '[139394.0.396922176]'
              BaseType: 'WebUserConfigurableInformation'
              Properties:
              [
                ObjectType: 'shadow[SCVPISPIPNode]'
                Taborder: 1
                Tooltip:
                [*
                  
                  
                  | Inventory level end | VALUE( MacroPlan::GetDisplayValue( object.ProductInStockingPointInPeriod().InventoryLevelEnd() ) ) |  | Inventory holding cost | VALUE(object.ProductInStockingPointInPeriod().TotalBaseInventoryHoldingCost()) | VALUE( ifexpr( object.ProductInStockingPointInPeriod().IsLeaf(), '[' + object.ProductInStockingPointInPeriod().TotalBaseInventoryHoldingCostPerQuantity().Format('N(Dec(2))') + object.ProductInStockingPointInPeriod().ProductInStockingPoint_MP().StockingPoint_MP().Currency_MP().Symbol()  + '/' + object.ProductInStockingPointInPeriod().ProductInStockingPoint_MP().UnitOfMeasure_MP().Name() + ']', '' ) ) | 
                  
                  
                  | Total supply | VALUE(object.ProductInStockingPointInPeriod().SupplyQuantity()) |  | Total demand | VALUE(object.ProductInStockingPointInPeriod().GetDemandQuantity()) | 
                  
                  
                  | Inventory start | VALUE( MacroPlan::GetDisplayValue( object.ProductInStockingPointInPeriod().InventoryLevelStartPISPIP().InventoryLevelEnd() ) ) |  | Sales demand | VALUE(object.ProductInStockingPointInPeriod().SalesDemandQuantity()) | 
                  
                  
                  | New supply | VALUE(object.ProductInStockingPointInPeriod().NewSupplyQuantity()) |  | Dependent demand | VALUE(object.ProductInStockingPointInPeriod().DependentDemandQuantity()) | 
                  
                  
                  | Inventory supply | VALUE(object.ProductInStockingPointInPeriod().InventorySupplyQuantity()) |  | VALUE( ifexpr( object.ProductInStockingPointInPeriod().TargetInventoryLevel() >= object.ProductInStockingPointInPeriod().MinInventoryLevel() , 'Safety stock', 'Minimum inventory level' ) ) | VALUE( ifexpr( object.ProductInStockingPointInPeriod().TargetInventoryLevel() >= object.ProductInStockingPointInPeriod().MinInventoryLevel() , object.ProductInStockingPointInPeriod().TargetInventoryLevel(), object.ProductInStockingPointInPeriod().MinInventoryLevel() ) ) | 
                  
                *]
              ]
            }
            Component UserConfigurableInformationLaneNode
            {
              #keys: '[139394.0.396925677]'
              BaseType: 'WebUserConfigurableInformation'
              Properties:
              [
                ObjectType: 'shadow[SCVLaneNode]'
                Taborder: 2
                Tooltip: 'VALUE(object.Tooltip())'
              ]
            }
            Component UserConfigurableInformationSDNode
            {
              #keys: '[139394.0.396925744]'
              BaseType: 'WebUserConfigurableInformation'
              Properties:
              [
                ObjectType: 'shadow[SCVSDNode]'
                Taborder: 3
                Tooltip: 'VALUE(object.Tooltip())'
              ]
            }
            Component UserConfigurableInformationISNode
            {
              #keys: '[139394.0.396925811]'
              BaseType: 'WebUserConfigurableInformation'
              Properties:
              [
                ObjectType: 'shadow[SCVISNode]'
                Taborder: 4
                Tooltip: 'VALUE(object.Tooltip())'
              ]
            }
            Component UserConfigurableInformationRoutingStepNode
            {
              #keys: '[139394.0.396923386]'
              BaseType: 'WebUserConfigurableInformation'
              Properties:
              [
                ObjectType: 'shadow[SCVRoutingStepNode]'
                Taborder: 5
                Tooltip: 'VALUE(object.Tooltip())'
              ]
            }
          ]
          Properties:
          [
            ContextMenu: 'customdrawContextMenuSCV'
            Taborder: 3
          ]
        }
        Component CustomDrawDataLayerSCVConfig
        {
          #keys: '[134266.2.28133675]'
          BaseType: 'WebCustomDrawDataLayer'
          Children:
          [
            Component DataExtractorSCVConfig
            {
              #keys: '[134266.2.28133676]'
              BaseType: 'WebDataExtractor'
              Properties:
              [
                DataType: 'shadow[SCVConfiguration]'
                Source: 'DataHolderSCVConfig'
                Taborder: 0
              ]
            }
          ]
          Properties:
          [
            AutoDrawHighlighting: 'none'
            AutoDrawSelection: 'none'
            ContextMenu: 'customdrawContextMenuSCV'
            Taborder: 1
          ]
        }
      ]
      Properties:
      [
        Taborder: 4
      ]
      ResponseDefinitions:
      [
        DelegatedResponseDefinition OnClick id:Responsedef_CustomDrawSCV_WebButton_OnClick
        {
          #keys: '[139394.0.2086142191]'
          Initiator: 'WebButton'
          IsInherited: false
          ResponseType: 'OnClick'
          Arguments:
          [
            ResponseDefinitionArgument selection
            {
              #keys: '[6763.0.7956445]'
              Binding: 'this.Selection()'
            }
          ]
        }
        DelegatedResponseDefinition OnClick id:Responsedef_CustomDrawSCV_WebMenu_OnClick
        {
          #keys: '[139394.0.2086142192]'
          Initiator: 'WebMenu'
          IsInherited: false
          ResponseType: 'OnClick'
          Arguments:
          [
            ResponseDefinitionArgument selection
            {
              #keys: '[6763.0.7956518]'
              Binding: 'this.Selection()'
            }
          ]
        }
      ]
    }
    Component DataHolderPISPIPFromProductPlanningMatrix
    {
      #keys: '[139394.0.533527312]'
      BaseType: 'WebDataHolder'
      Databinding: 'structured[ProductInStockingPointInPeriod]*'
      Children:
      [
        Component DataExtractorLeafPIPSIP id:DataExtractorLeafPIPSIP_715
        {
          #keys: '[139394.0.533527513]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'structured[ProductInStockingPointInPeriod]'
            Source: 'FormPlanning.DataHolderSelectedPISPIPsInProductPlanningMatrix'
            Taborder: 0
            Transformation: 'Elements'
          ]
        }
      ]
      Properties:
      [
        Taborder: 1
      ]
    }
    Component DataHolderSelectedPISPs
    {
      #keys: '[139394.0.533570401]'
      BaseType: 'WebDataHolder'
      Databinding: 'structured[ProductInStockingPoint_MP]*'
      Properties:
      [
        Taborder: 3
      ]
    }
  ]
  Properties:
  [
    Taborder: 0
  ]
}