Openbravo Issue Tracking System - Retail Modules | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0033123 | Retail Modules | Web POS | public | 2016-06-02 18:19 | 2017-11-30 10:12 | |||||||
| Reporter | shuehner | |||||||||||
| Assigned To | shuehner | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | RR16Q3 | ||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | marvintm | |||||||||||
| OBNetwork customer | No | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0033123: OrderLoader countPayments function uses very complex and potentially very slow query for simple check | |||||||||||
| Description | the countPayments function in OrderLoader queries payments related to a c_order via the FIN_Payment_Detail_V and via the DAL filter for order even joins to a 2nd FIN_Payment_Sched_ord_V. Checking view definition both views are very complex and heavy in terms of processing. Checking the views + that the OrderLoader query only needs a count they coul dbe replaced by custom much simpler query only having 2-3 joins instead of the complex views querying over 10 tables. | |||||||||||
| Steps To Reproduce | - | |||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | Performance | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2016-06-02 18:19 | shuehner | New Issue | ||||||||||
| 2016-06-02 18:19 | shuehner | Assigned To | => Retail | |||||||||
| 2016-06-02 18:19 | shuehner | OBNetwork customer | => No | |||||||||
| 2016-06-02 18:19 | shuehner | Triggers an Emergency Pack | => No | |||||||||
| 2016-06-02 18:19 | shuehner | Tag Attached: Performance | ||||||||||
| 2016-06-02 18:20 | shuehner | Note Added: 0086956 | ||||||||||
| 2016-06-07 12:23 | shuehner | Note Added: 0087057 | ||||||||||
| 2016-06-07 18:07 | shuehner | Relationship added | related to 0033176 | |||||||||
| 2016-06-09 15:48 | hgbot | Checkin | ||||||||||
| 2016-06-09 15:48 | hgbot | Note Added: 0087132 | ||||||||||
| 2016-06-09 15:48 | hgbot | Status | new => resolved | |||||||||
| 2016-06-09 15:48 | hgbot | Resolution | open => fixed | |||||||||
| 2016-06-09 15:48 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/722755b9766c9d113a041b958bba8a8424540c7f [^] | |||||||||
| 2016-06-09 15:58 | shuehner | Assigned To | Retail => shuehner | |||||||||
| 2016-06-09 15:58 | shuehner | Review Assigned To | => marvintm | |||||||||
| 2016-06-15 19:11 | marvintm | Status | resolved => closed | |||||||||
| 2017-11-30 10:12 | shuehner | Fixed in Version | => RR16Q3 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||