Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038502Retail ModulesWeb POSpublic2018-05-08 11:102018-05-18 15:27
maite 
rqueralta 
urgentmajoralways
closedfixed 
5
 
RR18Q3 
marvintm
No
0038502: "Error in previous cashup" received in terminal when Payment Type is NOT ACTIVE
"Error in previous cashup" is received when trying to login in a terminal that has a Payment Type record set as Active=NO

0. Access to POS Terminal "VBS-1", go to Payment Type tab and set any record as Active=NO
1. Clear browsing data and access to the terminal
2. "Error in previous cashup" error will be received
Problem is in method "getPayments" in Cashup.java, in following line:

OBPOSAppPayment paymentAppMethod = (OBPOSAppPayment) paymentAppMethodCriteria.uniqueResult();

As problem seems to be that current cashup has an inactive Payment Type we should not be able to deactivate a payment type when a cashup is open
No tags attached.
related to defect 0038314 closed ranjith_qualiantech_com Web POS is stuck on loading window. 
related to defect 0038542 closed rqueralta Order goes to Errors While Importing POS Data if it is paid by a Payment Type that has been removed 
Issue History
2018-05-08 11:10maiteNew Issue
2018-05-08 11:10maiteAssigned To => Retail
2018-05-08 11:10maiteResolution time => 1527544800
2018-05-08 11:10maiteTriggers an Emergency Pack => No
2018-05-08 11:10maiteIssue Monitored: networkb
2018-05-08 11:19maiteRelationship addedrelated to 0038314
2018-05-10 18:25rqueraltaAssigned ToRetail => rqueralta
2018-05-10 20:23rqueraltaStatusnew => scheduled
2018-05-14 11:59ngarciaRelationship addedrelated to 0038542
2018-05-15 14:59hgbotCheckin
2018-05-15 14:59hgbotNote Added: 0104519
2018-05-15 14:59hgbotStatusscheduled => resolved
2018-05-15 14:59hgbotResolutionopen => fixed
2018-05-15 14:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7da029241607cb8524e292b101cfce8276cfb7b9 [^]
2018-05-18 15:27hgbotCheckin
2018-05-18 15:27hgbotNote Added: 0104592
2018-05-18 15:27marvintmReview Assigned To => marvintm
2018-05-18 15:27marvintmStatusresolved => closed
2018-05-18 15:27marvintmFixed in Version => RR18Q3

Notes
(0104519)
hgbot   
2018-05-15 14:59   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7da029241607cb8524e292b101cfce8276cfb7b9
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Mon May 14 14:39:51 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7da029241607cb8524e292b101cfce8276cfb7b9 [^]

Fixed issue 38502: "Error in previous cashup" received in terminal when Payment
Type is NOT ACTIVE

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/posterminal/event/PaymentMethodEventHandler.java
---
(0104592)
hgbot   
2018-05-18 15:27   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 37c06594f7dec28d456437c38875af9202f93340
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri May 18 15:27:23 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/37c06594f7dec28d456437c38875af9202f93340 [^]

Related to issue 38502. Fix typos in message.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
---