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
| Quintiq file version 2.0
| #parent: #root
| StaticMethod MenuEdit (
| LibUTF_IterationRun run,
| MacroPlan macroplan,
| String id,
| NamedValueTree nvt_periodspecification
| )
| {
| TextBody:
| [*
| instance := UI_PeriodSpecification::FindSingle( run, macroplan, id );
| dto := DTO_PeriodSpecification::ConstructEdit( run, instance, nvt_periodspecification );
|
| // Execute your product / model update method
| instance.Update( dto.ID(),
| dto.TimeUnit(),
| dto.NrOfTimeUnit(),
| dto.PeriodAlignment(),
| dto.NrOfHistoricalPeriod(),
| dto.NrOfFuturePeriod(),
| true,
| false,
| dto.IsUsedForPlanning(),
| false );
| *]
| InterfaceProperties { Accessibility: 'Module' }
| }
|
|