|View Issue Details|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|defect||[Openbravo ERP] 03. Procurement management||major||always||2018-05-18 11:13||2018-05-30 00:14|
|Priority||urgent||Resolution||fixed||Fixed in Version||3.0PR18Q3|
|Status||closed||Fix in branch||Fixed in SCM revision||231186969ee7|
|OS Version||Database version||Ant version|
|Product Version||SCM revision|
|Review Assigned To||dmiguelez|
|Regression introduced in release|
|Regression introduced by commit|
|Triggers an Emergency Pack||No|
0038581: It should not be possible to process a Landed Cost Matching when the Landed Cost is in draft status
|Description||Having a Landed Cost in draft status with a Cost already created.|
From the Purchase Invoice window it is possible to match and process the matching even if the Landed Cost is in draft status.
Trying to process later the Landed Cost throws an error as the Landed Cost Cost Matching is already processed.
|Steps To Reproduce||1 Configure a Landed Cost type using product "Electricidad" in F&B España.|
2 Create a Landed Cost and a Landed Cost Cost.
3 Create a Purchase Invoice with a Line using the "Electricidad" product.
4 Process the Purchase Invoice.
5 Go to the Line and open the Match LC Costs process.
6 Select the draft Landed Cost, set the invoice line amount and select the Process Matching flag.
7 Click on Done to process the matching.
8 Go to the Landed Cost and try to process it.
|Proposed Solution||The LCMatchingProcess should check that the Landed Cost is processed. So the step 7 should have throw an error.|
Ideally the "Match LC Costs" should not let you check the Process Matching flag if the related Landed Cost is not processed.
|Tags||No tags attached.|
1- Configure a Landed Cost type using product "Electricidad" in F&B España.
2- Create a Landed Cost and a Landed Cost Cost. Do not process it.
3- Create a Purchase Invoice with a Line using the "Electricidad" product.
4- Process the Purchase Invoice.
5- Go to the Line and open the Match LC Costs process.
6- Realize that No records are loaded in the Pop up window.
7- Navigate back to the preivous Landed Cost created and Add information in Receipt Tab and process it.
8- Navigate back to the previous Purchase Invoice Line and open the Match LC Costs process.
9- Click on Done to process the matching.
10- Realize that process is executed successfully.
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri May 25 04:22:07 2018 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/231186969ee7faaa7c2a005d2d49972d9ee86945 [^]
Fixes Issue 38581: It should not be possible to process a
Landed Cost Matching when the Landed Cost is in draft status
In where clause of HQL query for table used in loading Landed
Costs in Match LC Costs process definition pop up window,
add condition to check whether LC records are processed.
|Code Review + Testing Ok|
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/08f13cf1fa33 [^]
Maturity status: Test
|2018-05-18 11:13||gorkaion||New Issue|
|2018-05-18 11:13||gorkaion||Assigned To||=> Triage Finance|
|2018-05-18 11:13||gorkaion||Modules||=> Core|
|2018-05-18 11:13||gorkaion||Resolution time||=> 1528408800|
|2018-05-18 11:13||gorkaion||Triggers an Emergency Pack||=> No|
|2018-05-21 13:08||aferraz||Assigned To||Triage Finance => AtulOpenbravo|
|2018-05-25 00:49||AtulOpenbravo||Status||new => scheduled|
|2018-05-25 00:49||AtulOpenbravo||Note Added: 0104685|
|2018-05-29 17:33||hgbot||Note Added: 0104779|
|2018-05-29 17:33||hgbot||Status||scheduled => resolved|
|2018-05-29 17:33||hgbot||Resolution||open => fixed|
|2018-05-29 17:33||hgbot||Fixed in SCM revision||=> http://code.openbravo.com/erp/devel/pi/rev/231186969ee7faaa7c2a005d2d49972d9ee86945 [^]|
|2018-05-29 17:38||dmiguelez||Review Assigned To||=> dmiguelez|
|2018-05-29 17:38||dmiguelez||Note Added: 0104780|
|2018-05-29 17:38||dmiguelez||Status||resolved => closed|
|2018-05-29 17:38||dmiguelez||Fixed in Version||=> 3.0PR18Q3|
|2018-05-30 00:14||hudsonbot||Note Added: 0104793|
|Copyright © 2000 - 2009 MantisBT Group|