details:   https://code.openbravo.com/erp/devel/pi/rev/8f46be1e44a2
changeset: 21196:8f46be1e44a2
user:      Javier Etxarri <javier.echarri <at> openbravo.com>
date:      Thu Sep 26 00:32:02 2013 +0200
summary:   Fixes issue 23826: New payment should be created when
using GL Journal defined as Template

diffstat:

 src/org/openbravo/erpCommon/ad_process/CopyFromGLJournal.java |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 26448a5e9156 -r 8f46be1e44a2 
src/org/openbravo/erpCommon/ad_process/CopyFromGLJournal.java
--- a/src/org/openbravo/erpCommon/ad_process/CopyFromGLJournal.java     Wed Sep 
25 23:37:41 2013 +0200
+++ b/src/org/openbravo/erpCommon/ad_process/CopyFromGLJournal.java     Thu Sep 
26 00:32:02 2013 +0200
@@ -130,7 +130,7 @@
                 dataLines[j].cSalesregionId, dataLines[j].mProductId, 
dataLines[j].cBpartnerId,
                 dataLines[j].aAssetId, dataLines[j].cCostcenterId, 
dataLines[j].openItems,
                 dataLines[j].finFinancialAccountId, 
dataLines[j].finPaymentmethodId,
-                dataLines[j].cGlitemId, dataLines[j].paymentdate, 
dataLines[j].finPaymentId) == 0)
+                dataLines[j].cGlitemId, dataLines[j].paymentdate, null) == 0)
               log4j.warn("Save: GLJournalLine record " + j + " not inserted. 
Sequence = "
                   + strLineSequence);
           } catch (ServletException ex) {

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to