Quintiq file version 2.0
#parent: lstSubscribers
Response OnClick (
  structured[LibCal_Subscription] selection
) id:Response_lstSubscribers_mnDelete_OnClick
{
  #keys: '[415136.0.666211722]'
  CanBindMultiple: false
  DefinitionID => /lstSubscribers/Responsedef_lstSubscribers_WebMenu_OnClick
  Initiator: 'mnDelete'
  QuillAction
  {
    Body:
    [*
      traverse( selection, Elements, e ){
        leadingP := e.LeadingParticipation();
        if( leadingP.Subscription( relsize ) > 0 ){
          leadingP.Event().Delete();
          leadingP.Delete();
        }
        e.Delete();
      }
    *]
    GroupServerCalls: false
  }
}
