Quintiq file version 2.0 
 | 
#parent: #root 
 | 
StaticMethod SetDatasetLoadedStatus ( 
 | 
  Key datasetMDSID 
 | 
) 
 | 
{ 
 | 
  Description: 
 | 
  [* 
 | 
    To update the status of a dataset after it is loaded 
 | 
    Called during on constructed and destructed of MacroPlan dataset 
 | 
  *] 
 | 
  TextBody: 
 | 
  [* 
 | 
    // vmpm May-19-2014 (created) 
 | 
    // derred, [dataset-store storage] 
 | 
     
 | 
    editor := MDSEditor::Editor(); 
 | 
     
 | 
    scenarioManagerMDS := editor.LoadedObjectInfo( "ScenarioManager", 
 | 
                                                   "/root", 
 | 
                                                   "ScenarioManager" ); 
 | 
     
 | 
    if( not isnull( scenarioManagerMDS ) ) 
 | 
    { 
 | 
      ScenarioManager::JobSetDatasetLoadedSt( scenarioManagerMDS.MDSID(), datasetMDSID ); 
 | 
    } 
 | 
  *] 
 | 
} 
 |