FR [ 1981760 ] Improve Query class

Fix params
This commit is contained in:
Redhuan D. Oon 2008-09-02 10:43:16 +00:00
parent 55329cafb9
commit fdc85ad72f
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public class MMovement extends X_M_Movement implements DocAction
//
String whereClause = "M_Movement_ID=?";
List<MMovement> list = new Query(getCtx(), MMovement.Table_Name, whereClause, null)
.setParameters(new Object[]{"Y", getM_Movement_ID()})
.setParameters(new Object[]{getM_Movement_ID()})
.setOrderBy("Line")
.list();
m_lines = new MMovementLine[list.size ()];