limj
2023-09-21 a48964dda605457034df33a4931669dde0de8340
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, InvalidPeriodTaskOperation, inv, inv.SanityCheckCampaignTotalViolationCount() )  
                     + sum( this, InvalidCampaign, inv, inv.SanityCheckCampaignTotalViolationCount() )
                     + sum( this, InvalidTransition, inv, inv.SanityCheckTransitionTotalViolationCount() );
    this.NumberOfViolation( nrofviolation );
  *]
}