Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method UpdateAccountChanges 
 | 
{ 
 | 
  TextBody: 
 | 
  [* 
 | 
    // Administrator Sep-24-2014 (created) 
 | 
    templates := selectset( this, KPI.astype( Account ), acc, true ); 
 | 
     
 | 
    traverse( this, ScenarioMP, s ) 
 | 
    { 
 | 
      mdsid := MDSID::Create( s.DatasetMDSID() ); 
 | 
      editor :=  MDSEditor::Editor(); 
 | 
      mdsinfo := editor.LoadedObjectInfo( s.DatasetMDSID() ); 
 | 
     
 | 
      if( not isnull( mdsinfo ) and mdsinfo.IsLoaded() ) 
 | 
      { 
 | 
        MacroPlan::JobUpdateAccount_MP( mdsid, templates ); 
 | 
      } 
 | 
    } 
 | 
  *] 
 | 
} 
 |