fixed small bug

This commit is contained in:
vpj-cd 2008-08-28 02:59:53 +00:00
parent 3cd3a64f6d
commit aabad61689
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ public class MDDOrder extends X_DD_Order implements DocAction
*/
public MDDOrderLine[] getLines (String whereClause, String orderClause)
{
StringBuffer whereClauseFinal = new StringBuffer(MPPOrderBOMLine.COLUMNNAME_PP_Order_ID).append("=?");
StringBuffer whereClauseFinal = new StringBuffer(MDDOrderLine.COLUMNNAME_DD_Order_ID).append("=?");
if (!Util.isEmpty(whereClause, true))
whereClauseFinal.append("AND (").append(whereClause).append(")");
//