Quintiq file version 2.0 
 | 
#parent: #root 
 | 
StaticMethod GetShelfLifeDetailsDebug ( 
 | 
  BinaryValue quantityvectorasbv, 
 | 
  BinaryValue agevectorasbv 
 | 
) const declarative remote as String 
 | 
{ 
 | 
  Description: 'This method will return the concatenated shelf-life details for debug. E.g. Quantity(Age), Quantity(Age), ...' 
 | 
  TextBody: 
 | 
  [* 
 | 
    details := construct( Strings ); 
 | 
     
 | 
    agevector := RealVector::Construct( agevectorasbv ); 
 | 
    quantityvector := RealVector::Construct( quantityvectorasbv ); 
 | 
     
 | 
    agevector_size := agevector.Size(); 
 | 
     
 | 
    for( i := 0; i < agevector_size; i++ ) 
 | 
    { 
 | 
      age := agevector.Get( i ); 
 | 
      //quantity := [Number] quantityvector.Get( i ); 
 | 
      quantity := [Real] quantityvector.Get( i ).Round( 3 ); 
 | 
       
 | 
      string := [String] quantity + "(" + [String] age + ")"; 
 | 
      details.Add( string ); 
 | 
    } 
 | 
     
 | 
    return details.ToString( ', ' ); 
 | 
  *] 
 | 
} 
 |