Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0044951Openbravo ERP04. Warehouse managementpublic2020-09-01 14:112020-09-07 18:22
gorkaion 
inigo_lerga 
highmajoralways
closedfixed 
5
 
PR20Q4 
dmiguelez
Core
No
0044951: Update ABC button of Pareto Product Report not working.
When the Update ABC button of Pareto Product report is clicked an error is raised making it unable to use.
* Activate the instance to make Pareto Report available.
* Open the Pareto Report
* Select Organization F&B España and currency EUR
* Click on Search
* Some results are shown
* Click on Update ABC button
* An error is raised.
The issue is in the class ReportParetoProduct.

This class manages the execution of that button in the mUpdateParetoProduct method. This method currently is executing ad_process_id 1000500001. That id is the legacy update process already removed on latest releases. The correct process id created for the new cost engine is 9CD67D41E43242CDA034FB994B75812A

Find attached a diff that changes the id
No tags attached.
diff processid-fix.diff (1,108) 2020-09-01 14:11
https://issues.openbravo.com/file_download.php?file_id=14932&type=bug
Issue History
2020-09-01 14:11gorkaionNew Issue
2020-09-01 14:11gorkaionAssigned To => Triage Finance
2020-09-01 14:11gorkaionFile Added: processid-fix.diff
2020-09-01 14:11gorkaionModules => Core
2020-09-01 14:11gorkaionResolution time => 1663797600
2020-09-01 14:11gorkaionTriggers an Emergency Pack => No
2020-09-01 15:34dmiguelezAssigned ToTriage Finance => inigo_lerga
2020-09-02 16:17inigo_lergaNote Added: 0122551
2020-09-02 16:18inigo_lergaStatusnew => scheduled
2020-09-07 09:19dmiguelezResolution time1663797600 => 1600725600
2020-09-07 18:21dmiguelezNote Edited: 0122551bug_revision_view_page.php?bugnote_id=0122551#r21658
2020-09-07 18:21hgbotResolutionopen => fixed
2020-09-07 18:21hgbotStatusscheduled => resolved
2020-09-07 18:21hgbotFixed in Version => PR20Q4
2020-09-07 18:21hgbotNote Added: 0122774
2020-09-07 18:22dmiguelezReview Assigned To => dmiguelez
2020-09-07 18:22dmiguelezNote Added: 0122775
2020-09-07 18:22dmiguelezStatusresolved => closed

Notes
(0122551)
inigo_lerga   
2020-09-02 16:17   
(edited on: 2020-09-07 18:21)
--Test Plan Mantis --
Beforehand, the the instance must be activated.

As the F&B International Group Admin role in Backend:
  - Go to Pareto Report window and select Organization "F&B España, S.A" and
    currency EUR.
    Click on Search.
    Press the Update ABC button.

#In this moment the correct process is executed"

The process finishes successfully with a message similar to:
"Process completed successfully
Created=28, Updated=0"

(0122774)
hgbot   
2020-09-07 18:21   
Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: f7442ac372c2fcf6304bc79318934a30f53216f7
Author: inigo_lerga <inigo.lerga@openbravo.com>
Date: 2020-09-07T16:21:34+00:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/f7442ac372c2fcf6304bc79318934a30f53216f7 [^]

fixes BUG-44951:Updated process id

Old process id is the legacy update process that has already
been removed. New one is used with this fix.

---
M src/org/openbravo/erpCommon/ad_reports/ReportParetoProduct.java
---
(0122775)
dmiguelez   
2020-09-07 18:22   
Code Review + Testing Ok