1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  | Quintiq file version 2.0 
 |  #parent: CustomDrawRC/CustomDrawDataLayerMacroPlan 
 |  Response OnDrop ( 
 |    structured[Unit] source, 
 |    MacroPlan target 
 |  ) id:Response_CustomDrawRC_CustomDrawDataLayerMacroPlan_OnDrop 
 |  { 
 |    #keys: '[139394.0.1649398086]' 
 |    CanBindMultiple: false 
 |    DefinitionID: 'Responsedef_WebCustomDrawDataLayer_OnDrop' 
 |    Precondition: 
 |    [* 
 |      return Operation::CanCreate( feedback, source, target ); 
 |    *] 
 |    QuillAction 
 |    { 
 |      Body: 
 |      [* 
 |        // Drop units on empty list to create routings from multiple units 
 |        routings := Routing::CreateFromUnits( source ); 
 |      *] 
 |      GroupServerCalls: false 
 |    } 
 |  } 
 |  
  |