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
| Quintiq file version 2.0
| #parent: #root
| StaticMethod MenuNew (
| LibUTF_IterationRun run,
| MacroPlan macroplan,
| NamedValueTree nvt_unit
| )
| {
| TextBody:
| [*
| dto := DTO_Unit::ConstructNew( run, nvt_unit );
|
| Unit::Create( macroplan,
| dto.ID(),
| dto.ParentUnitID(),
| dto.DisplayIndexForExcel(),
| dto.Name(),
| dto.QuantityToProcess(),
| dto.IconName(),
| dto.CapacityType(),
| dto.CurrencyID(),
| dto.StartDate(),
| dto.EndDate(),
| dto.IsPlannedInfinite(),
| dto.UnitOfMeasurementName(),
| dto.GroupName(),
| dto.MinimumQuantity(),
| dto.MaximumQuantity(),
| dto.LotSize(),
| dto.GISCountryCode(),
| dto.GISCity(),
| dto.GISPostalCode(),
| dto.HasMaximumQuantity(),
| dto.HasCapacitySmoothing(),
| dto.UserCapacitySmoothingLength(),
| dto.CapacitySmoothingPercentageDelta(),
| dto.IsOverlapCapacitySmoothing(),
| dto.IsSmoothCapacityOverAllPeriods(),
| dto.Notes(),
| dto.CampaignTypeDuration(),
| dto.IsIncludeInSupplySpecification(),
| dto.IsSupplier(),
| dto.HasUserFrozenFutureDuration(),
| dto.UserFrozenFutureDuration(),
| dto.UseShiftOptimization(),
| false );
| *]
| InterfaceProperties { Accessibility: 'Module' }
| }
|
|