Quintiq file version 2.0 
 | 
#parent: #root 
 | 
FunctionOverride CalcStandardDeviationLeadTime 
 | 
{ 
 | 
  Description: 
 | 
  [* 
 | 
    The StandardDeviationLeadTime is equal to the user defined StandardDeviationLeadTimeLaneLeg if user explicitly set the value of StandardDeviationLeadTimeLaneLeg as true. 
 | 
    Otherwise, it should be StandardDeviationLeadTime of the Lane. 
 | 
  *] 
 | 
  TextBody: 
 | 
  [* 
 | 
    // edz1 May-17-2016 (created) 
 | 
     
 | 
    value := this.Lane().StandardDeviationLeadTime(); 
 | 
     
 | 
    if( this.HasStandardDeviationLeadTimeLaneLeg() ) 
 | 
    { 
 | 
      value := this.StandardDeviationLeadTimeLaneLeg(); 
 | 
    } 
 | 
     
 | 
    this.StandardDeviationLeadTime( value ); 
 | 
  *] 
 | 
} 
 |