Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049681Retail ModulesWeb POSpublic2022-06-29 13:522022-08-30 12:30
malsasua 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR22Q4 
No
0049681: With big volumes the Verify Return selector is very slow when no filter is used
In a customer with a big volume of data, if Verify Return selector is used without any filter (Document Number filter is empty), the query is taking for more than 1 min.

The Verify Return search is returning only 301 records ordered by updated date, but the query is taking count all records
. in customer with a big volume of data
. open Verify Return selector
. click in search button
> 1min later: 301 records are returned ordered by updated
. if no filter is used, we should include one filter by the last X days.
it has no sense, without filters, search in receipts for more than several months or years, and return only the 301 newer records.
Performance
related to defect 0049683 closed ranjith_qualiantech_com With big volumes the Verify Return selector is very slow using "contains" operator in document number 
Issue History
2022-06-29 13:52malsasuaNew Issue
2022-06-29 13:52malsasuaAssigned To => Retail
2022-06-29 13:52malsasuaTriggers an Emergency Pack => No
2022-06-29 14:16malsasuaTag Attached: Performance
2022-06-29 14:22malsasuaRelationship addedrelated to 0049683
2022-07-05 07:39ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-07-05 07:39ranjith_qualiantech_comStatusnew => scheduled
2022-07-08 14:22hector_hernaezIssue Monitored: hector_hernaez
2022-07-12 07:16hgbotNote Added: 0139258
2022-07-25 09:21hgbotResolutionopen => fixed
2022-07-25 09:21hgbotStatusscheduled => closed
2022-07-25 09:22hgbotFixed in Version => RR22Q4
2022-07-25 09:22hgbotNote Added: 0139576
2022-07-25 09:22hgbotNote Added: 0139577
2022-08-30 12:30hgbotNote Added: 0140501

Notes
(0139258)
hgbot   
2022-07-12 07:16   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/853 [^]
(0139576)
hgbot   
2022-07-25 09:22   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 9d8c7ca9bd1b304fb291fc7341f89e67ae215aca
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 25-07-2022 07:21:44
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/9d8c7ca9bd1b304fb291fc7341f89e67ae215aca [^]

Fixed ISSUE-49681: Added OrderDateFilter in PaidReceiptFilter
* In PaidReceiptFilter, if ther is no remote filter,
  then order should be filtered by orderDate by past 30 days.
  Filter 30 days can be changed by preference "Web POS Paid Receipts OrderDate Filter Days"

---
M src-db/database/sourcedata/AD_PREFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/retail/posterminal/PaidReceiptsFilter.java
---
(0139577)
hgbot   
2022-07-25 09:22   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/853 [^]
(0140501)
hgbot   
2022-08-30 12:30   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: cbb2215d93eb312b3f10479a7947bf6a75690abf
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 30-08-2022 15:59:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/cbb2215d93eb312b3f10479a7947bf6a75690abf [^]

Related to ISSUE-49681: Updated OrderDate filter days in PaidReceipt
* Increased OrderDate filter days to 3650

---
M src-db/database/sourcedata/AD_PREFERENCE.xml
---