details:   /erp/stable/2.50/rev/48ac7415b33e
changeset: 9442:48ac7415b33e
user:      Adrián Romero <adrianromero <at> openbravo.com>
date:      Thu May 19 12:37:20 2011 +0200
summary:   Fixes issue 0017259: General Ledger Journal in XLS format , the 
format of numbers are not correct
Fixing entry number sequence

diffstat:

 src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournalExcel.jrxml | 
 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d8fc9db1f05d -r 48ac7415b33e 
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournalExcel.jrxml
--- 
a/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournalExcel.jrxml  
    Tue May 17 17:55:58 2011 +0200
+++ 
b/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournalExcel.jrxml  
    Thu May 19 12:37:20 2011 +0200
@@ -594,7 +594,7 @@
                                        <textElement textAlignment="Right">
                                                <font/>
                                        </textElement>
-                               <textFieldExpression   
class="java.math.BigDecimal"><![CDATA[($V{entry}!=null)?$V{entry}.add(new 
BigDecimal($P{InitialEntryNumber})): new 
BigDecimal("1")]]></textFieldExpression>
+                               <textFieldExpression   
class="java.math.BigDecimal"><![CDATA[($V{entry}!=null)?$V{entry}.add(new 
BigDecimal($P{InitialEntryNumber})).subtract(BigDecimal.ONE): 
BigDecimal.ONE]]></textFieldExpression>
                                </textField>
                        </band>
                </detail>

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to