Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033241Retail ModulesStoreServerpublic2016-06-13 16:262016-08-12 12:30
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
RR16Q4 
migueldejuana
No
No
0033241: Synchronized mode: in synchronized mode preference on then still don't do cashup in synchronized mode
OB Commerce supports synchronized mode in the 16Q3 release:
http://wiki.openbravo.com/wiki/Retail:Store_Server#Synchronized_Transactions [^]

Synchronized mode is enabled (using a preference) for all transactional actions. This includes cashups. The thing with cashups is that they happen all at the same time if stores are in the same timezone. Around the common closing time of the stores.
A cashup takes a fair amount of time (seconds) so there is danger of congestion on the (central) server if they all happen at the same time. Therefore the proposal is to do cashups always as non-synchronized to let them be done asynchronously.
Set the synchronized mode preference to Y
Start webpos
Do a ticket
Do a cashup, check the web service request and see that it uses the synchronized process caller
No tags attached.
related to defect 0034616RR17Q1 closed mtaal In multi-server with replication of transactional tables the import entries should not be replicated to the other server 
Issue History
2016-06-13 16:26mtaalNew Issue
2016-06-13 16:26mtaalAssigned To => mtaal
2016-06-13 16:26mtaalOBNetwork customer => No
2016-06-13 16:26mtaalTriggers an Emergency Pack => No
2016-06-30 11:57mtaalTarget VersionRR16Q3 => RR16Q4
2016-07-01 10:03mtaalCategoryWeb POS => Store Server
2016-07-01 10:28mtaalCategoryStore Server => Web POS
2016-07-11 16:23mtaalCategoryWeb POS => StoreServer Infrastructure
2016-07-12 16:13gorka_gilCategoryStoreServer Infrastructure => StoreServer
2016-07-25 22:46hgbotCheckin
2016-07-25 22:46hgbotNote Added: 0088653
2016-07-25 22:52hgbotCheckin
2016-07-25 22:52hgbotNote Added: 0088654
2016-07-25 22:52hgbotStatusnew => resolved
2016-07-25 22:52hgbotResolutionopen => fixed
2016-07-25 22:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/994e60bf0c154824c26058d7ab31d724dd539185 [^]
2016-08-01 13:03mtaalReview Assigned To => migueldejuana
2016-08-12 12:30migueldejuanaNote Added: 0089084
2016-08-12 12:30migueldejuanaStatusresolved => closed
2016-11-24 13:50mtaalRelationship addedrelated to 0034616

Notes
(0088653)
hgbot   
2016-07-25 22:46   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b20b01127b06bd2a028b61d019ec2175217c9401
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Jul 25 22:45:02 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b20b01127b06bd2a028b61d019ec2175217c9401 [^]

Related to issue 33241: Synchronized mode: in synchronized mode preference on then still don't do cashup in synchronized mode
Added utility method to set the synchronized mode preference

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0088654)
hgbot   
2016-07-25 22:52   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 994e60bf0c154824c26058d7ab31d724dd539185
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Jul 25 22:51:14 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/994e60bf0c154824c26058d7ab31d724dd539185 [^]

Fixes issue 33241: Synchronized mode: in synchronized mode preference on then still don't do cashup in synchronized mode
Reset synchronized mode before the cashup and then restore afterwards.

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js
---
(0089084)
migueldejuana   
2016-08-12 12:30   
Tested and reviewed