IDEMPIERE-1350 Deleting a line from the "Payments into Batch" window.

This commit is contained in:
Heng Sin Low 2013-09-11 12:35:55 +08:00
parent 3b60b8913d
commit 6eaa8be4e4
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ import org.compiere.util.Env;
updateHeader();
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());
}