admin
2025-01-22 7e31442f0e9b07764e9c6a9680d3d4aeba5fe1de
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
Quintiq file version 2.0
#parent: #root
Method Update (
  Real absolutelowerlimit,
  Real absoluteupperlimit,
  Duration autoscalingfrequency,
  Real balancetolerance,
  String basecurrency,
  Real biastolerance,
  Real bottlenecktolerance,
  Duration bottleneckwindowend,
  Duration bottleneckwindowstart,
  Real absolutevalueinventoryholding,
  String accountinventoryholding,
  Real allocation,
  Real annualinterestrateinventoryholding,
  Real efficiency,
  Real maxcapacitystockingpoint,
  Real maxcapacityperdayforunit,
  Real maxloadpercentage,
  Real mincapacityperdayforunit,
  Number nrofperiodsforavgdemand,
  Real operationinputoutputqty,
  Real servicelevel,
  String shiftpatternname,
  String smartplanstrategy,
  String uom,
  String disaggregationratio,
  Duration durationlotsizehorizon,
  Duration durationinvtmixbalancing,
  Date kpihorizonend,
  Boolean hasabsolutevalueinventoryholding,
  Boolean hasdefaultinventoryholdingcost,
  Boolean ispeggingafteroptimization,
  Real lotsizetolerance,
  Real minsalesdemandqtythreshold,
  Real noisethresholdoptimizeroutput,
  Number nrofdecimals,
  Number nrofperiodsinwindow,
  Number nrofperiodsperslide,
  Number nrofperiodssmartplan,
  Real outliertolerance,
  Duration periodtaskvalidity,
  Boolean runoptimizersynchronously,
  Number sanitychecklimit,
  Date kpihorizonstart,
  Real stockingpointbottleneckthreshold,
  String periodspecificationforunitactual,
  Real unitlowerbottleneckthreshold,
  Real unitupperbottleneckthreshold,
  Boolean usedefaultdisplayindex,
  Boolean useslidingwindowsapproach,
  Boolean useaudittrail,
  Boolean updatekpihorizonatperiodroll,
  String laneleadtimelogic,
  String operationleadtimelogic,
  Duration changeovertime,
  Number mintokeeptripinusedpercentage,
  Boolean isusableifexpiredwithinperiod,
  Boolean isusableifmaturewithinperiod,
  Boolean runsmartplansync,
  Real defaultdemanduncertainty,
  Boolean usesingleechelon,
  Boolean isfromdb,
  String co2processuom,
  String co2uom,
  String forecastnettingrule
)
{
  Description: 'Update values of GlobalParameter_MP'
  TextBody:
  [*
    // Update values of GlobalParameter_MP
    this.AbsoluteLowerLimit( absolutelowerlimit );
    this.AbsoluteUpperLimit( absoluteupperlimit );
    this.AutoScalingFrequency( autoscalingfrequency );
    this.BalanceTolerance( balancetolerance );
    this.BaseCurrency_DELETED_GA18( basecurrency );
    this.BiasTolerance( biastolerance );
    this.BottleneckTolerance( bottlenecktolerance );
    this.BottleneckWindowEnd( bottleneckwindowend );
    this.BottleneckWindowStart( bottleneckwindowstart );
    this.DefaultAbsoluteValueForInventoryHolding( absolutevalueinventoryholding );
    this.DefaultAccountForInventoryHolding( accountinventoryholding );
    this.DefaultAllocation( allocation );
    this.DefaultAnnualInterestRateForInventoryHolding( annualinterestrateinventoryholding );
    this.DefaultEfficiency( efficiency );
    this.DefaultMaxCapacityForStockingPoint( maxcapacitystockingpoint );
    this.DefaultMaxCapacityPerDayForUnit( maxcapacityperdayforunit );
    this.DefaultMaxLoadPercentage( maxloadpercentage );
    this.DefaultMinCapacityPerDayForUnit( mincapacityperdayforunit );
    this.DefaultOperationInputOutputQuantity( operationinputoutputqty );
    this.DefaultServiceLevel( servicelevel );
    this.DefaultShiftPatternName( shiftpatternname );
    this.DefaultSmartPlanStrategy( smartplanstrategy );
    this.DefaultUnitOfMeasure_DELETED_GA18( uom );
    this.DisaggregationRatio( disaggregationratio );
    this.EndOfKPIHorizon( kpihorizonend );
    this.HasAbsoluteValueForInventoryHolding( hasabsolutevalueinventoryholding );
    this.HasDefaultInventoryHoldingCost( hasdefaultinventoryholdingcost );
    this.IsPeggingRunAfterOptimization( ispeggingafteroptimization );
    this.LotSizeTolerance( lotsizetolerance );
    this.MinimumSalesDemandQtyThreshold( minsalesdemandqtythreshold );
    this.NoiseThresholdOptimizerOutput( noisethresholdoptimizeroutput );
    this.NumberOfDecimals( nrofdecimals );
    this.OutlierTolerance( outliertolerance );
    this.PeriodTaskValidity( periodtaskvalidity );
    this.IsRunOptimizerSynchronously( runoptimizersynchronously );
    this.SanityCheckLimit( sanitychecklimit );
    this.StartOfKPIHorizon( kpihorizonstart );
    this.StockingPointBottleneckThreshold( stockingpointbottleneckthreshold );
    this.PeriodSpecificationForUnitActual( periodspecificationforunitactual );
    this.UnitLowerBottleneckThreshold( unitlowerbottleneckthreshold );
    this.UnitUpperBottleneckThreshold( unitupperbottleneckthreshold );
    this.UseDefaultDisplayIndex( usedefaultdisplayindex );
    this.UseSlidingWindowsApproach( useslidingwindowsapproach );
    this.UseAuditTrail( useaudittrail );
    this.UpdateKPIHorizonAtPeriodRoll( updatekpihorizonatperiodroll );
    this.LaneLeadTimeLogic( laneleadtimelogic );
    this.OperationLeadTimeLogic( operationleadtimelogic );
    this.ChangeoverTime( changeovertime );
    this.MinToKeepTripInUsedPercentage( mintokeeptripinusedpercentage );
    this.IsUsableIfExpiredWithinPeriod( isusableifexpiredwithinperiod );
    this.IsUsableIfMatureWithinPeriod( isusableifmaturewithinperiod );    //base on value from strategy
    this.Update( nrofperiodsforavgdemand, durationlotsizehorizon, 
                 durationinvtmixbalancing, nrofperiodsinwindow, nrofperiodsperslide,
                 nrofperiodssmartplan, useslidingwindowsapproach );    this.IsUsableIfMatureWithinPeriod( isusableifmaturewithinperiod );
    
    this.DefaultDemandUncertainty( defaultdemanduncertainty );
    this.UseSingleEchelon( usesingleechelon );
    this.IsManuallyConfigured( not isfromdb );
    this.RunSmartPlanSynchronously( runsmartplansync );
    this.CO2ProcessUoM( co2processuom );
    this.CO2UoM( co2uom );
    this.ForecastNettingRule( forecastnettingrule );
  *]
}