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
| Quintiq file version 2.0
| #parent: #root
| StaticMethod MenuNew (
| LibUTF_IterationRun run,
| MacroPlan macroplan,
| NamedValueTree nvt_stockingpoint
| )
| {
| TextBody:
| [*
| dto := DTO_StockingPoint_MP::ConstructNew( run, nvt_stockingpoint );
| unit := macroplan.FindUnit( dto.UnitID() );
| uom := macroplan.FindUnitOfMeasure( dto.UnitOfMeasureName() );
| currency := macroplan.FindCurrency( dto.CurrencyID() );
| group := macroplan.FindGroup( dto.GroupName() );
|
| StockingPoint_MP::Create( dto.ID(),
| macroplan,
| unit,
| dto.Name(),
| dto.IconName(),
| uom,
| currency,
| dto.IsPlannedInfinite(),
| dto.Start(),
| dto.End(),
| group,
| dto.GISCountryCode(),
| dto.GISCity(),
| dto.GISPostalCode(),
| dto.Notes(),
| false );
| *]
| InterfaceProperties { Accessibility: 'Module' }
| }
|
|