diff --git a/base/src/org/compiere/model/MPayment.java b/base/src/org/compiere/model/MPayment.java index 1a2ec37a7e..5ffd0c99db 100644 --- a/base/src/org/compiere/model/MPayment.java +++ b/base/src/org/compiere/model/MPayment.java @@ -95,7 +95,7 @@ public final class MPayment extends X_C_Payment { //FR: [ 2214883 ] Remove SQL code and Replace for Query - red1 String whereClause = "C_BPartner_ID=?"; - List list = new Query(ctx, MPayment.Table_Name, whereClause, null) + List list = new Query(ctx, MPayment.Table_Name, whereClause, trxName) .setParameters(new Object[]{C_BPartner_ID}) .list();