Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0002433
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminoralways2007-12-28 12:242008-07-08 12:05
ReporterjaimetorreView Statuspublic 
Assigned Tocromero 
PrioritynormalResolutionfixedFixed in Version2.40beta
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0002433: Remittance>CreateFile: Decimals in PostgreSQL

DescriptionWhen 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)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0003614 closedcromero Remittance>CreateFile: Decimals in PostgreSQL 

-  Notes
(0002893)
cromero (viewer)
2008-01-29 13:20
edited on: 2008-06-12 09:23

Logged In: YES
user_id=1500614
Originator: NO

Fixed bug since revision 2170

I have used the round function as you indicated. Thank you.

Carlos Romero
Openbravo Team
(0006022)
user71
2005-06-01 00:00
edited on: 2008-06-12 09:43

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=1859647 [^]

- Issue History
Date Modified Username Field Change
2008-07-08 12:05 psarobe Status resolved => closed
2008-07-08 12:05 psarobe Fixed in Version 2.40alpha-r2 => 2.40beta


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker