Quintiq file version 2.0
#parent: #root
Method GetCapacityPlanningGanttChart () as internal[GanttChart] id:Method_FormProductPlanningMatrix_GetCapacityPlanningGanttChart
{
  #keys: '[127710.1.837253183]'
  Body:
  [*
    // Return FormProductPlanning.GanttChartDemandSupplyGroup
    form := Application.Frame().FindChildObject( 'FormCapacityPlanning' ).astype( FormCapacityPlanning );
    ganttchart := null( GanttChart );
    
    if( not isnull( form ) )
    {
      ganttchart := form.FindChildObject( 'GanttChartUnitCalendar' ).astype( GanttChart );
    }
    
    return ganttchart;
  *]
}
