Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032949
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2016-05-13 10:492016-06-17 19:38
ReportermalsasuaView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityhighResolutionfixedFixed in Version3.0PR16Q3
StatusclosedFix in branchFixed in SCM revisionef154325c6cf
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product Version3.0PR15Q3.5SCM revision 
Review Assigned Toaferraz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032949: performance problem in pick and execute of Return to Vendor: RFC/RTV HQL Pick / Edit Lines

Descriptionwith a big data, the pick & edit of return to vendor window, the results are not displayed.

We have applied the configration
  - Add restriction in "Product - Pick / Edit Lines - RFC/RTV HQL Pick / Edit Lines" field to "Allow filtering by FK identifier" No

but the problem persist.
Steps To Reproduce. in a environment with big data (# records):
- m_inoutline: 2.583.661
- m_inout: 647.101
- c_bpartner: 504
- m_product: 5.500

. access to "Return to vendor" window, and click in pick&Edit:
never finished

. to reproduce it, please, contact with MAL. A environment will be provided
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0033191 closedTriage Finance Slow behaviour of Pick/Edit Lines on "Return to vendor" window 
related to defect 0034031 closedAtulOpenbravo Return From Customer pick and edit is very slow with big data 
related to defect 0035682 closedmarkmm82 Return From Customer pick and edit is very slow with big data 

-  Notes
(0086991)
hgbot (developer)
2016-06-03 15:41

Repository: erp/devel/pi
Changeset: ef154325c6cf3d97d5fd08aaa5a50d496f3e5e0b
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Wed Jun 01 18:31:57 2016 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/ef154325c6cf3d97d5fd08aaa5a50d496f3e5e0b [^]

Fixes issue 32949: Improve performance in Return to Vendor Pick and Execute

In order to avoid unnecessary joins to M_InoutLine table, replace ol.goodsShipmentLine = iol with ol.goodsShipmentLine.id = iol.

---
M src-db/database/sourcedata/AD_TABLE.xml
M src/org/openbravo/common/datasource/ReturnToFromCustomerVendorHQLTransformer.java
---
(0086992)
hgbot (developer)
2016-06-03 15:41

Repository: erp/devel/pi
Changeset: f3f815904ffdd66f815aff52f517124413724a3d
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri Jun 03 15:32:03 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f3f815904ffdd66f815aff52f517124413724a3d [^]

Related to issue 32949: Code review improvements

- Use inner join instead of left join between OrderLine and Order tables.
- Avoid unnecessary join with Tax table.
- Add index in M_MatchPO table to M_InoutLine_Id column.

---
M src-db/database/model/tables/M_MATCHPO.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src/org/openbravo/common/datasource/ReturnToFromCustomerVendorHQLTransformer.java
---
(0086995)
aferraz (manager)
2016-06-03 16:00

Code review + Testing OK
(0087591)
hudsonbot (developer)
2016-06-17 19:38

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/0dc7be081b1c [^]
Maturity status: Test
(0087592)
hudsonbot (developer)
2016-06-17 19:38

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/0dc7be081b1c [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2016-05-13 10:49 malsasua New Issue
2016-05-13 10:49 malsasua Assigned To => platform
2016-05-13 10:49 malsasua Modules => Core
2016-05-13 10:49 malsasua Resolution time => 1464386400
2016-05-13 10:49 malsasua Triggers an Emergency Pack => No
2016-05-13 10:50 malsasua Steps to Reproduce Updated View Revisions
2016-05-17 10:18 alostale Assigned To platform => Triage Finance
2016-05-19 09:20 aferraz Assigned To Triage Finance => AtulOpenbravo
2016-06-03 15:41 hgbot Checkin
2016-06-03 15:41 hgbot Note Added: 0086991
2016-06-03 15:41 hgbot Status new => resolved
2016-06-03 15:41 hgbot Resolution open => fixed
2016-06-03 15:41 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ef154325c6cf3d97d5fd08aaa5a50d496f3e5e0b [^]
2016-06-03 15:41 hgbot Checkin
2016-06-03 15:41 hgbot Note Added: 0086992
2016-06-03 16:00 aferraz Review Assigned To => aferraz
2016-06-03 16:00 aferraz Note Added: 0086995
2016-06-03 16:00 aferraz Status resolved => closed
2016-06-03 16:00 aferraz Fixed in Version => 3.0PR16Q3
2016-06-13 13:15 aferraz Relationship added has duplicate 0033191
2016-06-17 19:38 hudsonbot Checkin
2016-06-17 19:38 hudsonbot Note Added: 0087591
2016-06-17 19:38 hudsonbot Checkin
2016-06-17 19:38 hudsonbot Note Added: 0087592
2016-09-20 12:38 malsasua Relationship added related to 0034031
2017-04-04 12:26 aferraz Relationship added related to 0035682


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker