details: https://code.openbravo.com/erp/devel/pi/rev/38b6f19194d0
changeset: 23379:38b6f19194d0
user: Sandra Huguet <sandra.huguet <at> openbravo.com>
date: Mon May 26 10:42:33 2014 +0200
summary: Related to issue 26674
diffstat:
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_ExecutePayment.java
| 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (23 lines):
diff -r 402d7bca3f77 -r 38b6f19194d0
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_ExecutePayment.java
---
a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_ExecutePayment.java
Mon May 26 12:26:51 2014 +0530
+++
b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_ExecutePayment.java
Mon May 26 10:42:33 2014 +0200
@@ -186,6 +186,9 @@
try {
OBContext.setAdminMode(true);
for (FIN_PaymentDetail pd : payment.getFINPaymentDetailList()) {
+ if (pd.getGLItem() != null) {
+ continue;
+ }
for (FIN_PaymentScheduleDetail psd :
pd.getFINPaymentScheduleDetailList()) {
if (psd.isInvoicePaid()
&&
FIN_Utility.isAutomaticDepositWithdrawn(paymentRunPayment.getPayment())
@@ -212,6 +215,9 @@
try {
OBContext.setAdminMode(true);
for (FIN_PaymentDetail pd : payment.getFINPaymentDetailList()) {
+ if (pd.getGLItem() != null) {
+ continue;
+ }
for (FIN_PaymentScheduleDetail psd :
pd.getFINPaymentScheduleDetailList()) {
if (psd.isInvoicePaid()) {
updatePaymentAmounts(paymentRunPayment.getPayment());
------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits