BUGFIX C_M_MovementLine -> M_MovementLine

looks like a copy/paste error to me
This commit is contained in:
kthiemann 2006-12-04 14:00:27 +00:00
parent c11ae6e58f
commit 2f0471f9cb
1 changed files with 13 additions and 13 deletions

View File

@ -141,7 +141,7 @@ public class MMovementLine extends X_M_MovementLine
// Set Line No
if (getLine() == 0)
{
String sql = "SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM C_M_MovementLine WHERE M_Movement_ID=?";
String sql = "SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM M_MovementLine WHERE M_Movement_ID=?";
int ii = DB.getSQLValue (get_TrxName(), sql, getM_Movement_ID());
setLine (ii);
}