Quintiq file version 2.0
Component GanttChartCapacityPlanning
{
  #keys: '[139394.1.1196563041]'
  BaseType => //BaseFormCapacityPlanning/GanttChartCapacityPlanning
  IsDerived: true
  Children:
  [
    Component GanttChartRowCapacityPlanning
    {
      #keys: '[139394.1.1196563044]'
      BaseType => //BaseFormCapacityPlanning/GanttChartCapacityPlanning/GanttChartRowCapacityPlanning
      IsDerived: true
      Children:
      [
        Component GanttChartNodeCapacityPlanningSP id:GanttChartNodeCapacityPlanningSP_682
        {
          #keys: '[145730.0.1108460904]'
          BaseType: 'WebGanttChartNode'
          Properties:
          [
            ContextMenu: 'gcContextMenuCapacityPlanning'
            End: 'object.Period_MP().End()'
            FilterArguments: 'navperiods:QLibMacroPlannerWebUI::ApplicationMacroPlanner.DataHolderPeriods'
            FixedFilter: 'not object.StockingPoint_MP().IsSystem() and  exists( navperiods, Elements, period, period=object.Period_MP() )'
            Relation: 'astype(StockingPoint_MP).StockingPointInPeriod'
            Start: 'object.Period_MP().Start()'
            Taborder: 3
          ]
        }
        Component GanttChartRowCapacityPlanningChild
        {
          #keys: '[136682.2.832579498]'
          BaseType => //BaseFormCapacityPlanning/GanttChartCapacityPlanning/GanttChartRowCapacityPlanningChild
          IsDerived: true
          Children:
          [
            Component GanttChartNodeCapacityPlanningChildUnit
            {
              #keys: '[136682.2.833673230]'
              BaseType => //BaseFormCapacityPlanning/GanttChartCapacityPlanning/GanttChartNodeCapacityPlanningChildUnit
              IsDerived: true
              Properties:
              [
                ContextMenu: 'gcContextMenuCapacityPlanning'
                FilterArguments: 'navperiods:QLibMacroPlannerWebUI::ApplicationMacroPlanner.DataHolderPeriods'
              ]
            }
          ]
        }
        Component GanttChartNodeCapacityPlanningUnit
        {
          #keys: '[139394.1.1196563046]'
          BaseType => //BaseFormCapacityPlanning/GanttChartCapacityPlanning/GanttChartNodeCapacityPlanningUnit
          IsDerived: true
          Properties:
          [
            ContextMenu: 'gcContextMenuCapacityPlanning'
          ]
        }
      ]
      Properties:
      [
        ContextMenu: 'gcContextMenuCapacityPlanningRow'
      ]
    }
    #child: gcContextMenuCapacityPlanning
    Component uciNodeUnitPeriodTransportQuantity
    {
      #keys: '[136682.2.781320454]'
      BaseType => //BaseFormCapacityPlanning/GanttChartCapacityPlanning/uciNodeUnitPeriodTransportQuantity
      IsDerived: true
      Properties:
      [
        Tooltip:
        [*
          <table>
          <tr><td><b>Period</b></td><td>VALUE( object.Start() ) to VALUE( object.End()) </td></tr>
          <tr><td><font color=VALUE(object.GetTooltipColorForBaseCapacity() )><b>SYNONYM(object.TotalMaximumQuantity)</b></font></td><td><font color=VALUE(object.GetTooltipColorForBaseCapacity() )>VALUE(object.TotalMaximumQuantity() ) VALUE( "" + object.Unit().UnitOfMeasure_MP().Name())</font></td>
          <td><font color=VALUE(object.GetTooltipColorForSecondaryCapacity() )><b>VALUE( ifexpr( object.HasSecondaryCapacity(), Translations::MP_UnitPeriodTransportQuantity_Tooltip_SecondaryAvailableCapacity(), '' ) )</b></font></td><td><font color=VALUE(object.GetTooltipColorForSecondaryCapacity() )>VALUE( ifexpr( object.HasSecondaryCapacity(), object.TotalSecondaryMaximumQuantity().Format( 'N(Dec(0), Thousands)' ) + ' ' + object.SecondaryUnitOfMeasureName(), '' ) )</font></td></tr>
          <tr><td><font color=VALUE(object.GetTooltipColorForBaseCapacity() )><b>SYNONYM(object.UsedQuantity)</b></font></td><td><font color=VALUE(object.GetTooltipColorForBaseCapacity() )>VALUE(object.UsedQuantity()) VALUE( "" + object.Unit().UnitOfMeasure_MP().Name())</font></td>
          <td><font color=VALUE(object.GetTooltipColorForSecondaryCapacity() )><b>VALUE( ifexpr( object.HasSecondaryCapacity(), Translations::MP_UnitPeriodTransportQuantity_Tooltip_UsedCapacity(), '' ) )</b></font></td><td><font color=VALUE(object.GetTooltipColorForSecondaryCapacity() )>VALUE( ifexpr( object.HasSecondaryCapacity(), object.SecondaryUsedQuantity().Format( 'N(Dec(0), Thousands)' ) + ' ' + object.SecondaryUnitOfMeasureName(), '' ) )</font></td></tr>
          <tr><td><font color=VALUE(object.GetTooltipColorForBaseCapacity() )><b>SYNONYM(object.FreeQuantity)</b></font></td><td><font color=VALUE(object.GetTooltipColorForBaseCapacity() )>VALUE(object.FreeQuantity()) VALUE( "" + object.Unit().UnitOfMeasure_MP().Name())</font></td>
          <td><font color=VALUE(object.GetTooltipColorForSecondaryCapacity() )><b>VALUE( ifexpr( object.HasSecondaryCapacity(), Translations::MP_UnitPeriodTransportQuantity_Tooltip_FreeCapacity(), '' ) )</b></font></td><td><font color=VALUE(object.GetTooltipColorForSecondaryCapacity() )>VALUE( ifexpr( object.HasSecondaryCapacity(), object.SecondaryFreeQuantity().Format( 'N(Dec(0), Thousands)' ) + ' ' + object.SecondaryUnitOfMeasureName(), '' ) )</font></td></tr>
          </table>
          VALUE( object.ImgWebGanttChartSeverity()) VALUE( object.GetCapacitySeverityText() )
        *]
      ]
    }
  ]
}
