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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034017
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2016-09-19 14:252016-10-21 09:14
ReporteradrianromeroView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in VersionRR17Q1
StatusclosedFix in branchFixed in SCM revision6c3ce0736516
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034017: [SER QA 1730] Function getLastDocumentNumber relies on the separator '/' to process Document numbers

DescriptionIn the function getLastDocumentNumber the SQL regular expression relies on having a separator in the document number of orders to calculate the latest document number.
This is not correct because since issue 32857 the application can be configured to not to have a separator in the document numbers generated by the POS
Steps To ReproduceThe lines affected are:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/b61897bd8ae0/src/org/openbravo/retail/posterminal/POSUtils.java#l342 [^]
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/b61897bd8ae0/src/org/openbravo/retail/posterminal/POSUtils.java#l346 [^]

Proposed SolutionModify the regular expression to work properly independently the document numbers has been generated with separator or not.
TagsSER-QA
Attached Filespatch file icon issue 34017 source posterminal 7054.patch [^] (6,932 bytes) 2016-10-18 08:36 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0032857 closedadrianromero The document no separator should be customized 

-  Notes
(0090685)
hgbot (developer)
2016-10-19 08:10

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6c3ce0736516785ac74007e2c5142f792d8c7a19
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Oct 18 11:07:55 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6c3ce0736516785ac74007e2c5142f792d8c7a19 [^]

Fixes issue 34017 : Modified Document number regex to get max document number based on document seperator

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

- Issue History
Date Modified Username Field Change
2016-09-19 14:25 adrianromero New Issue
2016-09-19 14:25 adrianromero Assigned To => Retail
2016-09-19 14:25 adrianromero Resolution time => 1475445600
2016-09-19 14:25 adrianromero Triggers an Emergency Pack => No
2016-09-19 14:25 adrianromero Tag Attached: SER-QA
2016-09-19 14:25 adrianromero Relationship added related to 0032857
2016-10-17 14:02 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2016-10-17 14:02 ranjith_qualiantech_com Status new => scheduled
2016-10-18 08:36 ranjith_qualiantech_com File Added: issue 34017 source posterminal 7054.patch
2016-10-18 13:01 marvintm Resolution time 1475445600 => 1477346400
2016-10-19 08:10 hgbot Checkin
2016-10-19 08:10 hgbot Note Added: 0090685
2016-10-19 08:10 hgbot Status scheduled => resolved
2016-10-19 08:10 hgbot Resolution open => fixed
2016-10-19 08:10 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6c3ce0736516785ac74007e2c5142f792d8c7a19 [^]
2016-10-21 09:14 guilleaer Review Assigned To => guilleaer
2016-10-21 09:14 guilleaer Status resolved => closed
2016-10-21 09:14 guilleaer Fixed in Version => RR17Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker