Quintiq file version 2.0
#parent: #root
Method NewScenarioStatus (
  internal[GUIComponent] parent,
  ScenarioManager owner
) as ScenarioStatus id:Method_ScenarioManager_DialogCreateEditScenarioStatus_NewScenarioStatus
{
  #keys: '[11660.0.432326060]'
  Body:
  [*
    //Create scenario status
    
    
    result := this.DoModal( parent );
    newobj := null(ScenarioStatus);
    if ( result > 0 )
    {
      newobj := ScenarioStatus::Create( owner, EditorStatusName.Text() );
    }
    return newobj;
  *]
}
