Quintiq file version 2.0
#parent: ListRouting
Response OnClick (
  structured[Routing] selection
) id:Response_ListRouting_MenuCopyRouting_OnClick
{
  #keys: '[113694.1.1907449080]'
  Body:
  [*
    // Copy routing
    routings := Routing::Copy( selection );
    
    // Auto select newly created routings
    if( routings.Size() > 0 )
    {
      ApplicationLibMacroPlanner.AutoSelectElementsInList( ListRouting, routings );
    }
  *]
  CanBindMultiple: false
  DefinitionID => /ListRouting/Responsedef_ListRouting_Menu_OnClick
  Initiator: 'MenuCopyRouting'
}
