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
| Method CreateRoutingStepAndAddUnits (
| UnitNodes unitnodes
| ) as owning Operations
| {
| Description:
| [*
| Create a routing step when a unit is dragged into the canvas, and add the unit as operation. Used in designer.
| Routing step name will be derived from unit.
| *]
| TextBody:
| [*
| // Adhi Feb-4-2016 (created)
| units := selectset( unitnodes, Elements.Unit, unit, true );
|
| operations := this.CreateRoutingStepAndAddUnits( units );
|
| return &operations;
| *]
| }
|
|