BUGFIX C_M_MovementLine -> M_MovementLine
looks like a copy/paste error to me
This commit is contained in:
parent
c11ae6e58f
commit
2f0471f9cb
|
@ -141,7 +141,7 @@ public class MMovementLine extends X_M_MovementLine
|
||||||
// Set Line No
|
// Set Line No
|
||||||
if (getLine() == 0)
|
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());
|
int ii = DB.getSQLValue (get_TrxName(), sql, getM_Movement_ID());
|
||||||
setLine (ii);
|
setLine (ii);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue