| Quintiq file version 2.0 | 
| #parent: #root | 
| Method SynchronizeAll | 
| { | 
|   Description: 'Synchronize all from knowledge table ( KPI, Account, SolverSettingsGroups, Strategies, and Scenario Status )' | 
|   TextBody: | 
|   [* | 
|     this.SynchronizeKPI(); | 
|      | 
|     this.SynchronizeAccountTypes(); | 
|       | 
|     // Propagation is needed to calculate KPI.IsUsedByOptimizer() | 
|     // This is used to determine if KPIWeights needs to be created when a strategy is created. | 
|     Transaction::Transaction().Propagate(); | 
|        | 
|     this.SynchronizeSolverSettingGroups(); | 
|      | 
|     datapath := GlobalParameters_MP::GetDefinitonsDir() + "/" + GlobalParameters_MP::GetDataPath(); | 
|     data := ScenarioManager::ReadStrategiesFile( datapath ); | 
|     this.ImportStrategies( data ); | 
|     this.SynchronizeKPIWeight(); | 
|      | 
|     this.SynchronizeScenarioStatus(); | 
|   *] | 
| } |