FR [ 1981760 ] Improve Query class

Forgot the whereClause string! (it seems SQL stuff doesnt get error before runtime)
This commit is contained in:
Redhuan D. Oon 2008-09-02 09:33:29 +00:00
parent 75378bbc81
commit 55329cafb9
1 changed files with 1 additions and 1 deletions

View File

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