陈清红
2025-04-14 880f3c0257eeb8c37761d484258fdd102a369a19
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
138
139
140
141
142
143
144
145
146
147
Quintiq file version 2.0
#parent: #root
StaticMethod Create (
  MacroPlan owner,
  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
) as GlobalParameters_MP
{
  Description: 'Create GlobalParameter object'
  TextBody:
  [*
    // Create GlobalParameters_MP
    globalparameter := owner.GlobalParameters_MP( relnew,
                                                  ID := '1' );
    
    // Update attributes of GlobalParameters_MP
    globalparameter.Update( absolutelowerlimit,
                            absoluteupperlimit,
                            autoscalingfrequency,
                            balancetolerance,
                            basecurrency,
                            biastolerance,
                            bottlenecktolerance,
                            bottleneckwindowend,
                            bottleneckwindowstart,
                            absolutevalueinventoryholding,
                            accountinventoryholding,
                            allocation,
                            annualinterestrateinventoryholding,
                            efficiency,
                            maxcapacitystockingpoint,
                            maxcapacityperdayforunit,
                            maxloadpercentage,
                            mincapacityperdayforunit,
                            nrofperiodsforavgdemand,
                            operationinputoutputqty,
                            servicelevel,
                            shiftpatternname,
                            smartplanstrategy,
                            uom,
                            disaggregationratio,
                            durationlotsizehorizon,
                            durationinvtmixbalancing,
                            kpihorizonend,
                            hasabsolutevalueinventoryholding,
                            hasdefaultinventoryholdingcost,
                            ispeggingafteroptimization,
                            lotsizetolerance,
                            minsalesdemandqtythreshold,
                            noisethresholdoptimizeroutput,
                            nrofdecimals,
                            nrofperiodsinwindow,
                            nrofperiodsperslide,
                            nrofperiodssmartplan,
                            outliertolerance,
                            periodtaskvalidity,
                            runoptimizersynchronously,
                            sanitychecklimit,
                            kpihorizonstart,
                            stockingpointbottleneckthreshold,
                            periodspecificationforunitactual,
                            unitlowerbottleneckthreshold,
                            unitupperbottleneckthreshold,
                            usedefaultdisplayindex,
                            useslidingwindowsapproach,
                            useaudittrail,
                            updatekpihorizonatperiodroll,
                            laneleadtimelogic,
                            operationleadtimelogic,
                            changeovertime,
                            mintokeeptripinusedpercentage,
                            isusableifexpiredwithinperiod,
                            isusableifmaturewithinperiod,                        
                            runsmartplansync,
                            defaultdemanduncertainty,
                            usesingleechelon,
                            isfromdb,
                            co2processuom,
                            co2uom,
                            forecastnettingrule
                          );
    
    return globalparameter;
  *]
}