Quintiq file version 2.0
#parent: mbMainMenu/MenuEditKBScenario
Response OnClick () id:Response_mbMainMenu_MenuEditKBScenario_OnClick
{
  #keys: '[108486.0.1360080933]'
  Body:
  [*
    // Edit a kb branch
    scenario := select( ScenarioManager, ScenarioNode.astype( Scenario ), scenario, scenario.DatasetMDSID() = MacroPlan.MDSID() );
    ApplicationLibMacroPlanner.EditKBBranch( scenario, ScenarioManager.CompanyKBName() );
  *]
  DefinitionID: 'Responsedef_Menu_OnClick'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback );
  *]
}
