BF 2957762: Payment selection print has the wrong cheque number

Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2957762
This commit is contained in:
phib 2010-02-24 03:58:28 +00:00
parent c5f6c84434
commit 4907114af1
1 changed files with 2 additions and 1 deletions

View File

@ -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();