Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Function CalcSanityCheckMinInventoryLevelAttributes 
 | 
{ 
 | 
  TextBody: 
 | 
  [* 
 | 
    feedback := construct( Strings ); 
 | 
    sanitycheckfeedback := construct( Strings ); 
 | 
     
 | 
    this.ProductInStockingPointInPeriodPlanning().DoSanityCheckGroupMinInventoryLevel( feedback, sanitycheckfeedback ); 
 | 
     
 | 
    mostseveryviolation := SanityCheckCategoryLevel::GetMostSevereSanityCheckViolation( sanitycheckfeedback ); 
 | 
    violationcount := SanityCheckCategoryLevel::GetSanityCheckViolationCount( sanitycheckfeedback, mostseveryviolation ); 
 | 
     
 | 
     
 | 
    this.SanityCheckMinInventoryLevelMostSevere( mostseveryviolation ); 
 | 
    this.SanityCheckMinInventoryLevelMostSevereCount( violationcount ); 
 | 
    this.SanityCheckMinInventoryLevelTotalViolationCount( feedback.Size() ); 
 | 
  *] 
 | 
} 
 |