Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027764Openbravo ERP04. Warehouse managementpublic2014-10-03 17:442014-12-30 23:22
eduardo_Argal 
eduardo_Argal 
urgentmajoralways
closedfixed 
5
 
3.0PR15Q1 
Core
No
0027764: Match LC Costs pick and execute is not working
Match LC Costs pick and execute is displaying wrong results in grid.
1) Displays Matched landed costs which are not related with selected
2) When opened from a financial invoice line (using account) the results shows both landed costs types related to products
Create 2 landed cost types
1) product: using a product
2) account: Using an account
Create a landed cost with a record in costs of type product.
Add a receipt in the receipt tab and then process
Match it to and purchase invoice line of the same product.
Create a new landed cost with a record in costs of type account
Add a receipt in the receipt tab and then process
select an invoice with a line using the same account (create and process if necessary)
select the line and pres Match LC Cost button
Realize that previous landed cost appears being of product type and already matched.
No tags attached.
Issue History
2014-10-03 17:44eduardo_ArgalNew Issue
2014-10-03 17:44eduardo_ArgalAssigned To => eduardo_Argal
2014-10-03 17:44eduardo_ArgalModules => Core
2014-10-03 17:44eduardo_ArgalTriggers an Emergency Pack => No
2014-10-03 18:02hgbotCheckin
2014-10-03 18:02hgbotNote Added: 0070704
2014-10-03 18:02hgbotStatusnew => resolved
2014-10-03 18:02hgbotResolutionopen => fixed
2014-10-03 18:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c21cc81f5b16be67655f83eccd68ada7cd72ed41 [^]
2014-10-10 12:35psanjuanNote Added: 0070869
2014-10-10 12:35psanjuanStatusresolved => closed
2014-10-13 18:41umartirenaNote Added: 0070916
2014-12-30 23:22hudsonbotCheckin
2014-12-30 23:22hudsonbotNote Added: 0072893

Notes
(0070704)
hgbot   
2014-10-03 18:02   
Repository: erp/devel/pi
Changeset: c21cc81f5b16be67655f83eccd68ada7cd72ed41
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Fri Oct 03 17:48:54 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c21cc81f5b16be67655f83eccd68ada7cd72ed41 [^]

Fixes issue 27764: Match LC Costs pick and execute is not working

Some Variables were not loaded from context and the query was wring. It was as well not using namedParameters so that was reviewd as well

---
M src/org/openbravo/common/inserters/LCMatchFromInvoiceInserter.java
---
(0070869)
psanjuan   
2014-10-10 12:35   
Verify.

Mach LC Cost window shows Landed Cost Type of the same type than the product or account entered in the purchase invoice lines.
(0070916)
umartirena   
2014-10-13 18:41   
Code Review Done.
(0072893)
hudsonbot   
2014-12-30 23:22   
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/6525fe229e06 [^]
Maturity status: Test