Quintiq file version 2.0
#parent: ListPeriodSpecification
Response OnClick (
  structured[PeriodSpecification_MP] selection
) id:Response_ListPeriodSpecification_MenuDelete_OnClick
{
  #keys: '[112884.1.822292087]'
  Body:
  [*
    if( ApplicationLibMacroPlanner.GetChangeOfPlanningPeriodAtDeletionWarningDialog( selection ) )
    {
      // Delete period specifications
      PeriodSpecification_MP::Delete( selection );
    }
  *]
  DefinitionID => /ListPeriodSpecification/Responsedef_ListPeriodSpecification_Menu_OnClick
  Initiator: 'MenuDelete'
  Precondition:
  [*
    return PeriodSpecification_MP::CanDelete( selection, feedback );
  *]
}
