| Quintiq file version 2.0 | 
| #parent: GanttChartPeriods_715 | 
| Response OnClick ( | 
|   Period_MP selection | 
| ) id:Response_GanttChartPeriods_715_MenuRollToThisPeriod_OnClick | 
| { | 
|   #keys: '[137862.0.750454002]' | 
|   CanBindMultiple: false | 
|   DefinitionID => /GanttChartPeriods_715/Responsedef_GanttChartPeriods_715_WebMenu_OnClick | 
|   Initiator: 'MenuRollToThisPeriod' | 
|   Precondition: | 
|   [* | 
|     return selection.CanRollPeriod( feedback ); | 
|   *] | 
|   QuillAction | 
|   { | 
|     Body: | 
|     [* | 
|       // Roll to this period | 
|       resetKPIhorizon := MacroPlan.GlobalParameters_MP().UpdateKPIHorizonAtPeriodRoll(); | 
|       if ( WebMessageBox::Question( Translations::MP_Designer_PeriodRollConfirmation( resetKPIhorizon ),  | 
|                                     Translations::MP_Designer_YesNo() ) = 0 ) | 
|       {  | 
|         selection.RollPeriod(); | 
|       } | 
|     *] | 
|     GroupServerCalls: false | 
|   } | 
| } |