Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0024191 | Openbravo ERP | I. Performance | public | 2013-06-26 11:06 | 2016-09-19 16:27 |
|
Reporter | jecharri | |
Assigned To | dmiguelez | |
Priority | urgent | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR16Q4 | |
Merge Request Status | |
Review Assigned To | aferraz |
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 | 0024191: Accounting background process has bad performance |
Description | Accounting background process has bad performance
With huge quantity of documents to be posted the accounting process can take much time.
More than 24 hours |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | Moved from MP26 to MP27, Performance |
Relationships | depends on | backport | 0033966 | 3.0PR16Q3.2 | closed | dmiguelez | Accounting background process has bad performance | depends on | backport | 0033967 | 3.0PR16Q2.3 | closed | dmiguelez | Accounting background process has bad performance | related to | feature request | 0033650 | | closed | AtulOpenbravo | Add columns in AD_Org table to persist data in order to improve performance | causes | defect | 0034018 | | closed | markmm82 | Posting a Purchase Invoice is not possible with "F&B EspaƱa, S.A. - Finanace - F&B International Group" role. NPE is thrown |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-06-26 11:06 | jecharri | New Issue | |
2013-06-26 11:06 | jecharri | Assigned To | => AugustoMauch |
2013-06-26 11:06 | jecharri | Modules | => Core |
2013-06-26 11:06 | jecharri | Resolution time | => 1378418400 |
2013-06-26 11:06 | jecharri | Triggers an Emergency Pack | => No |
2013-06-26 11:07 | jecharri | Tag Attached: Performance | |
2013-06-27 18:07 | AugustoMauch | Assigned To | AugustoMauch => dmiguelez |
2013-07-29 16:36 | jonalegriaesarte | Target Version | 3.0MP26 => 3.0MP27 |
2013-07-29 16:36 | jonalegriaesarte | Tag Attached: Moved from MP26 to MP27 | |
2013-08-19 16:42 | jonalegriaesarte | Target Version | 3.0MP27 => 3.0MP28 |
2013-09-23 16:38 | jonalegriaesarte | Note Added: 0061356 | |
2013-09-23 16:38 | jonalegriaesarte | Type | defect => design defect |
2013-09-23 16:38 | jonalegriaesarte | Target Version | 3.0MP28 => |
2016-08-08 14:02 | dmiguelez | Relationship added | related to 0033650 |
2016-09-13 12:52 | dmiguelez | Status | new => scheduled |
2016-09-16 09:24 | hgbot | Checkin | |
2016-09-16 09:24 | hgbot | Note Added: 0090021 | |
2016-09-16 09:24 | hgbot | Status | scheduled => resolved |
2016-09-16 09:24 | hgbot | Resolution | open => fixed |
2016-09-16 09:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/df9155c88ab2f89b0f79cf3bd183aa730600220c [^] |
2016-09-16 09:24 | hgbot | Checkin | |
2016-09-16 09:24 | hgbot | Note Added: 0090022 | |
2016-09-16 09:26 | aferraz | Review Assigned To | => aferraz |
2016-09-16 09:26 | aferraz | Note Added: 0090024 | |
2016-09-16 09:26 | aferraz | Status | resolved => closed |
2016-09-16 09:26 | aferraz | Fixed in Version | => 3.0PR16Q4 |
2016-09-19 16:00 | aferraz | Relationship added | causes 0034018 |
2016-09-19 16:27 | hudsonbot | Checkin | |
2016-09-19 16:27 | hudsonbot | Note Added: 0090069 | |
2016-09-19 16:27 | hudsonbot | Checkin | |
2016-09-19 16:27 | hudsonbot | Note Added: 0090070 | |
Notes |
|
(0061356)
|
jonalegriaesarte
|
2013-09-23 16:38
|
|
We implemented several changes that made this process better regarding performance. Next step should be a refactor os some parts of the code. This review is going to be managed as a project. Moving it to Design Defect due to the complexity of the change |
|
|
(0090021)
|
hgbot
|
2016-09-16 09:24
|
|
Repository: erp/devel/pi
Changeset: df9155c88ab2f89b0f79cf3bd183aa730600220c
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Sep 08 16:36:16 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/df9155c88ab2f89b0f79cf3bd183aa730600220c [^]
Fixes Issue 24191. Improves performance for Accounting Background Process.
Adds Index in FIN_FINACC_TRANSACTION Table.
Modifies query in AcctServer_data to properly limit the results returned.
Modifies query in AcctServer_data to remove the order clause.
Persist information about Accounting Schemas in Java code so it is no longer
necessary to access the Database everytime to retrive that information.
---
M src-db/database/model/tables/FIN_FINACC_TRANSACTION.xml
M src/org/openbravo/dal/core/OBContext.java
M src/org/openbravo/erpCommon/ad_forms/AcctSchema.java
M src/org/openbravo/erpCommon/ad_forms/AcctServer.java
M src/org/openbravo/erpCommon/ad_forms/AcctServer_data.xsql
A src/org/openbravo/erpCommon/ad_forms/AcctSchemaStructureProvider.java
---
|
|
|
(0090022)
|
hgbot
|
2016-09-16 09:24
|
|
Repository: erp/devel/pi
Changeset: 682415bc0aa9a5022a7c7fbec1442a61a8bc3025
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Tue Sep 13 18:24:02 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/682415bc0aa9a5022a7c7fbec1442a61a8bc3025 [^]
Related to issue 24191: Code review improvements
- Move AcctSchemaStructureProvider.java to same folder as OrganizationStructureProvider.java.
- Rename acctSchemaSP variable to acctSchemaProvider in OBContext.java.
- Remove unused data variable in AcctSchema.java.
- Add commentary to explain why we send limit manually to xsql query in AcctServer.java.
- Do not send numberRegisters parameter to AcctServerData.select as we are already sending the limit.
- Undo changes in AcctServerData.periodOpen method and create new AcctServerData.selectPeriodOpen method to avoid a functional API change.
---
M src/org/openbravo/dal/core/OBContext.java
M src/org/openbravo/erpCommon/ad_forms/AcctSchema.java
M src/org/openbravo/erpCommon/ad_forms/AcctServer.java
M src/org/openbravo/erpCommon/ad_forms/AcctServer_data.xsql
A src/org/openbravo/dal/security/AcctSchemaStructureProvider.java
R src/org/openbravo/erpCommon/ad_forms/AcctSchemaStructureProvider.java
---
|
|
|
|
|
|
|
|
|
|
|