Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0003614Openbravo ERP09. Financial managementpublic2008-01-29 13:172008-06-12 09:44
cromero 
cromero 
normalminoralways
closedfixed 
5
 
 
No
Core
No
0003614: Remittance>CreateFile: Decimals in PostgreSQL
Related to bug:
0002433

When creating a plain file from a remittance to send to the bank, the
amounts are not properly parsed if using PostgreSQL.

The bank does not accept decimals and therefore all the amounts are
multiplied by 100. The problem is that in Oracle:
2.25*100 = 225
while in PostgreSQL:
2.25*100 = 225.00

To avoid this problem, the amounts in the CreateFile_data.xsql file could
be calculated with the round function:
round(amount*100,0)
No tags attached.
blocks defect 0002433 closed cromero Remittance>CreateFile: Decimals in PostgreSQL 
Issue History

Notes
(0007203)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:44)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1881774 [^]
(0004075)
cromero   
2008-01-29 13:30   
(edited on: 2008-06-12 09:27)
Logged In: YES
user_id=1500614
Originator: YES

Fixed since revision 2171

Carlos Romero
Openbravo Team