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