Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035745
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2017-04-10 17:142018-10-29 11:26
ReportermigueldejuanaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR19Q1
StatusclosedFix in branchFixed in SCM revision693bfc2fe935
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035745: Add a transaction where it is needed

DescriptionThere are some places in the code where saves in the local database must be inside a transaction:

- Inside cancelLayaway listener: Save order and cashup info(add calculateCurrentCash also??)
- Inside voidLayaway listener: Save order, cashup info and calculateCurrentCash
- Inside multiOrdersFunction function: Save order, cashup info, calculateCurrentCash and updateDocumentSequenceWhenOrderSaved
- Inside errorCalbacks of multiOrdersFunction and mainReceiptCloseFunction

Review the code. There should be more cases
Steps To ReproduceSee Description
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0035703 closedmigueldejuana It is possible to count the same ticket twice on the same paymentmethodcashup 
related to defect 0038862 closedmigueldejuana Ticket completion should be executed fully inside the same database transaction 

-  Notes
(0107219)
hgbot (developer)
2018-10-08 14:47

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 693bfc2fe93581ffb9b3db6519a120af7cd91b54
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Oct 08 18:16:38 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/693bfc2fe93581ffb9b3db6519a120af7cd91b54 [^]

Fixed issue 35745 : Added transaction while closing multiorder

* Added transaction while voiding Layaway
* Added transaction while closing cashup

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---

- Issue History
Date Modified Username Field Change
2017-04-10 17:14 migueldejuana New Issue
2017-04-10 17:14 migueldejuana Assigned To => Retail
2017-04-10 17:14 migueldejuana Triggers an Emergency Pack => No
2017-04-10 17:14 migueldejuana Relationship added related to 0035703
2017-04-11 08:14 migueldejuana Priority normal => high
2017-04-11 08:14 migueldejuana Severity trivial => major
2017-04-11 08:15 migueldejuana Description Updated View Revisions
2018-04-05 15:12 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2018-04-05 15:12 ranjith_qualiantech_com Status new => scheduled
2018-08-20 07:55 ranjith_qualiantech_com Relationship added related to 0038862
2018-10-08 14:47 hgbot Checkin
2018-10-08 14:47 hgbot Note Added: 0107219
2018-10-08 14:47 hgbot Status scheduled => resolved
2018-10-08 14:47 hgbot Resolution open => fixed
2018-10-08 14:47 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/693bfc2fe93581ffb9b3db6519a120af7cd91b54 [^]
2018-10-29 11:26 marvintm Review Assigned To => marvintm
2018-10-29 11:26 marvintm Status resolved => closed
2018-10-29 11:26 marvintm Fixed in Version => RR19Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker