| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 | | Quintiq file version 2.0 |  | #parent: #root |  | Method Disable |  | { |  |   TextBody: |  |   [* |  |     // Akari Nov-1-2024 (created) |  |     if( this.IsEnable()){ |  |       this.IsEnable( false ); |  |        |  |       pispips := selectset( this,ProductInStockingPoint_MP.ProductInStockingPointInPeriod.astype( ProductInStockingPointInPeriodPlanningLeaf ),period,period.Period_MP().StartDate() <= this.LockDate() ); |  |       traverse( pispips,Elements,element ){ |  |         element.IsLock( false ); |  |       } |  |        |  |       ProductInStockingPointInPeriod::LockUnlockPlanning( pispips, false, true ); |  |     } |  |   *] |  | } | 
 |