| Quintiq file version 2.0 | 
| #parent: CustomDrawRC/CustomDrawDataLayerOutputPISPNodeInRouting | 
| Response OnDrop ( | 
|   Product_MP source, | 
|   OperationOutputPISPNode target | 
| ) id:Response_CustomDrawRC_CustomDrawDataLayerOutputPISPNodeInRouting_OnDrop_646 | 
| { | 
|   #keys: '[139394.0.1321256237]' | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_WebCustomDrawDataLayer_OnDrop' | 
|   Precondition: | 
|   [* | 
|     return PISPNodeInRouting::ValidateInput( feedback, | 
|                                              target.PISPNodeInRouting(), | 
|                                              false  /*isinput*/, | 
|                                              source, | 
|                                              target.PISPNodeInRouting().ProductInStockingPoint_MP().StockingPoint_MP(), | 
|                                              target.OperationInputOutput().Operation() ); | 
|   *] | 
|   QuillAction | 
|   { | 
|     Body: | 
|     [* | 
|       // Swap the existing product of PISP with the new product. | 
|       opBOM := target.OperationInputOutput().OperationBOM(); | 
|       opBOM.AssignToProduct( source ); | 
|     *] | 
|     GroupServerCalls: false | 
|   } | 
| } |