Quintiq file version 2.0
#parent: ListOptimizer
Response OnClick (
  structured[LibOpt_Optimizer] selection
) id:Response_ListOptimizer_MenuPause_OnClick
{
  #keys: '[139164.4.117473062]'
  Body:
  [*
    traverse( selection, Elements.Run, run )
    {
      run.Pause();
    }
  *]
  CanBindMultiple: false
  DefinitionID => /ListOptimizer/Responsedef_ListOptimizer_Menu_OnClick
  GroupServerCalls: true
  Initiator: 'MenuPause'
  Precondition:
  [*
    runs := selectset( selection, Elements.Run, run, true );
    return LibOpt_Optimization::PreconditionExists( LibOpt_FormOptimizer.Optimization() )
           and LibOpt_Run::PausePrecondition( runs );
  *]
}
