| Quintiq file version 2.0 | 
| #parent: CustomDrawComponentRoutingConfigurator/CustomDrawDataLayerPISPNodeInRoutingRCV | 
| Response OnDrop ( | 
|   StockingPoint_MP source, | 
|   OperationInputPISPNode droptarget | 
| ) id:Response_CustomDrawComponentRoutingConfigurator_CustomDrawDataLayerPISPNodeInRoutingRCV_OnDrop_964 | 
| { | 
|   #keys: '[113694.2.106514392]' | 
|   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. | 
|     pispinrouting := droptarget.PISPNodeInRouting(); | 
|     pispinrouting.AssignToStockingPoint( source ); | 
|   *] | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_CustomDrawDataLayer_OnDrop' | 
|   Precondition: | 
|   [* | 
|     return PISPNodeInRouting::ValidateInput( feedback, | 
|                                              guard( droptarget.PISPNodeInRouting(), null( PISPNodeInRouting ) ), | 
|                                              true /*isinput*/, | 
|                                              guard( droptarget.PISPNodeInRouting().ProductInStockingPoint_MP().Product_MP(), null( Product_MP ) ), | 
|                                              source, | 
|                                              droptarget.OperationInput().Operation() ); | 
|   *] | 
| } |