Quintiq file version 2.0
#parent: ListScenario
Response OnClick (
  structured[ScenarioNode] selection
) id:Response_ListScenario_MenuScenarioDelete_OnClick
{
  #keys: '[11766.1.296329593]'
  Body:
  [*
    // Delete selected scenarios
    Form.DeleteScenario( selection );
  *]
  DefinitionID => /ListScenario/Responsedef_ListScenario_Menu_OnClick
  Initiator: 'MenuScenarioDelete'
  Precondition:
  [*
    username := ApplicationLibMacroPlanner.GetUserName();
    return ScenarioNode::CanModify( selection, username, feedback );
  *]
  UserRequiresReadWrite: true
}
