Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0039378 | Openbravo ERP | 02. Master data management | public | 2018-09-17 16:33 | 2018-10-02 10:23 | |||||||
| Reporter | JONHM | |||||||||||
| Assigned To | AtulOpenbravo | |||||||||||
| Priority | high | Severity | major | Reproducibility | always | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | 3.0PR18Q3.2 | Fixed in Version | 3.0PR18Q3.2 | |||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | Sandrahuguet | |||||||||||
| OBNetwork customer | OBPS | |||||||||||
| Web browser | ||||||||||||
| Modules | Core | |||||||||||
| Support ticket | 4643 | |||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0039378: Performance issue in c_bpartner_trg on environment with lots of data | |||||||||||
| Description | There is a performance issue in c_bpartner_trg on environment with lots of data when changing a BP's price list. | |||||||||||
| Steps To Reproduce | Ask environment to Support: - Open Business Partner window and select 'CLIENTE MOSTRADOR' BP - Change it's price list on the selector and save the record it takes 15517.787 ms to save the record. | |||||||||||
| Proposed Solution | Most of the time is spent on the following query: SELECT MAX(p.c_currency_id) INTO v_currency_credit FROM fin_payment p WHERE p.c_bpartner_id = new.C_BPartner_ID AND p.generated_credit <> 0 AND p.generated_credit-COALESCE(p.used_credit, 0) <> 0; | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2018-09-28 12:58 | Sandrahuguet | Type | defect => backport | |||||||||
| 2018-09-28 12:58 | Sandrahuguet | Target Version | => 3.0PR18Q3.2 | |||||||||
| 2018-10-02 10:21 | hgbot | Checkin | ||||||||||
| 2018-10-02 10:21 | hgbot | Note Added: 0107107 | ||||||||||
| 2018-10-02 10:21 | hgbot | Status | scheduled => resolved | |||||||||
| 2018-10-02 10:21 | hgbot | Resolution | open => fixed | |||||||||
| 2018-10-02 10:21 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/463468c986a3dd39e77c69f159477422f311ebe1 [^] => http://code.openbravo.com/erp/backports/3.0PR18Q3.2/rev/8f54808cff36be7a280e8365ebc2fd5820304450 [^] | |||||||||
| 2018-10-02 10:23 | Sandrahuguet | Note Added: 0107109 | ||||||||||
| 2018-10-02 10:23 | Sandrahuguet | Status | resolved => closed | |||||||||
| 2018-10-02 10:23 | Sandrahuguet | Fixed in Version | => 3.0PR18Q3.2 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||