details:   /erp/erp/devel/pi/rev/1ee7c2cc0f72
changeset: 4681:1ee7c2cc0f72
user:      David Alsasua <david.alsasua <at> openbravo.com>
date:      Thu Aug 20 18:21:50 2009 +0200
summary:   Fixes issue 10163: Dat file for Remittance Cuaderno 34 is not correct

diffstat:

 src/org/openbravo/erpCommon/ad_actionButton/CreateFile.java |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 6eaf0aea2ddf -r 1ee7c2cc0f72 
src/org/openbravo/erpCommon/ad_actionButton/CreateFile.java
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFile.java       Thu Aug 
20 18:09:13 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFile.java       Thu Aug 
20 18:21:50 2009 +0200
@@ -258,8 +258,7 @@
           "\r\n");
       contador++;
     }
-    CreateFileData[] NLineas = CreateFileData.selectNLineas(this, 
String.valueOf(contador),
-        ((Integer) Lineas.length).toString());
+    CreateFileData[] NLineas = CreateFileData.selectNLineas(this, 
String.valueOf(contador));
     // total orderer
     strBuf = 
strBuf.append("5870").append(Principio[0].nif).append(strContract).append(
         NLineas[0].hueco);
@@ -711,7 +710,8 @@
       contador += 6;
     }
     // total
-    CreateFile34Data[] NLineas = CreateFile34Data.selectNLineas(this, 
String.valueOf(contador + 1));
+    CreateFile34Data[] NLineas = CreateFile34Data.selectNLineas(this, 
String.valueOf(contador + 1),
+        ((Integer) Lineas.length).toString());
     strBuf = 
strBuf.append("08").append(strCodigo).append(Principio[0].nif).append(Total[0].payamt);
 // A
     // -
     // E

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to