Quintiq file version 2.0
|
#parent: #root
|
StaticMethod GetIsLeafProduct (
|
output String feedback_o,
|
ProductInStockingPointInPeriod pispip
|
) declarative remote as Boolean
|
{
|
Description: 'Returns true when the argument pispip is a leaf product.'
|
TextBody:
|
[*
|
// Martijn May-20-2016 (created)
|
|
isvalid := pispip.ProductInStockingPoint_MP().IsLeaf();
|
|
if( not isvalid )
|
{
|
feedback_o := Translations::MP_ProductInStockingPointInPeriod_IsLeafProduct_IsNotLeafProduct();
|
}
|
|
return feedback_o = '';
|
*]
|
}
|