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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030614
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Localization Pack: Spain] Multi Dimensional Tax Reportmajoralways2015-08-20 10:432015-08-26 10:31
ReportermaiteView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision80b2c892ca87
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Tovmromanos
Regression introduced in release
Summary

0030614: java.lang.ArithmeticException: Rounding necessary error received when tax rate is defined with more than 2 decimals

Descriptionjava.lang.ArithmeticException: Rounding necessary error received when tax rate is defined with more than 2 decimals
Steps To Reproduce1. Run Multidimensional Tax Report for any date and organization to check that any result is obtained
2. Access Tax Rate window for one of obtained rates and edit rate field to define more than 2 decimals. For example, instead of 21 set it as 21.123
3. Run Multidimensional Tax Report again using same filtering criteria and realize that java.lang.ArithmeticException: Rounding necessary error is received

In some countries is necessary to define tax rates with more than 2 decimals so report should support them
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0030671 closedAtulOpenbravo java.lang.ArithmeticException: Rounding necessary error received when tax rate is defined with more than 2 decimals 

-  Notes
(0079726)
AtulOpenbravo (developer)
2015-08-25 22:11

Test Plan
- Run Multidimensional Tax Report for any date and organization to check that any result is obtained
- Access Tax Rate window for one of obtained rates and edit rate field to define more than 2 decimals. For example, instead of 21 set it as 21.123
- Run Multidimensional Tax Report again using same filtering criteria and check the report is shown successfully.
(0079740)
hgbot (developer)
2015-08-26 10:25

Repository: erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30
Changeset: 80b2c892ca874b42d2ca6580aa90701a6dd489bd
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Wed Aug 26 01:28:49 2015 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30/rev/80b2c892ca874b42d2ca6580aa90701a6dd489bd [^]

Fixes Issue 30614:java.lang.ArithmeticException: Rounding necessary error
received when tax rate is defined with more than 2 decimals

Problem is with the setscale method.

---
M src/org/openbravo/module/invoiceTaxReportEnhanced30/api/MTRRecord.java
---
(0079741)
vmromanos (manager)
2015-08-26 10:27

Code review + testing OK
(0079743)
vmromanos (manager)
2015-08-26 10:31

Available in version 3.0.27 (or higher)

- Issue History
Date Modified Username Field Change
2015-08-20 10:43 maite New Issue
2015-08-20 10:43 maite Assigned To => jonalegriaesarte
2015-08-20 10:48 maite Resolution time => 1440194400
2015-08-20 10:48 maite Assigned To jonalegriaesarte => Triage Finance
2015-08-20 10:48 maite Issue Monitored: networkb
2015-08-25 22:10 AtulOpenbravo Assigned To Triage Finance => AtulOpenbravo
2015-08-25 22:11 AtulOpenbravo Status new => scheduled
2015-08-25 22:11 AtulOpenbravo Note Added: 0079726
2015-08-26 10:05 vmromanos Issue cloned 0030671
2015-08-26 10:05 vmromanos Relationship added related to 0030671
2015-08-26 10:25 hgbot Checkin
2015-08-26 10:25 hgbot Note Added: 0079740
2015-08-26 10:25 hgbot Status scheduled => resolved
2015-08-26 10:25 hgbot Resolution open => fixed
2015-08-26 10:25 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30/rev/80b2c892ca874b42d2ca6580aa90701a6dd489bd [^]
2015-08-26 10:27 vmromanos Review Assigned To => vmromanos
2015-08-26 10:27 vmromanos Note Added: 0079741
2015-08-26 10:27 vmromanos Status resolved => closed
2015-08-26 10:31 vmromanos Note Added: 0079743


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker