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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036130
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2017-05-29 17:322017-06-20 16:49
ReporteraaroncaleroView Statuspublic 
Assigned Tojorge-garcia 
PriorityhighResolutionfixedFixed in VersionRR17Q3
StatusclosedFix in branchFixed in SCM revision2997a7c6cfb6
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

0036130: It is possible to get duplicated document numbers in web pos

DescriptionUsing the Return Document Number functionality, it is possible to get duplicated document numbers on both the return document sequence and the ticket document sequence.
Steps To ReproduceLogin in backend.
Go to the POS Terminal window, find the VBS-1 record and define a Return No. Prefix (e.g. RETVBS1)

Login in web pos.
Create a new ticket, add a product, select the product line and on the Edit tab click on Return Line. The document number of the ticket will become a return docNo (e.g. VBSRET1/0000001).
Create a second ticket and repeat the steps. The document no. of the ticket will show VBSRET1/0000002.
Create a third ticket and repeat the steps. This third ticket will also show the VBSRET1/0000002 docNo, which is wrong.

With the third ticket open, click again on the product line and on Return Line. The ticket's docNo will become a normal docNo again (e.g. VBS1/0000110)
Change to the second ticket and repeat the steps. The documentNo will show the next number in the sequence (e.g. VBS1/0000111).
Change to the first ticket and repeat the steps. The document number will also be VBS1/0000111, repeating the documentNo.

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0097379)
hgbot (developer)
2017-06-14 08:45

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 2997a7c6cfb6071f618f631142e9c2e12573c9d7
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Jun 02 13:31:51 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2997a7c6cfb6071f618f631142e9c2e12573c9d7 [^]

Fixed issue 36130: It is possible to get duplicated document numbers in
web pos

The solution is to check all the order in orderList to get the highest value
of the document No (for quotations, returns and sales orders).

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0097380)
hgbot (developer)
2017-06-14 08:46

Repository: tools/automation/pi-mobile
Changeset: 1576af56a8e8211652f8296e84b4b1c111cd8a6f
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Jun 12 10:51:45 2017 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1576af56a8e8211652f8296e84b4b1c111cd8a6f [^]

Verifies issue 36130: It is possible to get duplicated document numbers in
web pos

Added test I36130_MultiOrdersDocumentSequence.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/documentno/I36130_MultiOrdersDocumentSequence.java
---
(0097381)
hgbot (developer)
2017-06-14 08:46

Repository: tools/automation/pi-mobile
Changeset: b4306f4724683fec64918ab0438cf015093d48ea
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jun 13 10:03:19 2017 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b4306f4724683fec64918ab0438cf015093d48ea [^]

Related to issue 36130: It is possible to get duplicated document numbers in
web pos

Change test I34288_ReceiptChangeDocumentNo to be atomic.

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/documentno/I34288_ReceiptChangeDocumentNo.java
---

- Issue History
Date Modified Username Field Change
2017-05-29 17:32 aaroncalero New Issue
2017-05-29 17:32 aaroncalero Assigned To => Retail
2017-05-29 17:32 aaroncalero Resolution time => 1497218400
2017-05-29 17:32 aaroncalero Triggers an Emergency Pack => No
2017-06-02 11:52 jorge-garcia Assigned To Retail => jorge-garcia
2017-06-02 13:37 jorge-garcia Status new => scheduled
2017-06-14 08:45 hgbot Checkin
2017-06-14 08:45 hgbot Note Added: 0097379
2017-06-14 08:45 hgbot Status scheduled => resolved
2017-06-14 08:45 hgbot Resolution open => fixed
2017-06-14 08:45 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2997a7c6cfb6071f618f631142e9c2e12573c9d7 [^]
2017-06-14 08:46 hgbot Checkin
2017-06-14 08:46 hgbot Note Added: 0097380
2017-06-14 08:46 hgbot Checkin
2017-06-14 08:46 hgbot Note Added: 0097381
2017-06-20 16:49 marvintm Review Assigned To => marvintm
2017-06-20 16:49 marvintm Status resolved => closed
2017-06-20 16:49 marvintm Fixed in Version => RR17Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker