Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040019Retail ModulesCash uppublic2019-01-23 18:242019-09-06 08:54
malsasua 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
5
 
RR19Q2 
migueldejuana
Production - Confirmed Stable
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d0797b3798881a9b775cb323b3c79e49159eac58 [^]
No
0040019: 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.
depends on backport 0040059RR19Q1 closed ranjith_qualiantech_com Counted amount is wrong in the Cashup Report 
depends on backport 0040060RR18Q4.2 closed ranjith_qualiantech_com Counted amount is wrong in the Cashup Report 
depends on backport 0040061RR18Q3.5 closed ranjith_qualiantech_com Counted amount is wrong in the Cashup Report 
caused by defect 0038193 closed Sandrahuguet In updateOrCreateCashupInfo is updated all paymentmethods 
png POS_cashup.png (59,778) 2019-01-23 18:24
https://issues.openbravo.com/file_download.php?file_id=12535&type=bug
png

png bo_cashupReport.png (20,422) 2019-01-23 18:25
https://issues.openbravo.com/file_download.php?file_id=12536&type=bug
png

png bo_cashup.png (135,983) 2019-01-23 18:25
https://issues.openbravo.com/file_download.php?file_id=12537&type=bug
png

? issue40019ScriptFixData.sql (3,007) 2019-09-06 08:54
https://issues.openbravo.com/file_download.php?file_id=13287&type=bug
Issue History
2019-01-23 18:24malsasuaNew Issue
2019-01-23 18:24malsasuaAssigned To => Retail
2019-01-23 18:24malsasuaFile Added: POS_cashup.png
2019-01-23 18:24malsasuaResolution time => 1548630000
2019-01-23 18:24malsasuaRegression level => Production - Confirmed Stable
2019-01-23 18:24malsasuaTriggers an Emergency Pack => No
2019-01-23 18:25malsasuaFile Added: bo_cashupReport.png
2019-01-23 18:25malsasuaFile Added: bo_cashup.png
2019-01-24 14:33ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-01-24 14:33ranjith_qualiantech_comStatusnew => scheduled
2019-01-24 17:29anderarangurenSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18189#r18189
2019-01-24 17:37PracticsIssue Monitored: Practics
2019-01-29 07:47hgbotCheckin
2019-01-29 07:47hgbotNote Added: 0109290
2019-01-29 07:48hgbotCheckin
2019-01-29 07:48hgbotNote Added: 0109291
2019-01-29 07:48hgbotStatusscheduled => resolved
2019-01-29 07:48hgbotResolutionopen => fixed
2019-01-29 07:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c5744e78fbacd1937c39fce01e867a30cf4cd7f4 [^]
2019-01-30 10:49guillermogilRelationship addedcaused by 0038193
2019-01-30 10:49guillermogilRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d0797b3798881a9b775cb323b3c79e49159eac58 [^]
2019-01-30 10:52marvintmStatusresolved => new
2019-01-30 10:52marvintmResolutionfixed => open
2019-01-30 10:52marvintmStatusnew => scheduled
2019-01-30 10:52marvintmStatusscheduled => resolved
2019-01-30 10:52marvintmFixed in Version => RR19Q2
2019-01-30 10:52marvintmResolutionopen => fixed
2019-01-30 14:34migueldejuanaReview Assigned To => migueldejuana
2019-01-30 14:34migueldejuanaNote Added: 0109332
2019-01-30 14:34migueldejuanaStatusresolved => closed
2019-09-06 08:54malsasuaFile Added: issue40019ScriptFixData.sql

Notes
(0109290)
hgbot   
2019-01-29 07:47   
Repository: tools/automation/pi-mobile
Changeset: 356d3784ba8d22822166bef33afb6ca166a096e5
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jan 29 12:17:39 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/356d3784ba8d22822166bef33afb6ca166a096e5 [^]

Verifies issue 40019 : Added Automated Test "I40019_VerifyCountedAmountAfterCashup"

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I40019_VerifyCountedAmountAfterCashup.java
---
(0109291)
hgbot   
2019-01-29 07:48   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c5744e78fbacd1937c39fce01e867a30cf4cd7f4
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jan 29 12:15:56 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c5744e78fbacd1937c39fce01e867a30cf4cd7f4 [^]

Fixed issue 40019 : 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
---
(0109332)
migueldejuana   
2019-01-30 14:34   
Tested and reviewed