Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037128Retail ModulesWeb POSpublic2017-10-20 09:522017-11-10 09:34
ngarcia 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR18Q1 
marvintm
No
0037128: Cannot add Payment Type to a slave POS Terminal if there exists a deactivated slave terminal with the same Payment Method
Cannot add Payment Type to a slave POS Terminal if there exists a deactivated slave terminal with the same Payment Method

queryApplications query of AppPaymentEventHandler.checkFinancialAccount function does not include deactivated records, so appPaymentResult.getObposApplications() will not be included in terminalList
In the backend:
   Go to POS Terminal window and find the records with Master Terminal = SVBS1
   Check both of them have the same Payment Method (Shared Credit card) and Financial Account (Shared Credit Card - Vall Blanca Store-SVBS1 - EUR)
   Deactivate one of them
   Create a new terminal and set SVBS1 as master terminal
   Create one record in Payment Type window and set the following values:
      Payment Method: Shared Credit card
      Financial Account: Shared Credit Card - Vall Blanca Store-SVBS1 - EUR

   The following error is raised:
      "Saving failed. The Payment Method selected is not allowed since there is already a Payment Method with the same Financial Account"
No tags attached.
Issue History
2017-10-20 09:52ngarciaNew Issue
2017-10-20 09:52ngarciaAssigned To => Retail
2017-10-20 09:52ngarciaResolution time => 1510268400
2017-10-20 09:52ngarciaTriggers an Emergency Pack => No
2017-10-20 09:53ngarciaIssue Monitored: networkb
2017-10-20 10:15eugeniIssue Monitored: eugeni
2017-10-25 15:17ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-10-25 15:17ranjith_qualiantech_comStatusnew => scheduled
2017-10-31 05:59hgbotCheckin
2017-10-31 05:59hgbotNote Added: 0100175
2017-10-31 05:59hgbotStatusscheduled => resolved
2017-10-31 05:59hgbotResolutionopen => fixed
2017-10-31 05:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/013c60e63dd1f7c44f60af50954f54d259e3fe78 [^]
2017-11-10 09:34marvintmReview Assigned To => marvintm
2017-11-10 09:34marvintmStatusresolved => closed
2017-11-10 09:34marvintmFixed in Version => RR18Q1

Notes
(0100175)
hgbot   
2017-10-31 05:59   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 013c60e63dd1f7c44f60af50954f54d259e3fe78
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Oct 31 10:29:13 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/013c60e63dd1f7c44f60af50954f54d259e3fe78 [^]

Fixed issue 37128 : Validate Payment Type in POS Terminal

* Validate Payment Method & Financial account of Payment type in all POS Terminal instead of active

---
M src/org/openbravo/retail/posterminal/event/AppPaymentEventHandler.java
---