Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0021944 | Openbravo ERP | 09. Financial management | public | 2012-10-16 10:12 | 2012-10-16 16:42 | |||||||
Reporter | egoitz | |||||||||||
Assigned To | dmiguelez | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | duplicate | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | 3.0MP16 | |||||||||||
Target Version | 3.0MP18 | Fixed in Version | ||||||||||
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 | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
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 |
Notes | |||||
|
|||||
|
|