Quintiq file version 2.0 
 | 
#parent: ListRun 
 | 
Response OnClick ( 
 | 
  structured[LibOpt_Run] selection 
 | 
) id:Response_ListRun_MenuEnableAutoCleanup_OnClick 
 | 
{ 
 | 
  #keys: '[144996.0.1717283429]' 
 | 
  Body: 
 | 
  [* 
 | 
    traverse( selection, Elements, run ) 
 | 
    { 
 | 
      run.AutoCleanupEnabled( true ); 
 | 
    } 
 | 
  *] 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID => /ListRun/Responsedef_ListRun_Menu_OnClick 
 | 
  GroupServerCalls: true 
 | 
  Initiator: 'MenuEnableAutoCleanup' 
 | 
  Precondition: 
 | 
  [* 
 | 
    return LibOpt_Run::SetAutoCleanupEnabledAllowed( selection, true ); 
 | 
  *] 
 | 
} 
 |