lazhen
2024-09-10 11e66e438e5affbba0a7cdb258fbad1ab54a7dd8
1
2
3
4
5
6
7
8
9
10
11
12
Quintiq file version 2.0
#parent: #root
FunctionOverride CalcNumberOfViolation
{
  TextBody:
  [*
    nrofviolation := sum( this, InvalidTrip, inv, inv.SanityCheckLotSizeTotalViolationCount() )  
                     + sum( this, InvalidPeriodTaskOperation, inv, inv.SanityCheckLotSizeTotalViolationCount() )
                     + sum( this, InvalidDependentDemand, inv, inv.SanityCheckDataTotalViolationCount() )  
    this.NumberOfViolation( nrofviolation );
  *]
}