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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021154
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2012-07-19 14:362012-09-25 13:09
ReporteralostaleView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision97a17f8c8033
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021154: Duplicated order document numbers

DescriptionDepending on how terminal search key and number prefix is defined, it is possible to get duplicated order numbers whenever POS application is reloaded.
Steps To ReproduceTerminal search key: POS-3
Prefix: P3

In this case after reaching 100 orders (P3/00100), regarless how many new orders are added in a session (they have a correlative number among themselves), next session will start with number P3/00100
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0021157RMP18 closedguilleaer Doc num calculation will not scale 

-  Notes
(0050759)
hgbot (developer)
2012-07-19 15:27

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 97a17f8c8033e88756be9b2af41c634e3e6ef48b
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Jul 19 15:26:52 2012 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/97a17f8c8033e88756be9b2af41c634e3e6ef48b [^]

Fixes issue 21154: Sequence number retrieved properly with 100+ orders

At one point the searchKey of a POS terminal was being used instead of its document number prefix.

Also, the list() method is no longer being used, it has been replaced by the use of ScrollableResults, which is better in terms of performance.

---
M src/org/openbravo/retail/posterminal/POSUtils.java
---

- Issue History
Date Modified Username Field Change
2012-07-19 14:36 alostale New Issue
2012-07-19 14:36 alostale Assigned To => adrianromero
2012-07-19 14:37 alostale Status new => scheduled
2012-07-19 14:37 alostale Assigned To adrianromero => AugustoMauch
2012-07-19 14:37 alostale fix_in_branch => pi
2012-07-19 15:27 hgbot Checkin
2012-07-19 15:27 hgbot Note Added: 0050759
2012-07-19 15:27 hgbot Status scheduled => resolved
2012-07-19 15:27 hgbot Resolution open => fixed
2012-07-19 15:27 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/97a17f8c8033e88756be9b2af41c634e3e6ef48b [^]
2012-07-19 15:49 alostale Relationship added related to 0021157
2012-09-25 13:09 adrianromero Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker