| Quintiq file version 2.0 | 
| #parent: ListPeriodSpec_858 | 
| Response OnClick ( | 
|   structured[PeriodSpecification_MP] selection | 
| ) id:Response_ListPeriodSpec_858_MenuDelete_OnClick | 
| { | 
|   #keys: '[137862.0.750454075]' | 
|   CanBindMultiple: false | 
|   DefinitionID => /ListPeriodSpec_858/Responsedef_ListPeriodSpec_858_WebMenu_OnClick | 
|   Initiator: 'MenuDelete' | 
|   Precondition: | 
|   [* | 
|     return PeriodSpecification_MP::CanDelete( selection, feedback ); | 
|   *] | 
|   QuillAction | 
|   { | 
|     Body: | 
|     [* | 
|       // Get confirmation | 
|       result := true; | 
|        | 
|       if( PeriodSpecification_MP::GetChangeOfPlanningPeriodsAtDeletion( selection ) ) | 
|       {                                                        | 
|         message := Translations::MP_PeriodSpecification_MP_ChangePlanningPeriodDefinition(); | 
|         result := WebMessageBox::Question( message, Translations::MP_Designer_YesNo() ) = 0; | 
|       } | 
|        | 
|       if( result ) | 
|       { | 
|         PeriodSpecification_MP::Delete( selection ); | 
|       } | 
|     *] | 
|     GroupServerCalls: false | 
|   } | 
| } |