Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030209Retail ModulesWeb POSpublic2015-03-31 16:132015-07-28 11:33
aaroncalero 
aaroncalero 
normaltrivialhave not tried
closedfixed 
5
 
RR15Q2.3RR15Q2.3 
Orekaria
No
0030209: Provide an API to do transactional OB.Dal calls
Currently Mobile Core is missing a way of executing sql transactions using OB.Dal functions (e.g. OB.Dal.find, OB.Dal.get,...).
We need a way to ensure that a set of OB.Dal calls are executed transactionally.
Try to write 2 OB.Dal actions in a transaction.
Verufy that it is not possible as each OB.Dal action creates its own transaction.
Create a new set of OB.Dal functions that explicitly state that they are going to be executed in a transaction.
No tags attached.
blocks feature request 0029478RR15Q3 closed aaroncalero Provide an API to do transactional OB.Dal calls 
Issue History
2015-06-19 10:29OrekariaTypefeature request => backport
2015-06-19 10:29OrekariaTarget VersionRR15Q3 => RR15Q2.3
2015-07-15 17:36hgbotCheckin
2015-07-15 17:36hgbotNote Added: 0078829
2015-07-15 17:36hgbotStatusscheduled => resolved
2015-07-15 17:36hgbotResolutionopen => fixed
2015-07-15 17:36hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/20828cc11541b31458bc7142d11102fb20531408 [^] => http://code.openbravo.com/retail/backports/3.0RR15Q2.3/org.openbravo.mobile.core/rev/a5c5b884b106daf54a4402e484e54d250d0f79ee [^]
2015-07-28 11:33OrekariaReview Assigned Tomarvintm => Orekaria
2015-07-28 11:33OrekariaStatusresolved => closed
2015-07-28 11:33OrekariaFixed in Version => RR15Q2.3

Notes
(0078829)
hgbot   
2015-07-15 17:36   
Repository: retail/backports/3.0RR15Q2.3/org.openbravo.mobile.core
Changeset: a5c5b884b106daf54a4402e484e54d250d0f79ee
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Jul 15 17:35:50 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.3/org.openbravo.mobile.core/rev/a5c5b884b106daf54a4402e484e54d250d0f79ee [^]

Fixed issue 30209: Provide an API to do transactional OB.Dal calls

Added a new set of functions to OB.Dal to allow transactions.
Updated the existing functions.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---