diff --git a/base/src/org/eevolution/model/MPPProductBOMLine.java b/base/src/org/eevolution/model/MPPProductBOMLine.java index bc098f7262..86e36548c6 100644 --- a/base/src/org/eevolution/model/MPPProductBOMLine.java +++ b/base/src/org/eevolution/model/MPPProductBOMLine.java @@ -155,11 +155,16 @@ public class MPPProductBOMLine extends X_PP_Product_BOMLine return true; } + public boolean isByProduct() + { + String componentType = getComponentType(); + return COMPONENTTYPE_By_Product.equals(componentType); + } + public boolean isCoProduct() { -// String componentType = getComponentType(); -// return COMPONENTTYPE_ByProduct.equals(componentType); // TODO - return false; + String componentType = getComponentType(); + return COMPONENTTYPE_Co_Product.equals(componentType); } /**