Quintiq file version 2.0
#parent: ListServiceLevel
Response OnClick () id:Response_ListServiceLevel_MenuNew_OnClick
{
  #keys: '[113694.2.1011930134]'
  Body:
  [*
    // Create service level
    dlg := construct( DialogCreateEditServiceLevel );
    object := dlg.New( this );
    
    if( not isnull( object ) )
    {
      ListServiceLevel.SelectByKey( object.Key() );
    }
  *]
  CanBindMultiple: false
  DefinitionID => /ListServiceLevel/Responsedef_ListServiceLevel_Menu_OnClick
  Initiator: 'MenuNew'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback );
  *]
}
