Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method Update ( 
 | 
  Number nrofperiodsforavgdemand, 
 | 
  Duration durationlotsizehorizon, 
 | 
  Duration durationinventorymixbalancingcheck, 
 | 
  Number nrofperiodsinwindow, 
 | 
  Number nrofperiodsperslide, 
 | 
  Number nrofperiodssmartplan, 
 | 
  Boolean useslidingwindowsapproach 
 | 
) 
 | 
{ 
 | 
  Description: 'Update values of GlobalParameter_MP base on selected strategy' 
 | 
  TextBody: 
 | 
  [* 
 | 
    // Update values of GlobalParameter_MP 
 | 
    this.DefaultNumberOfPeriodsForAvgDemand( nrofperiodsforavgdemand ); 
 | 
    this.DurationInventoryMixBalancingCheck( durationinventorymixbalancingcheck ); 
 | 
    this.DurationLotsizeHorizon( durationlotsizehorizon ); 
 | 
    this.NumberOfPeriodsInWindow( nrofperiodsinwindow ); 
 | 
    this.NumberOfPeriodsPerSlide( nrofperiodsperslide ); 
 | 
    this.NumberOfPeriodsSmartPlan( nrofperiodssmartplan ); 
 | 
    this.UseSlidingWindowsApproach( useslidingwindowsapproach ); 
 | 
  *] 
 | 
} 
 |