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
|
}
|
}
|