Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040061Retail ModulesCash uppublic2019-01-23 18:242019-09-10 10:25
malsasua 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
5
 
RR18Q3.5RR18Q3.5 
marvintm
Production - Confirmed Stable
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d0797b3798881a9b775cb323b3c79e49159eac58 [^]
No
0040061: Counted amount is wrong in the Cashup Report
The counted amount is wrong when the cashup report is printed in the backend.
POS:
. new receipt:
 . product Avalanche Transceiver
   -> total amount 150.50 -> paid with Cash
. new receipt:
 . product Balaclava Cup
   -> total amount 169 -> paid with Card
. new receipt:
 . product Headlamp ultralight
   -> total amount 18.90 -> paid with USA Cash
. do cashup:
 . counted amounts:
   . cash-> 150
   . card -> 169
   . USA Cash -> 18.90
 · amount to keep:
   ·cash-> 200

BO:
. go to terminal-> cashup -> print cashup:
  counted amount:
   . cash -> 0 (WRONG)
   . card -> 0 (WRONG)
   . USA Cash -> 18.9 (RIGHT)
. go to terminal -> cashup -> Payment Method Status Cashup tab:
  counted amount:
   . cash -> 0 (WRONG)
   . card -> 0 (WRONG)
   . USA Cash -> 18.9 (RIGHT)

(see screenshots)

amountToKeep is 0 and it should be 200 in the backoffice
No tags attached.
blocks defect 0040019 closed ranjith_qualiantech_com Counted amount is wrong in the Cashup Report 
patch issue 40061 posterminal formatter.patch (13,796) 2019-01-30 16:35
https://issues.openbravo.com/file_download.php?file_id=12575&type=bug
patch issue 40061 posterminal fix.patch (5,654) 2019-01-30 16:36
https://issues.openbravo.com/file_download.php?file_id=12576&type=bug
patch issue 40061 pimobile test.patch (7,431) 2019-01-30 16:36
https://issues.openbravo.com/file_download.php?file_id=12577&type=bug
? issue40019ScriptFixData_v2.sql (3,066) 2019-09-10 10:25
https://issues.openbravo.com/file_download.php?file_id=13297&type=bug
Issue History
2019-01-30 10:52marvintmTypedefect => backport
2019-01-30 10:52marvintmTarget Version => RR18Q3.5
2019-01-30 16:35ranjith_qualiantech_comFile Added: issue 40061 posterminal formatter.patch
2019-01-30 16:36ranjith_qualiantech_comFile Added: issue 40061 posterminal fix.patch
2019-01-30 16:36ranjith_qualiantech_comFile Added: issue 40061 pimobile test.patch
2019-02-12 12:01hgbotCheckin
2019-02-12 12:01hgbotNote Added: 0109700
2019-02-12 12:03hgbotCheckin
2019-02-12 12:03hgbotNote Added: 0109701
2019-02-12 12:03hgbotStatusscheduled => resolved
2019-02-12 12:03hgbotResolutionopen => fixed
2019-02-12 12:03hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c5744e78fbacd1937c39fce01e867a30cf4cd7f4 [^] => http://code.openbravo.com/retail/backports/3.0RR18Q3.5/org.openbravo.retail.posterminal/rev/7ef6a9f728d02249a7d630e125cb24ab767a5c21 [^]
2019-02-12 12:03hgbotCheckin
2019-02-12 12:03hgbotNote Added: 0109702
2019-02-15 14:19marvintmReview Assigned To => marvintm
2019-02-15 14:19marvintmStatusresolved => closed
2019-02-15 14:19marvintmFixed in Version => RR18Q3.5
2019-02-26 14:00hgbotCheckin
2019-02-26 14:00hgbotNote Added: 0110083
2019-09-10 10:25malsasuaFile Added: issue40019ScriptFixData_v2.sql

Notes
(0109700)
hgbot   
2019-02-12 12:01   
Repository: retail/backports/3.0RR18Q3.5/org.openbravo.retail.posterminal
Changeset: 855eb6d288dcf8f790f00eccf982603978d276bc
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 12 16:31:19 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q3.5/org.openbravo.retail.posterminal/rev/855eb6d288dcf8f790f00eccf982603978d276bc [^]

Related to issue 40061 : Applied New Java Formatting

---
M src/org/openbravo/retail/posterminal/UpdateCashup.java
---
(0109701)
hgbot   
2019-02-12 12:03   
Repository: retail/backports/3.0RR18Q3.5/org.openbravo.retail.posterminal
Changeset: 7ef6a9f728d02249a7d630e125cb24ab767a5c21
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 12 16:31:19 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q3.5/org.openbravo.retail.posterminal/rev/7ef6a9f728d02249a7d630e125cb24ab767a5c21 [^]

Fixed issue 40061 : PaymentMethodCashup should be updated when Cashup is Done

* PaymentMethodCashup should be created/updated for the following cases
  1) when cashup is closed
  2) when ticket is closed with respective payment

---
M src/org/openbravo/retail/posterminal/UpdateCashup.java
---
(0109702)
hgbot   
2019-02-12 12:03   
Repository: retail/backports/3.0RR18Q3.5/pi-mobile
Changeset: da5d5564071788b01daf9fe2e2dc53a265956497
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 12 16:32:54 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q3.5/pi-mobile/rev/da5d5564071788b01daf9fe2e2dc53a265956497 [^]

Verifies issue 40061 : Added Automated Test "I40061_VerifyCountedAmountAfterCashup"

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I40061_VerifyCountedAmountAfterCashup.java
---
(0110083)
hgbot   
2019-02-26 14:00   
Repository: tools/automation/pi-mobile
Changeset: da5d5564071788b01daf9fe2e2dc53a265956497
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 12 16:32:54 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/da5d5564071788b01daf9fe2e2dc53a265956497 [^]

Verifies issue 40061 : Added Automated Test "I40061_VerifyCountedAmountAfterCashup"

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I40061_VerifyCountedAmountAfterCashup.java
---