Quintiq file version 2.0
#parent: ListScenario
Response OnClick (
  Scenario selection
) id:Response_ListScenario_MenuEdit_OnClick
{
  #keys: '[134266.1.2113339413]'
  CanBindMultiple: false
  DefinitionID => /ListScenario/Responsedef_ListScenario_WebMenu_OnClick
  Initiator: 'MenuEdit'
  Precondition:
  [*
    username := ApplicationMacroPlanner.GetUserName();
    return feedback = ''
           and selection.CanEdit( feedback )
           and selection.CanModify( username, feedback );
  *]
  QuillAction
  {
    Body:
    [*
      // Edit scenario
      dlg := construct( DialogCreateEditScenario );
      dlg.EditScenario( selection );
    *]
    GroupServerCalls: false
  }
}
