| Quintiq file version 2.0 | 
| #parent: #root | 
| Method Update ( | 
|   Operation sourceoperation, | 
|   Operation destinationoperation, | 
|   Number sourcegorupid, | 
|   Number destinationgroupid, | 
|   Real sourcequantity, | 
|   Boolean destinationhasuserquantity, | 
|   Real destinationquantity, | 
|   Real destinationminquantity, | 
|   Real destinationmaxquantity, | 
|   Real destinationgroupquantity, | 
|   Boolean isfromdb, | 
|   Boolean synchronizepisp | 
| ) | 
| { | 
|   Description: 'Update operation' | 
|   TextBody: | 
|   [* | 
|     // DWE2 Jan-29-2016 (created) | 
|      | 
|     sourceoperation.SourceOperationLink( relmove, this ); | 
|      | 
|     this.UpdateTypeIndex( sourceoperation.ID(), destinationoperation.ID() ); | 
|      | 
|     this.DestGroupID( destinationgroupid ); | 
|     this.SourceGroupID( sourcegorupid ); | 
|      | 
|     this.UpdateQuantity( sourcequantity, | 
|                          destinationhasuserquantity, | 
|                          destinationquantity, | 
|                          destinationminquantity, | 
|                          destinationmaxquantity, | 
|                          isfromdb ); | 
|      | 
|     if( synchronizepisp ) | 
|     { | 
|       this.SynchronizeAll( isfromdb ); | 
|     } | 
|   *] | 
| } |