Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0025147 | Retail Modules | Cash Management | public | 2013-11-13 13:14 | 2014-07-17 13:18 | |||||||
Reporter | mekom | |||||||||||
Assigned To | marvintm | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | duplicate | |||||||||
Platform | OS | 30 | OS Version | Professional Appliance | ||||||||
Product Version | RMP27 | |||||||||||
Target Version | Fixed in Version | RMP29 | ||||||||||
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. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=6502&type=bug | |||||||||||
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 |
There are no notes attached to this issue. |