Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method OnFinished (Number status, DMF_ConvertorVersion version) 
 | 
{ 
 | 
  Description: 'Post finish run step' 
 | 
  TextBody: 
 | 
  [* 
 | 
    // When a dataset finished conversion 
 | 
    // we will update the status etc 
 | 
    if( status = DMF_Utility::ID_Finished() ) 
 | 
    { 
 | 
      this.UpdateConvertedVersion( version ); 
 | 
    } 
 | 
    this.UpdateStatus( status ); 
 | 
    this.UpdateEnd( DateTime::Now() ); 
 | 
     
 | 
    // We also need to unload the dataset 
 | 
    this.UnloadMDS(); 
 | 
  *] 
 | 
} 
 |