Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040730Retail ModulesWeb POSpublic2019-03-07 12:352019-06-28 10:34
malsasua 
javierRodriguez 
urgentcriticalalways
closedfixed 
5
 
RR19Q1.1RR19Q1.1 
marvintm
No
0040730: sales orders are missing when environment is updated from 17Q3 to 18Q3
when there are sales orders pending to sync in the terminal, and system is updated from 17Q3 (or before) to 18Q3 (or higher), the sales orders never are synced to the backoffice.
[POS]
. in 17Q3
. go offline
. complete Sales Order SO1 -> record is stored in message local table

. update to 18Q3
. go online
. the records in local table are deleted, but sales order SO1 is not sent to backoffice -> there is not any record in Data IMport Entry with this sales order

It seems that this problem is generated by Terminal Log functionality, as it is changing the table "message" structure (see attachments)
No tags attached.
blocks defect 0040336 closed javierRodriguez sales orders are missing when environment is updated from 17Q3 to 18Q3 
Issue History
2019-04-30 14:38javierRodriguezTypedefect => backport
2019-04-30 14:38javierRodriguezTarget Version => RR19Q1.1
2019-05-02 08:44hgbotCheckin
2019-05-02 08:44hgbotNote Added: 0111418
2019-05-02 08:44hgbotStatusscheduled => resolved
2019-05-02 08:44hgbotResolutionopen => fixed
2019-05-02 08:44hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d8e541e2640072aa6f992bcd1e209b68ea9cbc05 [^] => http://code.openbravo.com/retail/backports/3.0RR19Q1.1/org.openbravo.mobile.core/rev/31250fa76118a24a2b53a31b852b3944bd288ee8 [^]
2019-05-02 12:12hgbotCheckin
2019-05-02 12:12hgbotNote Added: 0111430
2019-05-02 15:16marvintmReview Assigned To => marvintm
2019-05-02 15:16marvintmStatusresolved => closed
2019-05-02 15:16marvintmFixed in Version => RR19Q1.1
2019-06-28 10:34martinsdanIssue Monitored: martinsdan

Notes
(0111418)
hgbot   
2019-05-02 08:44   
Repository: retail/backports/3.0RR19Q1.1/org.openbravo.mobile.core
Changeset: 31250fa76118a24a2b53a31b852b3944bd288ee8
Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com>
Date: Thu Apr 25 08:54:02 2019 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.1/org.openbravo.mobile.core/rev/31250fa76118a24a2b53a31b852b3944bd288ee8 [^]

Fixed issue 40730: sales orders are missing when environment is updated from 17Q3 to 18Q3

Created a new function to check if there is any data to sync in message table before drop all local database

if there is something, the app will try to sync all this data. if any data failed, A pop up will be shown and it will
force to relog again.

there is also a modification in sendAllMessages function wich allow as to add a callback and also a errorcalback

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0111430)
hgbot   
2019-05-02 12:12   
Repository: retail/backports/3.0RR19Q1.1/org.openbravo.mobile.core
Changeset: e6a87cc63650ed4cd8497d5b6e626f9f16b05b76
Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com>
Date: Thu May 02 12:11:45 2019 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.1/org.openbravo.mobile.core/rev/e6a87cc63650ed4cd8497d5b6e626f9f16b05b76 [^]

Related to issue 40730

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