Quintiq file version 2.0
|
#parent: #root
|
Method CanRemoveOperationLink (
|
output String feedback_o,
|
OperationOutputs sourceoperationoutputs
|
) remote as Boolean
|
{
|
Description:
|
[*
|
Returns true if the operation outputs are dropped onto an operation such that
|
each of the operations of the operation output and the target PISP are already link
|
*]
|
TextBody:
|
[*
|
// Adhi Feb-12-2016 (created)
|
|
isvalid := forall( sourceoperationoutputs, Elements.ProductInStockingPoint_MP, pisp,
|
pisp = this.ProductInStockingPoint_MP() );
|
|
if( not isvalid )
|
{
|
feedback_o := Translations::MP_PISPNodeInRouting_CanDropOperationOutputs_IncorrectPISP();
|
}
|
|
return isvalid;
|
*]
|
}
|