details:   http://code.openbravo.com/erp/devel/pi/rev/6f4717cb73b4
changeset: 3501:6f4717cb73b4
user:      Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
date:      Fri Apr 03 10:47:33 2009 +0200
summary:   Fixed bug 8241: Funds Transfer fails with wrong data type feedback

diffstat:

 src/org/openbravo/erpCommon/ad_process/CashBankOperations_data.xsql |  8 
++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 500bea73b740 -r 6f4717cb73b4 
src/org/openbravo/erpCommon/ad_process/CashBankOperations_data.xsql
--- a/src/org/openbravo/erpCommon/ad_process/CashBankOperations_data.xsql       
Fri Apr 03 09:16:54 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_process/CashBankOperations_data.xsql       
Fri Apr 03 10:47:33 2009 +0200
@@ -12,7 +12,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -183,7 +183,7 @@
            ?, NULL, ?, ?,
            NULL, ?, ?, ?,
            ?, ?, ?,'N',
-           ?, 0,TO_DATE(?),'N',
+           TO_NUMBER(?), 0,TO_DATE(?),'N',
            'Y', ?,'Y','N',
            'Y','DE')
       ]]>
@@ -245,8 +245,8 @@
        VALUES
             (?, ?, ?, 'Y', 
              now(),        ?, now(), ?, 
-             ?, ?, ?, ?, 
-             ?, 'P',  ?, 0, 
+             ?, ?, TO_NUMBER(?), ?, 
+             TO_NUMBER(?), 'P',  ?, 0, 
              0, 'Y')
       ]]>
     </Sql>

------------------------------------------------------------------------------
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to