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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025147
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Cash Managementmajoralways2013-11-13 13:142014-07-17 13:18
ReportermekomView Statuspublic 
Assigned Tomarvintm 
PriorityhighResolutionduplicateFixed in VersionRMP29
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionRMP27SCM revisionN.A 
Review Assigned Toadrianromero
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0025147: CashUpReport reports incorrect To keep and To deposit amounts on multicurrency POS terminal

DescriptionWhen configuring a POS Terminal with multiple Payment Types such as EUR cash and USD cash the report fails to report the correct amounts 'to keep' and amounts 'to deposit'.
More precisely the amounts for the first currency that was processed are correct, the amounts for subsequent Payment Types are messed up.
Steps To ReproduceSee the description.
Proposed SolutionThere is a bug in CashUpReport.java: the BigDecimal 'cashToDeposit' variable is not reset to zero when looping to the next currency.
Consequently it sums up amounts from different currencies starting from the second currency that is dealt with.
Solution: this variable should be defined within the loop and retinitialised each time the loop code is run. The attached patched file corrected the bug for us.
TagsNo tags attached.
Attached Files? file icon CashUpReport.java [^] (28,918 bytes) 2013-11-13 13:14

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0024911RMP29 closedmalsasua Probelms with cash up report in the ERP 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-11-13 13:14 mekom New Issue
2013-11-13 13:14 mekom Assigned To => marvintm
2013-11-13 13:14 mekom File Added: CashUpReport.java
2013-11-13 13:14 mekom Triggers an Emergency Pack => No
2014-07-17 13:18 adrianromero Review Assigned To => adrianromero
2014-07-17 13:18 adrianromero Relationship added duplicate of 0024911
2014-07-17 13:18 adrianromero Status new => closed
2014-07-17 13:18 adrianromero Resolution open => duplicate
2014-07-17 13:18 adrianromero Fixed in Version => RMP29


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker