Quintiq file version 2.0
Component ListInventoryValueAndCost
{
  #keys: '[124808.2.598671199]'
  BaseType: 'List'
  Children:
  [
    #child: ColumnTitles
    Component popupList
    {
      #keys: '[124808.2.598671202]'
      BaseType: 'popupList'
      Children:
      [
        Component PopupParent
        {
          #keys: '[514.0.129466]'
          BaseType: 'PopupParent'
          IsDerived: true
          Children:
          [
            Component MenuSeparator { #keys: '[124808.2.598671210]' BaseType: 'Menu' Properties: [ Separator: true ] }
            Component MenuNewInventoryValueAndCost { #keys: '[124808.2.598671211]' BaseType: 'Menu' Properties: [ Image: 'NEW' Shortcut: 'Ins' Text: '&New...' ] }
            Component MenuEditInventoryValueAndCost { #keys: '[124808.2.598671212]' BaseType: 'Menu' Properties: [ BindDoubleClick: true Image: 'EDITOBJECT' Shortcut: 'Enter' Text: '&Edit...' ] }
            Component MenuDeleteInventoryValueAndCost { #keys: '[124808.2.598671213]' BaseType: 'Menu' Properties: [ Image: 'TRASH' Shortcut: 'Del' Text: '&Delete' ] }
          ]
          Properties:
          [
            ModeledStringList ChildOrdering
            {
              c: MenuActions
              c: MenuFilter
              c: menuListQuintiqSetQuantor
              c: MenuSeparator
              c: MenuNewInventoryValueAndCost
              c: MenuEditInventoryValueAndCost
              c: MenuDeleteInventoryValueAndCost
            }
          ]
        }
      ]
      Properties:
      [
        PosX: 35
        PosY: 60
      ]
    }
    Component GUIDataExtractorInventoryValueAndCost
    {
      #keys: '[124808.2.598671203]'
      BaseType: 'GUIDataExtractor'
      Properties:
      [
        Component: 'ListProductInStockingPoints'
        DataType: 'ProductInStockingPoint_MP'
        PosX: 5
        PosY: 30
        Transformation: 'InventoryValueAndCost'
      ]
    }
    Component GUIDataSetLevelInventoryValueAndCost
    {
      #keys: '[124808.2.598671204]'
      BaseType: 'GUIDataSetLevel'
      Properties:
      [
        Columns: 'AccountCostColumns'
        DataExtractor: 'GUIDataExtractorInventoryValueAndCost'
        PosX: 35
        PosY: 30
      ]
    }
    Component UserConfigurableInformationInventoryValueAndCost
    {
      #keys: '[124808.2.614116006]'
      BaseType: 'UserConfigurableInformation'
      Properties:
      [
        CanConfigure: false
        Identification: 'InventoryValueAndCost'
        ObjectType: 'InventoryValueAndCost'
        PosX: 76
        PosY: 28
        TooltipText:
        [*
          VALUE( ifexpr( exists( object, Product_MP.ProductValueAndCost, pvc, pvc.AccountName() = object.AccountName() and pvc.CostDriver() = object.CostDriver() and pvc.Start() <= object.Start() ),
                                    "Cost is overriding base cost defined on product.",
                                    ifexpr( object.Product_MP().MacroPlan().GlobalParameters_MP().HasDefaultInventoryHoldingCost() and object.Product_MP().MacroPlan().GlobalParameters_MP().DefaultAccountForInventoryHolding() = object.AccountName(),
                                                "Cost is overriding base cost defined on global parameters.",
                                                "" ) ) )
        *]
      ]
    }
  ]
  Properties:
  [
    AutoDrag: true
    BackgroundColor: 'Window'
    ContextMenu: 'popupList'
    FullRowSelect: true
    ModeledStringList ChildOrdering
    {
      c: ColumnTitles
      c: popupList
      c: GUIDataExtractorInventoryValueAndCost
      c: GUIDataSetLevelInventoryValueAndCost
      c: UserConfigurableInformationInventoryValueAndCost
    }
  ]
  ResponseDefinitions:
  [
    DelegatedResponseDefinition OnClick id:Responsedef_ListInventoryValueAndCost_Menu_OnClick
    {
      #keys: '[124808.2.598671205]'
      Initiator: 'Menu'
      IsInherited: false
      ResponseType: 'OnClick'
      Arguments:
      [
        ResponseDefinitionArgument selection
        {
          #keys: '[124808.2.598671206]'
          Binding: 'this.Selection()'
        }
        ResponseDefinitionArgument masterselection
        {
          #keys: '[124808.2.598671209]'
          Binding: 'ListProductInStockingPoints.Selection()'
        }
      ]
    }
    DelegatedResponseDefinition OnClick id:Responsedef_ListInventoryValueAndCost_GUIButtonBase_OnClick
    {
      #keys: '[124808.2.598671207]'
      Initiator: 'GUIButtonBase'
      IsInherited: false
      ResponseType: 'OnClick'
      Arguments:
      [
        ResponseDefinitionArgument selection
        {
          #keys: '[124808.2.598671208]'
          Binding: 'this.Selection()'
        }
      ]
    }
  ]
}
