| Quintiq file version 2.0 | 
| #parent: ListPostponementSpecification | 
| Response OnClick ( | 
|   structured[PostponementSpecification] selection | 
| ) id:Response_ListPostponementSpecification_MenuDelete_OnClick | 
| { | 
|   #keys: '[135040.0.164757032]' | 
|   CanBindMultiple: false | 
|   DefinitionID => /ListPostponementSpecification/Responsedef_ListPostponementSpecification_WebMenu_OnClick | 
|   GroupServerCalls: true | 
|   Initiator: 'MenuDelete' | 
|   UserRequiresReadWrite: true | 
|   QuillAction | 
|   { | 
|     Body: | 
|     [* | 
|       // Delete a PostponementSpecification | 
|        | 
|       haspostponement := PostponementSpecification::HasPostponement( selection ); | 
|       if( not haspostponement or WebMessageBox::Warning( Translations::MP_Designer_GetConfirmation_DeletePostponementSpecification(), | 
|                                                          Translations::MP_Designer_YesNo(), | 
|                                                          true ) = 0 ) | 
|       { | 
|         PostponementSpecification::Delete( selection ); | 
|       } | 
|     *] | 
|   } | 
| } |