Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0019127 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | minor | sometimes | 2011-11-21 19:39 | 2011-11-30 15:50 | |||
Reporter | eduardo_Argal | View Status | public | |||||
Assigned To | eduardo_Argal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 2b117851284f | |||
Projection | none | ETA | none | Target Version | pi | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Advanced Payables and Receivables Mngmt | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0019127: Credit module script loops all business partners | |||||||
Description | Credit module script loops all business partners to fulfill credit payment tab info while it may not be necessary. As module scripts are executed on every update, improving performance can be important. A change in code to loop just those business partners which needs to be updated will improve a lot performance | |||||||
Steps To Reproduce | run "ant smartbuild -Dlocal=no" and mind that module script takes too long. | |||||||
Proposed Solution | Modify primary sql just to loop those business partners which contains payments that needs to be updated | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0043025) hgbot (developer) 2011-11-21 19:42 |
Repository: erp/devel/pi Changeset: 2b117851284f72fc12914de21fc4de18dd96741f Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com> Date: Mon Nov 21 19:42:18 2011 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/2b117851284f72fc12914de21fc4de18dd96741f [^] fixes bug 19127: Credit module script loops all business partners --- M modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/LinkCreditPaymentsData.class M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/LinkCreditPayments_data.xsql M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/LinkCreditPaymentsData.java --- |
(0043026) eduardo_Argal (developer) 2011-11-21 20:06 |
Test plan: generate some payments consuming credit in an instance with some thousands of business partners on mp5, where there was no credit payment tab and run "ant smartbuild -Dlocal=no". Mind that now performance is better Regressions: the risk of regressions is low. Just broken modulescript could introduce one and it has already been tested |
(0043067) hudsonbot (developer) 2011-11-22 03:50 |
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/ebd713dfe507 [^] Maturity status: Test |
(0043587) vmromanos (manager) 2011-11-30 15:50 |
Code review OK Testing OK. The module script continues to work as designed after this change. |
Issue History | |||
Date Modified | Username | Field | Change |
2011-11-21 19:39 | eduardo_Argal | New Issue | |
2011-11-21 19:39 | eduardo_Argal | Assigned To | => eduardo_Argal |
2011-11-21 19:39 | eduardo_Argal | Modules | => Core |
2011-11-21 19:40 | eduardo_Argal | Modules | Core => Advanced Payables and Receivables Mngmt |
2011-11-21 19:42 | eduardo_Argal | Status | new => scheduled |
2011-11-21 19:42 | eduardo_Argal | fix_in_branch | => pi |
2011-11-21 19:42 | hgbot | Checkin | |
2011-11-21 19:42 | hgbot | Note Added: 0043025 | |
2011-11-21 19:42 | hgbot | Status | scheduled => resolved |
2011-11-21 19:42 | hgbot | Resolution | open => fixed |
2011-11-21 19:42 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2b117851284f72fc12914de21fc4de18dd96741f [^] |
2011-11-21 20:06 | eduardo_Argal | Note Added: 0043026 | |
2011-11-22 03:50 | hudsonbot | Checkin | |
2011-11-22 03:50 | hudsonbot | Note Added: 0043067 | |
2011-11-30 15:50 | vmromanos | Note Added: 0043587 | |
2011-11-30 15:50 | vmromanos | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |