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
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Response OnDrop ( 
 |    structured[Unit] information, 
 |    Unit target 
 |  ) id:Response_ListUnitTree_OnDrop_6 
 |  { 
 |    #keys: '[11660.0.973606801]' 
 |    Body: 
 |    [* 
 |      // Drop unit on another unit as child 
 |      Unit::Move( information, target, MacroPlan ); 
 |    *] 
 |    DefinitionID: 'Responsedef_GUIComponent_OnDrop' 
 |    Precondition: 
 |    [* 
 |      sanitycheckfeedback := ''; 
 |      return forall( information, Elements, child, true, Unit::ValidateInput( feedback, 
 |                                                                              sanitycheckfeedback, 
 |                                                                              MacroPlan, 
 |                                                                              child.ID(), 
 |                                                                              child.Name(), 
 |                                                                              child, 
 |                                                                              target, 
 |                                                                              false, 
 |                                                                              child.StartDate(), 
 |                                                                              false, 
 |                                                                              child.EndDate(), 
 |                                                                              child.CapacityType(), 
 |                                                                              child.UnitOfMeasure_MP(), 
 |                                                                              child.Currency_MP(), 
 |                                                                              child.MinimumQuantity(), 
 |                                                                              child.HasMaximumQuantity(), 
 |                                                                              child.MaximumQuantity(), 
 |                                                                              child.LotSize(), 
 |                                                                              child.HasCapacitySmoothing(), 
 |                                                                              child.IsSmoothCapacityOverAllPeriods(), 
 |                                                                              child.UserCapacitySmoothingLength(), 
 |                                                                              child.CapacitySmoothingPercentageDelta(), 
 |                                                                              false ) 
 |       ); 
 |    *] 
 |    UserRequiresReadWrite: true 
 |  } 
 |  
  |