Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048336Retail ModulesWeb POSpublic2021-12-29 11:202021-12-29 11:30
kchoperena 
Retail 
highmajoralways
newopen 
5
 
 
No
0048336: Create an index in the ccgsBarcode column of OBDICO_Digitalcoupons to improve ValidateChequeCadeauBarcode query performance
The ValidateChequeCadeauBarcode is running a query that has a bad performance. This process is executed in each digital coupon creation

In BUT, the query takes 613ms
Adding the index improves to 0.3ms
1.- Log in to the WEBPOS
2.- Using the menu, create a digital coupon

EXPECTED RESULT:
When completing the digital coupon, the query is executed to validate if there is a cheque cadeau with the same barcode already created
See the attached file
No tags attached.
diff patch_48336.diff (590) 2021-12-29 11:30
https://issues.openbravo.com/file_download.php?file_id=16478&type=bug
Issue History
2021-12-29 11:20kchoperenaNew Issue
2021-12-29 11:20kchoperenaAssigned To => Retail
2021-12-29 11:20kchoperenaTriggers an Emergency Pack => No
2021-12-29 11:30kchoperenaFile Added: patch_48336.diff
2021-12-29 11:30kchoperenaProposed Solution updated

There are no notes attached to this issue.