MPPOrder: fix bug introduced in rev. 6018

This commit is contained in:
teo_sarca 2008-08-08 08:17:51 +00:00
parent 1759d9d4a7
commit ed095deea5
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,6 @@ import java.math.BigDecimal;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.sql.Timestamp; import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Properties; import java.util.Properties;
import java.util.logging.Level; import java.util.logging.Level;
@ -403,6 +402,7 @@ public class MPPOrder extends X_PP_Order implements DocAction {
whereClauseFinal.append("AND (").append(whereClause).append(")"); whereClauseFinal.append("AND (").append(whereClause).append(")");
// //
List<MPPOrderBOMLine> list = new Query(getCtx(), MPPOrderBOMLine.Table_Name, whereClauseFinal.toString(), get_TrxName()) List<MPPOrderBOMLine> list = new Query(getCtx(), MPPOrderBOMLine.Table_Name, whereClauseFinal.toString(), get_TrxName())
.setParameters(new Object[]{getPP_Order_ID()})
.setOrderBy(orderClause) .setOrderBy(orderClause)
.list(); .list();
return list.toArray(new MPPOrderBOMLine[list.size()]); return list.toArray(new MPPOrderBOMLine[list.size()]);