Quintiq file version 2.0
#parent: ListScenarioActivity
Response OnClick () id:Response_ListScenarioActivity_MenuNewScenarioActivity_OnClick
{
  #keys: '[110880.4.24868773]'
  Body:
  [*
    // Create a new ScenarioActivity
    dlg := construct( DialogCreateEditScenarioActivity );
    dlg.New( this, DataHolderFocusedScenario.Data().Element( 0 ) );
  *]
  CanBindMultiple: false
  DefinitionID => /ListScenarioActivity/Responsedef_ListScenarioActivity_Menu_OnClick
  Initiator: 'MenuNewScenarioActivity'
  Precondition:
  [*
    return ScenarioActivity::CanCreate( feedback, DataHolderFocusedScenario.Data() );
  *]
  UserRequiresReadWrite: true
}
