Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method GetHasValidInput ( 
 | 
  output Strings feedback_o, 
 | 
  output Strings sanitycheckfeedback_o 
 | 
) declarative remote as Boolean 
 | 
{ 
 | 
  Description: 'check if shift pattern has valid input' 
 | 
  TextBody: 
 | 
  [* 
 | 
    // desmondt Nov-12-2014 (created) 
 | 
    feedback := ''; 
 | 
    sanitycheckfeedback := ''; 
 | 
    durations := construct( Durations ); 
 | 
    durations.Add( this.Capacity() ); 
 | 
     
 | 
    valid := ShiftDay::ValidateInput( feedback, 
 | 
                                      sanitycheckfeedback, 
 | 
                                      durations ); 
 | 
     
 | 
     
 | 
    if( not isnull( feedback_o ) and not valid ) 
 | 
    { 
 | 
      feedback_o.Add( feedback ); 
 | 
      sanitycheckfeedback_o.Add( sanitycheckfeedback ); 
 | 
    } 
 | 
     
 | 
    return valid; 
 | 
  *] 
 | 
} 
 |