admin
2024-10-10 2a2008e78e050e8c25d8b40453c962eb15c0ab84
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
Quintiq file version 2.0
#parent: ContextMenuRoutingStep/MenuCreateOperationInRS
Response OnClick (
  RoutingStep selection
) id:Response_ContextMenuRoutingStep_MenuCreateOperationInRS_OnClick
{
  #keys: '[139394.0.1405242678]'
  CanBindMultiple: false
  DefinitionID => /ContextMenuRoutingStep/Responsedef_ContextMenuRoutingStep_MenuMoveDownRS_384_OnClick
  Precondition:
  [*
    return Operation::CanCreate( feedback, null( Units ), MacroPlan );
  *]
  QuillAction
  {
    Body:
    [*
      // Create a new operation
      unit := select( DataHolderUnit.Data(), Elements, e, not e.HasCapacityTypeTransportBase() );
      dlg := construct( DialogCreateEditOperation );
      dlg.New( unit, selection );
    *]
    GroupServerCalls: false
  }
}