Quintiq file version 2.0 
 | 
#parent: ButtonPlanWholeHorizon 
 | 
Response OnClick () id:Response_DialogSelectOptimizer_ButtonPlanWholeHorizon_OnClick 
 | 
{ 
 | 
  #keys: '[110704.0.1744296927]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Set the planning period to the whole planning horizon 
 | 
     
 | 
    Dialog.SetDefaultPlanningStartAndEnd(); 
 | 
    Dialog.ShowHideComponents(); 
 | 
  *] 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick' 
 | 
  Precondition: 
 | 
  [* 
 | 
    return Period_MP::HasPeriod( feedback, MacroPlan ); 
 | 
  *] 
 | 
} 
 |