Quintiq file version 2.0
#parent: ListRouting
Response OnClick () id:Response_ListRouting_MenuNewRouting_OnClick
{
  #keys: '[113694.1.1907232096]'
  Body:
  [*
    // Create new routing
    
    dlg := construct( DialogCreateEditRouting );
    routing := dlg.New( this );
    
    if( not isnull( routing ) )
    {
      ListRouting.SelectByKey( routing.Key() );
    }
  *]
  CanBindMultiple: false
  DefinitionID => /ListRouting/Responsedef_ListRouting_Menu_OnClick
  Initiator: 'MenuNewRouting'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback );
  *]
}
