Quintiq file version 2.0
|
#parent: CustomDrawRC/CustomDrawDataLayerOutputPISPNodeInRouting
|
Response OnDrop (
|
StockingPoint_MP source,
|
OperationOutputPISPNode target
|
) id:Response_CustomDrawRC_CustomDrawDataLayerOutputPISPNodeInRouting_OnDrop
|
{
|
#keys: '[139394.0.1321257488]'
|
CanBindMultiple: false
|
DefinitionID: 'Responsedef_WebCustomDrawDataLayer_OnDrop'
|
Precondition:
|
[*
|
return PISPNodeInRouting::ValidateInput( feedback,
|
target.PISPNodeInRouting(),
|
false /*isinput*/,
|
target.PISPNodeInRouting().ProductInStockingPoint_MP().Product_MP(),
|
source,
|
target.OperationInputOutput().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
|
}
|
}
|