Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method InitializeRecurrencePeriod 
 | 
{ 
 | 
  TextBody: 
 | 
  [* 
 | 
    // Set the RecurrencePeriod of the LeadingParticipation. 
 | 
    leadingParticipation := this.LeadingParticipation(); 
 | 
     
 | 
    if( not isnull( leadingParticipation ) and 
 | 
        isnull( leadingParticipation.RecurrencePeriod() ) ) 
 | 
    { 
 | 
      leadingParticipation.SetRecurrencePeriodWithoutEnd(); 
 | 
    } 
 | 
  *] 
 | 
  InterfaceProperties { Accessibility: 'Module' } 
 | 
} 
 |