Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022435Openbravo ERP09. Financial managementpublic2012-11-30 10:572012-12-01 01:03
caristu 
caristu 
highminoralways
closedfixed 
5
 
3.0MP183.0MP18 
ngarcia
Core
No
0022435: UpdateFactAcctDescription module script needs to be improved
The UpdateFactAcctDescription module-script needs to be improved, because the execution of query that checks if the update needs to be done can be omitted if we use a preference.

This way we improve the performance of this module-script because the query that checks the existence of the preference is faster than the "needs-update" query.
.
Use a preference to avoid the execution of the needs-update query when is not necessary.
No tags attached.
Issue History
2012-11-30 10:57caristuNew Issue
2012-11-30 10:57caristuAssigned To => caristu
2012-11-30 10:57caristuModules => Core
2012-11-30 11:04hgbotCheckin
2012-11-30 11:04hgbotNote Added: 0054663
2012-11-30 11:04hgbotStatusnew => resolved
2012-11-30 11:04hgbotResolutionopen => fixed
2012-11-30 11:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ea1146b41c345ba6e5191543a419e20b60a4c95a [^]
2012-11-30 15:29ngarciaReview Assigned To => ngarcia
2012-11-30 15:29ngarciaNote Added: 0054679
2012-11-30 15:29ngarciaStatusresolved => closed
2012-11-30 15:29ngarciaFixed in Version => 3.0MP18
2012-12-01 01:03hudsonbotCheckin
2012-12-01 01:03hudsonbotNote Added: 0054688

Notes
(0054663)
hgbot   
2012-11-30 11:04   
Repository: erp/devel/pi
Changeset: ea1146b41c345ba6e5191543a419e20b60a4c95a
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Nov 30 11:02:08 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ea1146b41c345ba6e5191543a419e20b60a4c95a [^]

fixes issue 22435: UpdateFactAcctDescription module script needs
 to be improved

---
M src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateFactAcctDescription.class
M src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateFactAcctDescriptionData.class
M src-util/modulescript/src/org/openbravo/modulescript/UpdateFactAcctDescription.java
M src-util/modulescript/src/org/openbravo/modulescript/UpdateFactAcctDescription_data.xsql
---
(0054679)
ngarcia   
2012-11-30 15:29   
verified
(0054688)
hudsonbot   
2012-12-01 01:03   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/4cc8305859aa [^]

Maturity status: Test