MPPProductBOM.getLines(): lines should be ordered by "Line" column

This commit is contained in:
teo_sarca 2008-09-03 20:32:28 +00:00
parent ef3c89d701
commit 164a78d163
1 changed files with 1 additions and 0 deletions

View File

@ -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()]);