1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| Quintiq file version 2.0
| #parent: #root
| Response OnClick (
| Unit selection
| ) id:Response_ListUnitTree_MenuEditCalendar_OnClick
| {
| #keys: '[101472.2.715136376]'
| Body:
| [*
| // Edit calendar from unit lists
| upt := select ( selection, UnitPeriod.astype( UnitPeriodTime ), upt, true, upt.Period_MP().Start() = MacroPlan.StartOfPlanning() );
| ApplicationLibMacroPlanner.EditUnitCalendar( selection, upt, selection.StartDate() );
| *]
| CanBindMultiple: false
| DefinitionID => /Responsedef_ListUnitTree_Menu_OnClick
| Initiator: 'MenuEditCalendar'
| Precondition:
| [*
| return selection.CanEditCalendar( feedback );
| *]
| }
|
|