From 110b8927611fdc89c4f47000afe39bafb2fdb4e9 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Wed, 3 Sep 2008 15:54:58 +0000 Subject: [PATCH] MMovement.getLines(): fix issue introduced in rev. 6311 --- base/src/org/compiere/model/MMovement.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/src/org/compiere/model/MMovement.java b/base/src/org/compiere/model/MMovement.java index 475fc7c5f8..6d1355da12 100644 --- a/base/src/org/compiere/model/MMovement.java +++ b/base/src/org/compiere/model/MMovement.java @@ -87,9 +87,9 @@ public class MMovement extends X_M_Movement implements DocAction } // String whereClause = "M_Movement_ID=?"; - List list = new Query(getCtx(), MMovement.Table_Name, whereClause, null) + List list = new Query(getCtx(), MMovementLine.Table_Name, whereClause, null) .setParameters(new Object[]{getM_Movement_ID()}) - .setOrderBy("Line") + .setOrderBy(MMovementLine.COLUMNNAME_Line) .list(); m_lines = new MMovementLine[list.size ()]; list.toArray (m_lines);