Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036967Retail ModulesWeb POSpublic2017-09-27 18:082017-11-03 09:43
malsasua 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
RR18Q1 
marvintm
No
0036967: Cashup info should be retrieved from localdatabase when record processed is stored in cashup table
When there is one cashup record stored in localdatabase with processed=Y, the cashup info is retrieved from backend instead of localdb
in backoffice:
. put one record in Error While Importing to terminal1
in terminal1
. in developers tools, add breakpoint in createNewCashup function
. do a cashup
(execution is stopped in breakpoint)
. refresh browser (F5)

Error is displayed:
"Error in previous cashup
There were errors when processing some previous cashup in this terminal..."

The cashup info should be retrieved from localdatabase, and not from backoffice
No tags attached.
Issue History
2017-09-27 18:08malsasuaNew Issue
2017-09-27 18:08malsasuaAssigned To => Retail
2017-09-27 18:08malsasuaTriggers an Emergency Pack => No
2017-09-27 18:24marvintmResolution time => 1508450400
2017-09-27 18:24marvintmTypedesign defect => defect
2017-09-29 19:09rqueraltaAssigned ToRetail => rqueralta
2017-10-03 12:06PracticsIssue Monitored: Practics
2017-10-30 09:40jorge-garciaAssigned Torqueralta => jorge-garcia
2017-10-30 12:17jorge-garciaStatusnew => scheduled
2017-10-31 08:34hgbotCheckin
2017-10-31 08:34hgbotNote Added: 0100178
2017-10-31 08:34hgbotStatusscheduled => resolved
2017-10-31 08:34hgbotResolutionopen => fixed
2017-10-31 08:34hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5f5b7e3e6cc490a47799d4f05e9efdc0ae4a1974 [^]
2017-11-03 09:43marvintmReview Assigned To => marvintm
2017-11-03 09:43marvintmStatusresolved => closed
2017-11-03 09:43marvintmFixed in Version => RR18Q1

Notes
(0100178)
hgbot   
2017-10-31 08:34   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5f5b7e3e6cc490a47799d4f05e9efdc0ae4a1974
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Oct 30 13:40:21 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5f5b7e3e6cc490a47799d4f05e9efdc0ae4a1974 [^]

Fixed issue 36967: Cashup info should be retrieved from localdatabase when
record processed is stored in cashup table

The solution proposed is to check if a processed cashup exists in local database
before search it in the backend.

---
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
---