IDEMPIERE-1350 Deleting a line from the "Payments into Batch" window.
This commit is contained in:
parent
3b60b8913d
commit
6eaa8be4e4
|
@ -170,7 +170,7 @@ import org.compiere.util.Env;
|
||||||
updateHeader();
|
updateHeader();
|
||||||
if (getC_Payment_ID() != 0 )
|
if (getC_Payment_ID() != 0 )
|
||||||
{
|
{
|
||||||
String sql = "UPDATE C_Payment p SET C_DepositBatch_ID= 0 WHERE p.C_Payment_ID=?";
|
String sql = "UPDATE C_Payment p SET C_DepositBatch_ID= Null WHERE p.C_Payment_ID=?";
|
||||||
DB.executeUpdateEx(sql, new Object[] {getC_Payment_ID()}, get_TrxName());
|
DB.executeUpdateEx(sql, new Object[] {getC_Payment_ID()}, get_TrxName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue