| Quintiq file version 2.0 | 
| #parent: #root | 
| Method OnFailed (Exception ex) | 
| { | 
|   Description: 'Post fail run step' | 
|   TextBody: | 
|   [* | 
|     // When a dataset finished conversion | 
|     // we will update the status etc | 
|     status := DMF_Utility::ID_Failed(); | 
|     this.UpdateStatus( status ); | 
|     this.UpdateEnd( DateTime::Now() ); | 
|      | 
|     // We also need to unload the dataset | 
|     this.UnloadMDS(); | 
|   *] | 
| } |