details: https://code.openbravo.com/erp/devel/pi/rev/0e16f6ffa542
changeset: 13780:0e16f6ffa542
user: Jon AlegrÃa <jon.alegria <at> openbravo.com>
date: Fri Sep 16 13:33:17 2011 +0200
summary: Fixes issue 0018540: Amortizations can not be posted
diffstat:
src/org/openbravo/erpCommon/ad_forms/AcctServer.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r a9a6faa73a9f -r 0e16f6ffa542
src/org/openbravo/erpCommon/ad_forms/AcctServer.java
--- a/src/org/openbravo/erpCommon/ad_forms/AcctServer.java Thu Sep 15
18:00:18 2011 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/AcctServer.java Fri Sep 16
13:33:17 2011 +0200
@@ -939,9 +939,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;
+ IsReversal = data[0].isreversal;
+ }
}
if (DocumentType != null && DocumentType.equals(""))
log4j.warn("AcctServer - loadDocumentType - No DocType for GL Info");
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits