Openbravo Issue Tracking System - Retail Modules
View Issue Details
0025147Retail ModulesCash Managementpublic2013-11-13 13:142014-07-17 13:18
mekom 
marvintm 
highmajoralways
closedduplicate 
30Professional Appliance
RMP27 
RMP29 
adrianromero
No
0025147: CashUpReport reports incorrect To keep and To deposit amounts on multicurrency POS terminal
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.
See the description.
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.
No tags attached.
duplicate of defect 0024911RMP29 closed malsasua Probelms with cash up report in the ERP 
? CashUpReport.java (28,918) 2013-11-13 13:14
https://issues.openbravo.com/file_download.php?file_id=6502&type=bug
Issue History
2013-11-13 13:14mekomNew Issue
2013-11-13 13:14mekomAssigned To => marvintm
2013-11-13 13:14mekomFile Added: CashUpReport.java
2013-11-13 13:14mekomTriggers an Emergency Pack => No
2014-07-17 13:18adrianromeroReview Assigned To => adrianromero
2014-07-17 13:18adrianromeroRelationship addedduplicate of 0024911
2014-07-17 13:18adrianromeroStatusnew => closed
2014-07-17 13:18adrianromeroResolutionopen => duplicate
2014-07-17 13:18adrianromeroFixed in Version => RMP29

There are no notes attached to this issue.