From 4907114af1452370aeaf9aecdaf7f9c7518fe115 Mon Sep 17 00:00:00 2001 From: phib Date: Wed, 24 Feb 2010 03:58:28 +0000 Subject: [PATCH] BF 2957762: Payment selection print has the wrong cheque number Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2957762 --- base/src/org/compiere/model/MPaySelectionCheck.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/src/org/compiere/model/MPaySelectionCheck.java b/base/src/org/compiere/model/MPaySelectionCheck.java index b859214ca1..926df393fc 100644 --- a/base/src/org/compiere/model/MPaySelectionCheck.java +++ b/base/src/org/compiere/model/MPaySelectionCheck.java @@ -226,8 +226,9 @@ public final class MPaySelectionCheck extends X_C_PaySelectionCheck while (rs.next()) { MPaySelectionCheck check = new MPaySelectionCheck (Env.getCtx(), rs, trxName); - // Set new Check Document No - saved in confirmPrint + // Set new Check Document No check.setDocumentNo(String.valueOf(docNo++)); + check.save(); list.add(check); } rs.close();