diff --git a/base/src/org/eevolution/model/MPPProductBOMLine.java b/base/src/org/eevolution/model/MPPProductBOMLine.java index f8afb7c2f7..529571a91b 100644 --- a/base/src/org/eevolution/model/MPPProductBOMLine.java +++ b/base/src/org/eevolution/model/MPPProductBOMLine.java @@ -154,8 +154,9 @@ public class MPPProductBOMLine extends X_PP_Product_BOMLine public boolean isCoProduct() { - String componentType = getComponentType(); - return COMPONENTTYPE_ByProduct.equals(componentType); // TODO +// String componentType = getComponentType(); +// return COMPONENTTYPE_ByProduct.equals(componentType); // TODO + return false; } /** @@ -292,7 +293,7 @@ class ProductLowLevelCalculator } catch (SQLException e) { - throw new DBException(e); + throw new DBException(e, sql); } finally { @@ -346,7 +347,7 @@ class ProductLowLevelCalculator } catch (SQLException e) { - throw new DBException(e); + throw new DBException(e, sql); } finally {