details:   https://code.openbravo.com/erp/stable/2.50/rev/c24858de7d99
changeset: 9664:c24858de7d99
user:      Jon Alegría <jon.alegria <at> openbravo.com>
date:      Thu Sep 22 12:34:47 2011 +0200
summary:   Fixes issue 0018589: Amortizations can not be posted

diffstat:

 src/org/openbravo/erpCommon/ad_forms/AcctServer.java |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r b4f60af6dcc5 -r c24858de7d99 
src/org/openbravo/erpCommon/ad_forms/AcctServer.java
--- a/src/org/openbravo/erpCommon/ad_forms/AcctServer.java      Thu Sep 22 
10:37:57 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/AcctServer.java      Thu Sep 22 
12:34:47 2011 +0200
@@ -910,9 +910,10 @@
       if (GL_Category_ID != null && GL_Category_ID.equals("")) {
         AcctServerData[] data = 
AcctServerData.selectGLCategory(connectionProvider, AD_Client_ID,
             DocumentType);
-        if (data != null && data.length != 0)
+        if (data != null && data.length != 0) {
           GL_Category_ID = data[0].glCategoryId;
          IsReversal = data[0].isreversal;
+       }
       }
       if (DocumentType != null && DocumentType.equals(""))
         log4j.warn("AcctServer - loadDocumentType - No DocType for GL Info");

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to