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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028173
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2014-11-13 23:402014-12-01 16:38
ReporterjecharriView Statuspublic 
Assigned Toaaroncalero 
PriorityurgentResolutionfixedFixed in VersionRR15Q1
StatusclosedFix in branchFixed in SCM revision983408437f6e
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028173: When you read a barcode it should fin by upc in upper case and not upc =

DescriptionWhen you read a barcode it should fin by upc in upper case and not upc =
Steps To Reproduce-Create a product and insert upc CAN01
-Go to Web POS and try to find by can01

You will not receive any result
Proposed SolutionChange files

modules//org.openbravo.retail.multiupc/web/org.openbravo.retail.multiupc/js/extendUPCSearch.js <- module Multi UPC/EAN for Products in Web POS
and
modules//org.openbravo.retail.posterminal/web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboardorder.js

and change "upc =" to "upper(upc) = upper(txt)"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0071697)
hgbot (developer)
2014-11-17 12:02

Repository: erp/pmods/org.openbravo.retail.multiupc
Changeset: b7e14fdde24e2662f174edb98a1f7083ab717aed
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Mon Nov 17 11:52:32 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.multiupc/rev/b7e14fdde24e2662f174edb98a1f7083ab717aed [^]

Fixed issue 0028173: When you read a barcode it should find by upc doing a case-insensitive search

---
M web/org.openbravo.retail.multiupc/js/extendUPCSearch.js
---
(0071698)
hgbot (developer)
2014-11-17 12:03

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 72f3ed1a02e7c0785ebd093d2fa5dcb93606c99c
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Mon Nov 17 11:55:47 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/72f3ed1a02e7c0785ebd093d2fa5dcb93606c99c [^]

Fixed issue 0028173: When you read a barcode it should find by upc doing a case-insensitive search

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboardorder.js
---
(0071907)
mtaal (manager)
2014-11-24 06:12

Instead of using like, it seems better to use the upper SQL functions here.

Example:
select * from m_product product where upper(product.upc) = upper('abc123');
(0071934)
hgbot (developer)
2014-11-24 13:11

Repository: erp/pmods/org.openbravo.retail.multiupc
Changeset: 59dce0a5b52b8c5eb8839a2e69ab6a70a73981d6
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Mon Nov 24 13:06:11 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.multiupc/rev/59dce0a5b52b8c5eb8839a2e69ab6a70a73981d6 [^]

Fixed issue 0028173: When you read a barcode it should find by upc doing a case-insensitive search

Use upper function and equal comparator instead of the like operator

---
M web/org.openbravo.retail.multiupc/js/extendUPCSearch.js
---
(0071935)
hgbot (developer)
2014-11-24 13:12

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 983408437f6ed4461f6fa4f5a22937a8da28d27d
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Mon Nov 24 13:10:44 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/983408437f6ed4461f6fa4f5a22937a8da28d27d [^]

Fixed issue 0028173: When you read a barcode it should find by upc doing a case-insensitive search

Use upper function and equal comparator instead of the like operator

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboardorder.js
---
(0072207)
mtaal (manager)
2014-12-01 16:38

Reviewed and Tested

- Issue History
Date Modified Username Field Change
2014-11-13 23:40 jecharri New Issue
2014-11-13 23:40 jecharri Assigned To => marvintm
2014-11-13 23:40 jecharri Resolution time => 1419030000
2014-11-13 23:40 jecharri Triggers an Emergency Pack => No
2014-11-13 23:42 jecharri Proposed Solution updated
2014-11-13 23:46 jecharri Summary When you read a barcode it should fin by upc ilike and not upc = => When you read a barcode it should fin by upc in upper case and not upc =
2014-11-13 23:46 jecharri Description Updated View Revisions
2014-11-13 23:46 jecharri Proposed Solution updated
2014-11-13 23:59 mtaal Assigned To marvintm => aaroncalero
2014-11-17 12:02 hgbot Checkin
2014-11-17 12:02 hgbot Note Added: 0071697
2014-11-17 12:02 hgbot Status new => resolved
2014-11-17 12:02 hgbot Resolution open => fixed
2014-11-17 12:02 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.multiupc/rev/b7e14fdde24e2662f174edb98a1f7083ab717aed [^]
2014-11-17 12:03 hgbot Checkin
2014-11-17 12:03 hgbot Note Added: 0071698
2014-11-17 12:03 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.multiupc/rev/b7e14fdde24e2662f174edb98a1f7083ab717aed [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/72f3ed1a02e7c0785ebd093d2fa5dcb93606c99c [^]
2014-11-24 06:12 mtaal Note Added: 0071907
2014-11-24 06:12 mtaal Status resolved => new
2014-11-24 06:12 mtaal Resolution fixed => open
2014-11-24 13:11 hgbot Checkin
2014-11-24 13:11 hgbot Note Added: 0071934
2014-11-24 13:11 hgbot Status new => resolved
2014-11-24 13:11 hgbot Resolution open => fixed
2014-11-24 13:11 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/72f3ed1a02e7c0785ebd093d2fa5dcb93606c99c [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.multiupc/rev/59dce0a5b52b8c5eb8839a2e69ab6a70a73981d6 [^]
2014-11-24 13:12 hgbot Checkin
2014-11-24 13:12 hgbot Note Added: 0071935
2014-11-24 13:12 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.multiupc/rev/59dce0a5b52b8c5eb8839a2e69ab6a70a73981d6 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/983408437f6ed4461f6fa4f5a22937a8da28d27d [^]
2014-12-01 16:38 mtaal Review Assigned To => mtaal
2014-12-01 16:38 mtaal Note Added: 0072207
2014-12-01 16:38 mtaal Status resolved => closed
2014-12-01 16:38 mtaal Fixed in Version => RR15Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker