From c5f6c84434b4d84c3d700a389ccdc730f73b19cb Mon Sep 17 00:00:00 2001 From: phib Date: Wed, 24 Feb 2010 03:44:39 +0000 Subject: [PATCH] BF 2957756: Payment selection print creates payments out of transaction Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2957756 --- base/src/org/compiere/model/MPaySelectionCheck.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/src/org/compiere/model/MPaySelectionCheck.java b/base/src/org/compiere/model/MPaySelectionCheck.java index a65e06f0e6..b859214ca1 100644 --- a/base/src/org/compiere/model/MPaySelectionCheck.java +++ b/base/src/org/compiere/model/MPaySelectionCheck.java @@ -436,7 +436,7 @@ public final class MPaySelectionCheck extends X_C_PaySelectionCheck for (int i = 0; i < checks.length; i++) { MPaySelectionCheck check = checks[i]; - MPayment payment = new MPayment(check.getCtx(), check.getC_Payment_ID(), null); + MPayment payment = new MPayment(check.getCtx(), check.getC_Payment_ID(), check.get_TrxName()); // Existing Payment if (check.getC_Payment_ID() != 0) { @@ -450,7 +450,7 @@ public final class MPaySelectionCheck extends X_C_PaySelectionCheck } else // New Payment { - payment = new MPayment(check.getCtx(), 0, null); + payment = new MPayment(check.getCtx(), 0, check.get_TrxName()); payment.setAD_Org_ID(check.getAD_Org_ID()); // if (check.getPaymentRule().equals(PAYMENTRULE_Check))