Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039861Retail ModulesWeb POSpublic2018-12-28 09:022019-01-08 13:30
ngarcia 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR19Q2 
guilleaer
No
0039861: Under some circumstances Cash Up goes to Errors While Importing POS Data if the currency has more than 2 decimals
Under some circumstances Cash Up goes to Errors While Importing POS Data if the currency has more than 2 decimals
In the fix for 39618 only the rounding of the payment amount was made. The rounding of the deposit amount is still pending:

      transaction.setDepositAmount(reconciliationTotal.multiply(conversionRate).setScale(2, RoundingMode.HALF_EVEN));
No tags attached.
related to defect 0039618 closed rqueralta Cash Up goes to Errors While Importing POS Data if the currency has more than 2 decimals and negative total 
related to defect 0039868 closed ranjith_qualiantech_com Some amounts and prices are rounded to 2 instead of using the currency's precisions 
patch issue 39861 source posterminal.patch (1,183) 2018-12-28 10:08
https://issues.openbravo.com/file_download.php?file_id=12475&type=bug
Issue History
2018-12-28 09:02ngarciaNew Issue
2018-12-28 09:02ngarciaAssigned To => Retail
2018-12-28 09:02ngarciaResolution time => 1547766000
2018-12-28 09:02ngarciaTriggers an Emergency Pack => No
2018-12-28 09:03ngarciaRelationship addedcaused by 0035631
2018-12-28 09:03ngarciaIssue Monitored: networkb
2018-12-28 09:14ngarciaRelationship deletedcaused by 0035631
2018-12-28 09:14ngarciaPriorityimmediate => urgent
2018-12-28 09:14ngarciaRelationship addedrelated to 0039618
2018-12-28 10:08ranjith_qualiantech_comFile Added: issue 39861 source posterminal.patch
2018-12-28 10:08ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-12-28 10:08ranjith_qualiantech_comStatusnew => scheduled
2019-01-01 22:51rafarodaIssue Monitored: rafaroda
2019-01-03 06:53hgbotCheckin
2019-01-03 06:53hgbotNote Added: 0108795
2019-01-03 06:53hgbotStatusscheduled => resolved
2019-01-03 06:53hgbotResolutionopen => fixed
2019-01-03 06:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ea77cfa46de7f1af2af4999906290484e48e6e57 [^]
2019-01-07 08:51rafarodaRelationship addedrelated to 0039868
2019-01-08 13:30guilleaerReview Assigned To => guilleaer
2019-01-08 13:30guilleaerStatusresolved => closed
2019-01-08 13:30guilleaerFixed in Version => RR19Q2

Notes
(0108795)
hgbot   
2019-01-03 06:53   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ea77cfa46de7f1af2af4999906290484e48e6e57
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jan 03 11:23:27 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ea77cfa46de7f1af2af4999906290484e48e6e57 [^]

Fixed issue 39861 : Financial transaction deposit amount should be rounded with FinAccount Currency Precision while doing cash up

---
M src/org/openbravo/retail/posterminal/CashCloseProcessor.java
---