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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032333
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorhave not tried2016-02-24 20:142016-02-26 11:57
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in VersionRR15Q4.4
StatusclosedFix in branchFixed in SCM revision6db117b0e95c
ProjectionnoneETAnoneTarget VersionRR15Q4.4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToOrekaria
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032333: Tickets not included in cashup if cashup was done offline

DescriptionIn certain circumstances, if tickets are created while being offline, and then a cashup is done also while being offline, then the cashup may be processed before all tickets have been processed. In this case, the tickets will not be invoiced, and their payments will be missing in the cashup reconciliation.
Steps To ReproduceThis issue is very easy to reproduce in 15Q3, but it's much harder to reproduce in 15Q4 or 16Q1, although it's still theoretically possible to face it there.

The steps to reproduce are the following:
- Log in the Web POS. Go offline.
- Create five or more tickets.
- Do the cashup.
- Go back online. Log in again.
- Verify that the tickets have been synchronized, and the cashup is processed. However, all tickets except the first one will not be invoiced, and their payments will not be reconciled.
Proposed SolutionThe cause of the problem is that the synchronization tasks in the backend are not processing correctly entries which contain more than one record in the JSON. In this case, the import entry should be marked as processed only when all the records have been processed, and currently this is not the case (the entry is marked as processed as soon as the first record is processed).
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0032295RR15Q3.5 closedRetail [RR15Q3] cashups are processed before than receipts 
blocks defect 0032331 closedmarvintm Tickets not included in cashup if cashup was done offline 

-  Notes
(0084530)
hgbot (developer)
2016-02-25 19:58

Repository: retail/backports/3.0RR15Q4.4/org.openbravo.mobile.core
Changeset: cbdb060fca93a4b60b88adfde9e7ac0144b1494b
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Feb 25 19:58:22 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4.4/org.openbravo.mobile.core/rev/cbdb060fca93a4b60b88adfde9e7ac0144b1494b [^]

Fixed issue 32333. Prevent early update to the Import Entry record:
Before this change, if a request to the DataSynchronizationProcess contained more than one record, the Import Entry record was updated after the first one instead of being updated after the last one.

---
M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java
---
(0084531)
hgbot (developer)
2016-02-25 20:00

Repository: erp/backports/3.0PR15Q4.4
Changeset: 6db117b0e95c377584ddac80aa28ac9f28a5ea3f
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Feb 25 19:59:45 2016 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q4.4/rev/6db117b0e95c377584ddac80aa28ac9f28a5ea3f [^]

Fixed issue 32333. Added method to check if importentry has status 'Error'

---
M src/org/openbravo/service/importprocess/ImportEntryManager.java
---

- Issue History
Date Modified Username Field Change
2016-02-24 20:14 marvintm Type defect => backport
2016-02-24 20:14 marvintm Target Version => RR15Q4.4
2016-02-25 19:58 hgbot Checkin
2016-02-25 19:58 hgbot Note Added: 0084530
2016-02-25 19:58 hgbot Status scheduled => resolved
2016-02-25 19:58 hgbot Resolution open => fixed
2016-02-25 19:58 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q4.4/org.openbravo.mobile.core/rev/cbdb060fca93a4b60b88adfde9e7ac0144b1494b [^]
2016-02-25 20:00 hgbot Checkin
2016-02-25 20:00 hgbot Note Added: 0084531
2016-02-25 20:00 hgbot Fixed in SCM revision http://code.openbravo.com/retail/backports/3.0RR15Q4.4/org.openbravo.mobile.core/rev/cbdb060fca93a4b60b88adfde9e7ac0144b1494b [^] => http://code.openbravo.com/erp/backports/3.0PR15Q4.4/rev/6db117b0e95c377584ddac80aa28ac9f28a5ea3f [^]
2016-02-26 11:57 Orekaria Review Assigned To => Orekaria
2016-02-26 11:57 Orekaria Status resolved => closed
2016-02-26 11:57 Orekaria Fixed in Version => RR15Q4.4
2016-02-26 12:18 Orekaria Relationship added has duplicate 0032295


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker