Include again bugfix from kthiemann (revision 826)
BUGFIX C_M_MovementLine -> M_MovementLine looks like a copy/paste error to me
This commit is contained in:
parent
225b8e822a
commit
80b3c17c59
|
@ -155,7 +155,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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue