From 164a78d163ce7a58980b26c4996e39a8202f6374 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Wed, 3 Sep 2008 20:32:28 +0000 Subject: [PATCH] MPPProductBOM.getLines(): lines should be ordered by "Line" column --- base/src/org/eevolution/model/MPPProductBOM.java | 1 + 1 file changed, 1 insertion(+) diff --git a/base/src/org/eevolution/model/MPPProductBOM.java b/base/src/org/eevolution/model/MPPProductBOM.java index 739a4e43af..fba1d01aa6 100644 --- a/base/src/org/eevolution/model/MPPProductBOM.java +++ b/base/src/org/eevolution/model/MPPProductBOM.java @@ -245,6 +245,7 @@ public class MPPProductBOM extends X_PP_Product_BOM final String whereClause = MPPProductBOMLine.COLUMNNAME_PP_Product_BOM_ID+"=?"; this.lines = new Query(getCtx(), MPPProductBOMLine.Table_Name, whereClause, get_TrxName()) .setParameters(new Object[]{getPP_Product_BOM_ID()}) + .setOrderBy(MPPProductBOMLine.COLUMNNAME_Line) .list(); } return this.lines.toArray(new MPPProductBOMLine[this.lines.size()]);