| Quintiq file version 2.0 | 
| #root | 
| #parent: #DomainModel | 
| TypeSpecialization Lane | 
| { | 
|   #keys: '2[110704.0.460865706][110880.2.1167065329]' | 
|   Description: 'MP' | 
|   OnCommit: | 
|   [* | 
|     // soh yee Apr-16-2015 (created) | 
|     // Commit is still needed to create / edit / delete costs in one transaction | 
|      | 
|     // UpdateTypeIndex method is called in the Designer | 
|     this.UpdateCommitLogic( this.IsEnabled(), this.Unit() ); | 
|   *] | 
|   OnDelete: | 
|   [* | 
|     // soh yee Oct-15-2013 (created) | 
|      | 
|     origin := selectset( this, Origin, spil, true ); | 
|     destination := selectset( this, Destination, spil, true ); | 
|      | 
|     origin := origin.Union( destination ); | 
|     traverse( origin, Elements, spil ) | 
|     { | 
|       spil.Delete(); | 
|     } | 
|      | 
|     traverse( this, ProductInLane, pil ) | 
|     { | 
|       pil.Delete(); | 
|     } | 
|   *] | 
|   Parent: Process_MP | 
|   StructuredName: 'Lanes' | 
| } |