Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041863Retail ModulesWeb POSpublic2019-09-18 12:562019-09-27 09:18
aaroncalero 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR19Q2.3RR19Q2.3 
jorge-garcia
Production - Confirmed Stable
2017-11-24
RR18Q1
http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a43d2a1ce34121b644a806d761857b224f27a184 [^]
No
0041863: Order Selector no longer verifies if an order is in error status (import entry error/error while importing)
In 17Q4, the fix for issue 0035058 added a check when loading an order, to prevent loading it in web pos if the order was present in an Error While Importing or in an error Import Entry.
In 18Q1 the Paid Receipts selector was refactored and a new selector was created (issue 0036936).
The new selector missed the logic to check if the receipt being opened was present in the errors table.
Login in Web POS
Create a new layaway, add a product and complete it by clicking on Layaway.
Load the same layaway in two different terminals. Pay it partially on both terminals.
When completing the second payment, a new record will be generated in Errors While Importing POS Data window due to an Outdated Change exception.
Verify that after that it is still possible to load the receipt in WebPOS
The check for records in import entry that currently exists for verified returns should be added to the code in charge of loading receipts on the standard selector:
This code:
                if (data[0].recordInImportEntry) {
                  OB.UTIL.showLoading(false);
                  OB.UTIL.showConfirmation.display(
                    OB.I18N.getLabel('OBMOBC_Error'),
                    OB.I18N.getLabel('OBPOS_ReceiptNotSynced', [
                      data[0].documentNo
                    ])
                  );
                }

Should be added to orderLoaded function in orderSelectorUtils.js
No tags attached.
blocks defect 0041837 closed ranjith_qualiantech_com Order Selector no longer verifies if an order is in error status (import entry error/error while importing) 
Issue History
2019-09-20 14:36marvintmTypedefect => backport
2019-09-20 14:36marvintmTarget Version => RR19Q2.3
2019-09-26 18:19hgbotCheckin
2019-09-26 18:19hgbotNote Added: 0114825
2019-09-26 18:19hgbotStatusscheduled => resolved
2019-09-26 18:19hgbotResolutionopen => fixed
2019-09-26 18:19hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q2.3/org.openbravo.retail.posterminal/rev/d1d2e8c9a79f6551a1575d6e611f3cc393817d5d [^]
2019-09-27 09:18jorge-garciaReview Assigned To => jorge-garcia
2019-09-27 09:18jorge-garciaNote Added: 0114829
2019-09-27 09:18jorge-garciaStatusresolved => closed
2019-09-27 09:18jorge-garciaFixed in Version => RR19Q2.3

Notes
(0114825)
hgbot   
2019-09-26 18:19   
Repository: retail/backports/3.0RR19Q2.3/org.openbravo.retail.posterminal
Changeset: d1d2e8c9a79f6551a1575d6e611f3cc393817d5d
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Sep 26 21:48:59 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q2.3/org.openbravo.retail.posterminal/rev/d1d2e8c9a79f6551a1575d6e611f3cc393817d5d [^]

Fixed issue 41863 : Open Receipt Selector should verify the receipt status of ImportEntry

* Added AD Message for Open Related ticket

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/utils/orderSelectorUtils.js
---
(0114829)
jorge-garcia   
2019-09-27 09:18   
Code reviewed and tested