| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 | | Quintiq file version 2.0 |  | #parent: #root |  | Method VerifyOperationsNotReset ( |  |   MacroPlan macroplan, |  |   Routings routings |  | ) |  | { |  |   TextBody: |  |   [* |  |     if( this.Run().AssertTrue( this.TotalPeriodTasksQuantityBeforeResetPlan() > 0, 'Expected total period tasks quantity (before reset) to be non-zero.' ) ) |  |     { |  |       totalAfterReset := sum( routings, Elements.RoutingStep.Operation.PeriodTask_MP, pt, true, pt.Quantity() ); |  |       routingIDs := selectvalues( routings, Elements, r, true, r.ID() ).ToString( String::NewLine() ); |  |        |  |       this.Run().AssertEqual( this.TotalPeriodTasksQuantityBeforeResetPlan(), totalAfterReset,  |  |                               'Total period task operations before and after reset differs for routings' + String::NewLine() + routingIDs ); |  |     } |  |   *] |  |   InterfaceProperties { Accessibility: 'Module' } |  | } | 
 |