Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040484Retail ModulesCash uppublic2019-03-07 13:412019-07-23 12:35
malsasua 
rqueralta 
highmajorhave not tried
closedfixed 
5
 
RR19Q1.1RR19Q1.1 
marvintm
No
0040484: Cashup with corrupted data is synced after to update to 18Q3
When cashup has not been completed in one terminal, and system is updated to 18Q3, the payment method cashup info is corrupted in local database. This info is updated to current balance of financial account of payments.
BO:
. Cash financial account - current balance 0

POS:
. login
. complete cashup -> total to keep for cash payment method: 0
. complete a new sales order SO1 -> amount 10
(Cash financial account - current balance 10)

UPDATE TO 18Q3
POS:
. login
. complete cashup -> starting cash is displaying amount 10 and it should be 0
Verify into OB.UTIL.initcashup function if any tables related with the cash up process was rebuilded. If it was done, is necessary eliminate the others related tables, at the beginning of the process. By doing this, we recover all the backend data.
No tags attached.
related to defect 0040336 closed javierRodriguez sales orders are missing when environment is updated from 17Q3 to 18Q3 
blocks defect 0040337 closed rqueralta Cashup with corrupted data is synced after to update to 18Q3 
Issue History
2019-03-28 18:00guilleaerTypedefect => backport
2019-03-28 18:00guilleaerTarget Version => RR19Q1.1
2019-04-01 20:55hgbotCheckin
2019-04-01 20:55hgbotNote Added: 0110955
2019-04-01 20:55hgbotStatusscheduled => resolved
2019-04-01 20:55hgbotResolutionopen => fixed
2019-04-01 20:55hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c74d6f059b735e2b45163a54886035c9829cbc49 [^] => http://code.openbravo.com/retail/backports/3.0RR19Q1.1/org.openbravo.mobile.core/rev/886683a8ce221d4c93379e690669a49850e8f583 [^]
2019-04-11 13:04marvintmReview Assigned Toguilleaer => marvintm
2019-04-11 13:04marvintmStatusresolved => closed
2019-04-11 13:04marvintmFixed in Version => RR19Q1.1
2019-07-23 12:35rafarodaRelationship addedrelated to 0040336

Notes
(0110955)
hgbot   
2019-04-01 20:55   
Repository: retail/backports/3.0RR19Q1.1/org.openbravo.mobile.core
Changeset: 886683a8ce221d4c93379e690669a49850e8f583
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Mon Apr 01 14:53:39 2019 -0400
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.1/org.openbravo.mobile.core/rev/886683a8ce221d4c93379e690669a49850e8f583 [^]

Fixed issue 40484: Cashup with corrupted data is synced after to update to 18Q3

- If one table related to Cash Up process is rebuilded, is necessary rebuild all
the related tables. "relatedTablesToRebuild" function was added to do it. This
way we reload all Cash Up data from the backend.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---