| Quintiq file version 2.0 | 
| #parent: #root | 
| MethodOverride UpdateQuantity ( | 
|   Real sourceoutputquantity, | 
|   Boolean destinationhasuserquantity, | 
|   Real destinationinputquantity, | 
|   Real destinationinputminquantity, | 
|   Real destinationinputmaxquantity, | 
|   Boolean isfromdb | 
| ) | 
| { | 
|   TextBody: | 
|   [* | 
|     this.Quantity( ifexpr( this.IsInput(), destinationinputquantity, sourceoutputquantity ) ); | 
|     this.MinQuantityInGroup( destinationinputminquantity ); | 
|     this.MaxQuantityInGroup( destinationinputmaxquantity ); | 
|     this.HasUserInputQuantity( destinationhasuserquantity ); | 
|     this.IsManuallyConfigured( not isfromdb ); | 
|   *] | 
| } |