details: /erp/devel/pi/rev/f50511381b8b
changeset: 12246:f50511381b8b
user: Adrián Romero <adrianromero <at> openbravo.com>
date: Thu May 19 12:28:48 2011 +0200
summary: Fixes issue 0016309: 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 e65378ace3a9 -r f50511381b8b
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournalExcel.jrxml
---
a/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournalExcel.jrxml
Thu May 19 11:42:17 2011 +0200
+++
b/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournalExcel.jrxml
Thu May 19 12:28:48 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