MPPProductBOM.getLines(): lines should be ordered by "Line" column
This commit is contained in:
parent
ef3c89d701
commit
164a78d163
|
@ -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()]);
|
||||
|
|
Loading…
Reference in New Issue