Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0021944 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | major | always | 2012-10-16 10:12 | 2012-10-16 16:42 | |||
Reporter | egoitz | View Status | public | |||||
Assigned To | dmiguelez | |||||||
Priority | urgent | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | 3.0MP18 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 3.0MP16 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Advanced Payables and Receivables Mngmt | |||||||
Support ticket | 17478 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0021944: The modulescript UpdateRecordId2Value takes long to be executed having many values | |||||||
Description | The modulescript UpdateRecordId2Value takes long to be executed having many values. The update of the modulescript is execute in every update what it is not needed if it has been previously executed. | |||||||
Steps To Reproduce | -ON an environment with the 358650 rows on the fact_acct and 22138 rows on the c_dept_payment table execute an update.database -It takes too much to finish. Many of the time is spent on the UpdateRecordId2Value modulescript. | |||||||
Proposed Solution | Replace that update on the thile modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/UpdateRecordId2Value_data.xsql UPDATE FACT_ACCT SET RECORD_ID2 = NULL WHERE NOT EXISTS (SELECT 1 FROM C_DEBT_PAYMENT WHERE C_DEBT_PAYMENT_ID = RECORD_ID2) with UPDATE FACT_ACCT SET RECORD_ID2 = NULL WHERE NOT EXISTS (SELECT 1 FROM C_DEBT_PAYMENT WHERE C_DEBT_PAYMENT_ID = RECORD_ID2) AND RECORD_ID2 IS NOT NULL | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|||
Date Modified | Username | Field | Change |
2012-10-16 10:12 | egoitz | New Issue | |
2012-10-16 10:12 | egoitz | Assigned To | => dmiguelez |
2012-10-16 10:12 | egoitz | Modules | => Advanced Payables and Receivables Mngmt |
2012-10-16 10:12 | egoitz | OBNetwork customer | => Yes |
2012-10-16 10:12 | egoitz | Support ticket | => 17478 |
2012-10-16 10:12 | egoitz | Resolution time | => 1352502000 |
2012-10-16 12:13 | egoitz | Issue Monitored: networkb | |
2012-10-16 16:42 | dmiguelez | Relationship added | duplicate of 0021909 |
2012-10-16 16:42 | dmiguelez | Note Added: 0053376 | |
2012-10-16 16:42 | dmiguelez | Status | new => closed |
2012-10-16 16:42 | dmiguelez | Resolution | open => duplicate |
Copyright © 2000 - 2009 MantisBT Group |