libero:
* MPPProductBOMLine.isCoProduct - implementation was commented out => uncomment it * add MPPProductBOMLine.isByProduct method
This commit is contained in:
parent
d34be4e2c7
commit
89bb37d216
|
@ -155,11 +155,16 @@ public class MPPProductBOMLine extends X_PP_Product_BOMLine
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isByProduct()
|
||||||
|
{
|
||||||
|
String componentType = getComponentType();
|
||||||
|
return COMPONENTTYPE_By_Product.equals(componentType);
|
||||||
|
}
|
||||||
|
|
||||||
public boolean isCoProduct()
|
public boolean isCoProduct()
|
||||||
{
|
{
|
||||||
// String componentType = getComponentType();
|
String componentType = getComponentType();
|
||||||
// return COMPONENTTYPE_ByProduct.equals(componentType); // TODO
|
return COMPONENTTYPE_Co_Product.equals(componentType);
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue