| Quintiq file version 2.0 | 
| #parent: #root | 
| Function CalcSanityCheckSupplyTargetAttributes | 
| { | 
|   TextBody: | 
|   [* | 
|     feedback := construct( Strings ); | 
|     sanitycheckfeedback := construct( Strings ); | 
|      | 
|     this.DoSanityCheckGroupSupplyTarget( feedback, sanitycheckfeedback ); | 
|      | 
|     mostseveryviolation := SanityCheckCategoryLevel::GetMostSevereSanityCheckViolation( sanitycheckfeedback ); | 
|     violationcount := SanityCheckCategoryLevel::GetSanityCheckViolationCount( sanitycheckfeedback, mostseveryviolation ); | 
|      | 
|      | 
|     this.SanityCheckSupplyTargetMostSevere( mostseveryviolation ); | 
|     this.SanityCheckSupplyTargetMostSevereCount( violationcount ); | 
|     this.SanityCheckSupplyTargetTotalViolationCount( feedback.Size() ); | 
|   *] | 
| } |