Quintiq file version 2.0
#parent: ListLanes
Response OnClick () id:Response_ListLanes_MenuCreate_OnClick
{
  #keys: '[139394.0.1497247867]'
  CanBindMultiple: false
  DefinitionID => /ListLanes/Responsedef_ListLanes_WebMenu_OnClick
  Initiator: 'MenuCreate'
  Precondition:
  [*
    return Lane::CanCreate( feedback, MacroPlan );
  *]
  QuillAction
  {
    Body:
    [*
      // Create a new lane
      dlg := construct( DialogCreateEditLane );
      
      unit := select( DataHolderUnit.Data(), Elements, u, u.HasCapacityTypeTransportBase() );
      
      dlg.New( unit, FormLanes );
    *]
    GroupServerCalls: false
  }
}
