Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0025147 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Cash Management | major | always | 2013-11-13 13:14 | 2014-07-17 13:18 | |||
Reporter | mekom | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | high | Resolution | duplicate | Fixed in Version | RMP29 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Professional Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | RMP27 | SCM revision | N.A | |||||
Merge Request Status | ||||||||
Review Assigned To | adrianromero | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0025147: CashUpReport reports incorrect To keep and To deposit amounts on multicurrency POS terminal | |||||||
Description | When 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 Reproduce | See the description. | |||||||
Proposed Solution | There 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|||
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 |