Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031211Retail ModulesWeb POSpublic2015-10-22 08:322015-11-08 08:31
mtaal 
migueldejuana 
normalminorhave not tried
closedfixed 
5
 
RR16Q1RR16Q1 
mtaal
No
0031211: Remote: add preference to control if the remote search uses contains or startswith
This a feature request to make it configurable if remote search uses contains or startswith (currently the default is startswith). This is for these entities:
- products
- business partners
- addresses
- tickets
1) Set remote control preferences
2) login into Webpos
3) search for customers and products using a string in the middle of the product name
Add a preference for each type of data, as different types of data can have different volumes in the database.

As a default let the preference operate with startsWith. There is no need to create default preferences, just hardcode the default.

Add an automated testcase to check the behavior.

Document the preferences here:
http://wiki.openbravo.com/wiki/Retail:Configuration_Guide#Supporting_High_Volume_Master_Data:_Remote_Master_Data_Handling [^]
No tags attached.
related to defect 0033044 closed Sandrahuguet [HGVOL] Remote tickets search should be configurable to use contains or startswith with a preference 
Issue History
2015-10-22 08:32mtaalNew Issue
2015-10-22 08:32mtaalAssigned To => migueldejuana
2015-10-22 08:32mtaalTriggers an Emergency Pack => No
2015-10-22 08:33mtaalDescription Updatedbug_revision_view_page.php?rev_id=9795#r9795
2015-10-22 08:35mtaalProposed Solution updated
2015-10-26 15:38hgbotCheckin
2015-10-26 15:38hgbotNote Added: 0081315
2015-10-26 15:38hgbotStatusnew => resolved
2015-10-26 15:38hgbotResolutionopen => fixed
2015-10-26 15:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5ad9bc3118b90c7afad41d960f8453ef193b5f52 [^]
2015-10-26 15:39hgbotCheckin
2015-10-26 15:39hgbotNote Added: 0081317
2015-10-26 15:39hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5ad9bc3118b90c7afad41d960f8453ef193b5f52 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/699e4712406756a77052fc28e568c6f64783d6fd [^]
2015-10-28 07:59hgbotCheckin
2015-10-28 07:59hgbotNote Added: 0081359
2015-11-08 08:31mtaalReview Assigned To => mtaal
2015-11-08 08:31mtaalNote Added: 0081576
2015-11-08 08:31mtaalStatusresolved => closed
2015-11-08 08:31mtaalFixed in Version => RR16Q1
2016-05-25 11:33SandrahuguetRelationship addedrelated to 0033044

Notes
(0081315)
hgbot   
2015-10-26 15:38   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 5ad9bc3118b90c7afad41d960f8453ef193b5f52
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Oct 26 10:31:14 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5ad9bc3118b90c7afad41d960f8453ef193b5f52 [^]

Fixed issue 0031211: Remote: add preference to control if the remote search uses contains or startswith

---
M src/org/openbravo/mobile/core/process/SimpleQueryBuilder.java
M web/org.openbravo.mobile.core/source/data/ob-dal.js
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
---
(0081317)
hgbot   
2015-10-26 15:39   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 699e4712406756a77052fc28e568c6f64783d6fd
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Oct 26 10:31:59 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/699e4712406756a77052fc28e568c6f64783d6fd [^]

Fixed issue 0031211: Remote: add preference to control if the remote search uses contains or startswith

---
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/retail/posterminal/BrandProductHQLCriteria.java
M src/org/openbravo/retail/posterminal/PCharacteristicHQLCriteria.java
M src/org/openbravo/retail/posterminal/ProductCharacteristicHQLCriteria.java
M web/org.openbravo.retail.posterminal/js/components/modalproductbrand.js
M web/org.openbravo.retail.posterminal/js/components/modalproductcharacteristic.js
---
(0081359)
hgbot   
2015-10-28 07:59   
Repository: tools/automation/pi-mobile
Changeset: aae4af5ade86baecfa7c11e451871151e7c5db44
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Oct 28 07:57:44 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/aae4af5ade86baecfa7c11e451871151e7c5db44 [^]

Related to issue 0031211: Remote: add preference to control if the remote search uses contains or startswith

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/highvolume/I31211_UseContainsInsteadOfStartsWith.java
---
(0081576)
mtaal   
2015-11-08 08:31   
Reviewed & tested