Quintiq file version 2.0
#root
#parent: LibMacroPlannerWebUI
OrphanComponent FormRoutings
{
  #keys: '[139394.0.1273010757]'
  Accessibility: 'Extensible'
  BaseType: 'WebForm'
  Children:
  [
    #child: ListRoutings
    Component DataHolderFilteredRoutings
    {
      #keys: '[158636.0.128611806]'
      BaseType: 'WebDataHolder'
      Databinding: 'structured[Routing]*'
      Children:
      [
        Component DataExtractorRoutingsFromNavigation
        {
          #keys: '[158636.0.128611826]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'structured[Routing]'
            Source: 'DataHolderRoutingsFromNavigationSelection'
            Taborder: 0
          ]
        }
        Component DataExtractorRoutingsWithMissingInformation
        {
          #keys: '[158636.0.169884216]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'MacroPlan'
            FixedFilter: 'not object.HasInputOrOutput() and not object.HasStep()'
            Source: 'ApplicationMacroPlanner.DataHolderMacroPlanner'
            Taborder: 1
            Transformation: 'Routing'
          ]
        }
      ]
      Properties:
      [
        Description: 'Combined result of navigation filter and new/incomplete routings.'
        MergeStyle: 'Union'
        Taborder: 1
      ]
    }
    Component DataHolderRoutingsFromNavigationSelection
    {
      #keys: '[158636.0.182609048]'
      BaseType: 'WebDataHolder'
      Databinding: 'structured[Routing]*'
      Children:
      [
        Component DataExtractorRoutingsFromUnitsNavigationSelection
        {
          #keys: '[158636.0.182609049]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'structured[Routing]'
            Source: 'DataHolderRoutingsFromUnits'
            Taborder: 0
          ]
        }
        Component DataExtractorRoutingsFromProductsNavigationSelection
        {
          #keys: '[158636.0.182609050]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'structured[Routing]'
            Source: 'DataHolderRoutingsFromProducts'
            Taborder: 1
          ]
        }
        Component DataExtractorRoutingsFromMacroplan
        {
          #keys: '[158636.0.182609051]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'MacroPlan'
            Source: 'ApplicationMacroPlanner.DataHolderMacroPlanner'
            Taborder: 2
            Transformation: 'Routing'
          ]
        }
      ]
      Properties:
      [
        Description: 'Contains combined data from units and products selected in the navigation pane. If both selections are empty then we show all the routings.'
        Taborder: 2
      ]
    }
    Component DataHolderRoutingsFromProducts
    {
      #keys: '[158636.0.184542571]'
      BaseType: 'WebDataHolder'
      Databinding: 'structured[Routing]*'
      Children:
      [
        Component DataExtractorRoutingsFromProductsNavigation
        {
          #keys: '[158636.0.184542609]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'structured[Product_MP]'
            Source: 'ApplicationMacroPlanner.DataHolderProduct'
            Taborder: 0
            Transformation: 'Elements.ProductInStockingPoint_MP.ProcessInputOutput.astype(OperationInputOutput).Operation.RoutingStep.Routing'
          ]
        }
        Component DataExtractorRoutingsWithoutProducts
        {
          #keys: '[158636.0.184542646]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'MacroPlan'
            FixedFilter: 'not object.HasNonSystemInputOrOutput() or not object.HasInputOrOutput()'
            Source: 'MacroPlan'
            Taborder: 1
            Transformation: 'Routing'
          ]
        }
      ]
      Properties:
      [
        Description: "Combining Routings from Products, which are selected in the navigation, with the routings, which don't have products."
        MergeStyle: 'Union'
        Taborder: 3
      ]
    }
    Component DataHolderRoutingsFromUnits
    {
      #keys: '[158636.0.186361545]'
      BaseType: 'WebDataHolder'
      Databinding: 'structured[Routing]*'
      Children:
      [
        Component DataExtractorRoutingsFromUnitsNavigation
        {
          #keys: '[158636.0.186361557]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'structured[Unit]'
            Source: 'ApplicationMacroPlanner.DataHolderUnit'
            Taborder: 0
            Transformation: 'Elements.Operation.RoutingStep.Routing'
          ]
        }
        Component DataExtractorRoutingsWithoutUnits
        {
          #keys: '[158636.0.186361576]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'MacroPlan'
            Description: "Filter out the routings which don't have any steps or which don't have any operations"
            FixedFilter: 'not object.HasStep() or object.MaxNrOfOperations() = 0'
            Source: 'MacroPlan'
            Taborder: 1
            Transformation: 'Routing'
          ]
        }
      ]
      Properties:
      [
        Description: "Combining Routings from Units, which are selected in the navigation, with the routings, which don't have units."
        MergeStyle: 'Union'
        Taborder: 4
      ]
    }
  ]
  Properties:
  [
    Image: 'TRANSFORM'
    Title: 'Routings'
    UseExistingInstance: true
  ]
}
