| Quintiq file version 2.0 | 
| #parent: CustomDrawRC/CustomDrawDataLayerPISPInputNodeInRouting | 
| Response OnDrop ( | 
|   StockingPoint_MP source, | 
|   OperationInputPISPNode target | 
| ) id:Response_CustomDrawRC_CustomDrawDataLayerPISPInputNodeInRouting_OnDrop_593 | 
| { | 
|   #keys: '[139394.0.1316634021]' | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_WebCustomDrawDataLayer_OnDrop' | 
|   Precondition: | 
|   [* | 
|     return PISPNodeInRouting::ValidateInput( feedback, | 
|                                              guard( target.PISPNodeInRouting(), null( PISPNodeInRouting ) ), | 
|                                              true /*isinput*/, | 
|                                              guard( target.PISPNodeInRouting().ProductInStockingPoint_MP().Product_MP(), null( Product_MP ) ), | 
|                                              source, | 
|                                              target.OperationInput().Operation() ); | 
|   *] | 
|   QuillAction | 
|   { | 
|     Body: | 
|     [* | 
|       // Drop stocking point on floating product. | 
|       // Assign a floating product to a stocking point to complete the assignment of a PISP to a routing. | 
|       // SP would also be assigned as input and/or output SP depending on the floating product. | 
|       opBOM := target.OperationInputOutput().OperationBOM(); | 
|       opBOM.AssignToStockingPoint( source ); | 
|     *] | 
|     GroupServerCalls: false | 
|   } | 
| } |