Quintiq file version 2.0
#parent: ListSalesLevel
Response OnClick () id:Response_ListSalesLevel_MenuNewSalesLevel_OnClick
{
  #keys: '[11660.0.426439927]'
  Body:
  [*
    // Create new sales level
    dlg := construct( DialogCreateEditSalesLevel );
    saleslevel := dlg.NewSalesLevel( this, MacroPlan );
    
    ApplicationLibMacroPlanner.AutoExpandSelection( this, saleslevel );
  *]
  CanBindMultiple: false
  DefinitionID => /ListSalesLevel/Responsedef_ListSalesLevel_Menu_OnClick
  Initiator: 'MenuNewSalesLevel'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback );
  *]
  UserRequiresReadWrite: true
}
