Quintiq file version 2.0
#parent: ListScenario
Response OnClick (
  structured[Scenario] selection
) id:Response_ListScenario_MenuDelete_OnClick
{
  #keys: '[134266.1.2130318766]'
  CanBindMultiple: false
  DefinitionID => /ListScenario/Responsedef_ListScenario_WebMenu_OnClick
  Initiator: 'MenuDelete'
  Precondition:
  [*
    username := ApplicationMacroPlanner.GetUserName();
    return ScenarioNode::CanModify( selection, username, feedback );
  *]
  QuillAction
  {
    Body:
    [*
      // Delete selected scenarios
      Form.DeleteScenario( selection );
    *]
    GroupServerCalls: false
  }
}
