| Quintiq file version 2.0 | 
| #parent: #root | 
| Method UpdateStorageState ( | 
|   ScenarioManager selection, | 
|   internal[GUIComponent] parent | 
| ) id:Method_ScenarioManager_DialogEditScenarioManagerStorage_UpdateStorageState | 
| { | 
|   #keys: '[118956.1.606735580]' | 
|   Body: | 
|   [* | 
|     //Edit scenario manager | 
|      | 
|     //Get current storage state | 
|     RadioButtonGroupStorageState.BoundValue( selection.MDSScenarioManager().State() ) | 
|     result := Dialog.DoModal(  parent ); | 
|      | 
|     if ( result > 0  ) | 
|     { | 
|       selection.UpdateStorageState( RadioButtonGroupStorageState.BoundValue() ); | 
|     } | 
|   *] | 
| } |