| Quintiq file version 2.0 | 
| #parent: #root | 
| Method Update ( | 
|   Unit owner, | 
|   DateTime start, | 
|   String timeunit, | 
|   Real mincapacity, | 
|   Real maxcapacity, | 
|   Real lotsize, | 
|   Boolean hassecondarycapacity, | 
|   Real secondarylotsize, | 
|   Real secondarymaximumcapacity, | 
|   Real secondaryminimumcapacity, | 
|   String secondaryunitofmeasurename, | 
|   Boolean isfromdb | 
| ) | 
| { | 
|   TextBody: | 
|   [* | 
|     owner.TransportCapacity( relmove, this ); | 
|      | 
|     this.UpdateTypeIndex( owner.ID(), start ); | 
|      | 
|     this.TimeUnit( timeunit ); | 
|     this.MinimumCapacity( mincapacity ); | 
|     this.MaximumCapacity( maxcapacity ); | 
|     this.LotSize( lotsize ); | 
|     this.IsManuallyConfigured( not isfromdb ); | 
|     this.HasSecondaryCapacity( hassecondarycapacity ); | 
|     this.SecondaryLotSize( secondarylotsize ); | 
|     this.SecondaryMaximumCapacity( secondarymaximumcapacity ); | 
|     this.SecondaryMinimumCapacity( secondaryminimumcapacity ); | 
|     this.SecondaryUnitOfMeasureName( secondaryunitofmeasurename ); | 
|   *] | 
| } |