Quintiq file version 2.0
#parent: #root
Method CreateSubscription (
  structured[LibCal_Calendar] subscribers_i,
  LibCal_LeadingParticipation subscribeTo_i
) id:Method_LibCal_dlgSubscription_CreateSubscription
{
  #keys: '[131094.1.564187147]'
  Body:
  [*
    this.Title( "Create Subscription" );
    
    calendarsAsSet := subscribers_i.Copy();
    dhSubscribers.Data( &calendarsAsSet );
    
    dhParticipationToSubscribeTo.Data( subscribeTo_i );
    
    lblEvent.Text( subscribeTo_i.Event().Subject() );
    
    this.Open( subscribeTo_i );
  *]
}
