Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0047907 | Openbravo ERP | 09. Financial management | public | 2021-10-21 18:05 | 2021-11-15 13:48 |
Reporter | ludmila_ursu | ||||
Assigned To | vmromanos | ||||
Priority | normal | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | no change required | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | vmromanos | ||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0047907: Performance issue when searching in window "Financial Account" report "CashBook" | ||||
Description | For some stores, in backoffice, window "Financial Account", if we search for report "CashBook", result returns 0 lines. In Chrome Developer we have error status 502. There are 2 calculated colums that causes slowness: "lastreconciliation" and "lastreconbalance". These columns are calculated using this query: SELECT fin_financ0_.Fin_Financial_Account_ID AS Fin_Fina1_321_0_, fin_financ0_.AD_Client_ID AS AD_Clien2_321_0_, fin_financ0_.AD_Org_ID AS AD_Org_I3_321_0_, (SELECT MAX(rec.endingbalance) FROM fin_reconciliation rec WHERE rec.fin_financial_account_id = fin_financ0_.fin_financial_account_id AND EXISTS (SELECT 1 FROM fin_reconciliation fr WHERE fr.processed='Y' AND fr.fin_financial_account_id=fin_financ0_.fin_financial_account_id HAVING rec.dateto = MAX(fr.dateto))) AS formula1_0_, (SELECT MAX(fr.dateto) FROM fin_financial_account ff, fin_reconciliation fr WHERE ff.fin_financial_account_id=fr.fin_financial_account_id AND ff.fin_financial_account_id=fin_financ0_.fin_financial_account_id) AS formula2_0_ FROM FIN_Financial_Account fin_financ0_ WHERE fin_financ0_.Fin_Financial_Account_ID IN ($1, ...); | ||||
Steps To Reproduce | Go to backoffice, window "Financial Account", choose a store, and in "Name" field, type "CashBook". Open the Chrome Developer Tools, to see the error status. | ||||
Proposed Solution | 2 possible workarounds: 1) If we add extra filters (for example, we add in the grid view the column Updated By and select a few users), then the search will return more targeted (and less) results. Error 502 no longer occurs. 2) Second workaround: exclude from the grid view the column "Last Reconciliation Balance" ("Solde dernier rapprochement" in french). We have all the least of cashbooks. Error 502 no longer occurs. | ||||
Additional Information | |||||
Tags | Performance | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2021-10-21 18:05 | ludmila_ursu | New Issue | |||
2021-10-21 18:05 | ludmila_ursu | Assigned To | => Retail | ||
2021-10-21 18:05 | ludmila_ursu | Triggers an Emergency Pack | => No | ||
2021-10-21 18:07 | ludmila_ursu | Tag Attached: Performance | |||
2021-11-12 15:29 | marvintm | Assigned To | Retail => Triage Finance | ||
2021-11-12 15:31 | marvintm | Project | Retail Modules => Openbravo ERP | ||
2021-11-12 15:32 | marvintm | Modules | => Core | ||
2021-11-12 15:32 | marvintm | Category | Retail Analytics => 09. Financial management | ||
2021-11-12 15:32 | marvintm | version | RR20Q1.2 => | ||
2021-11-15 09:49 | vmromanos | Assigned To | Triage Finance => vmromanos | ||
2021-11-15 13:48 | vmromanos | Review Assigned To | => vmromanos | ||
2021-11-15 13:48 | vmromanos | Note Added: 0133047 | |||
2021-11-15 13:48 | vmromanos | Status | new => closed | ||
2021-11-15 13:48 | vmromanos | Resolution | open => no change required |
Notes | |||||
|
|||||
|
|