Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027925Openbravo ERP04. Warehouse managementpublic2014-10-21 10:502014-12-30 23:23
psanjuan 
umartirena 
urgentmajoralways
closedfixed 
20Ubuntu 8.04.1
 
 
Core
No
0027925: Not possible to process a landed cost in the purchase invoice window, by using Match LC Cost process button
Not possible to process a landed cost in the purchase invoice window, by using Match LC Cost process button
Go to landed Cost window and create a new one dated on 21/10/2014

Go to Cost tab and create a new record, select a "product type" landed cost type, i.e. Transportation Cost and enter an amount of 200.

Go to Receipt tab and select a receipt.

Save an Process landed cost from header.Press Done.

Post landed cost.

Go to purchase invoice and create a new one dated on 25/10/2014. Select a vendor.
Go to lines and select transportation cost product, enter an amount of 200
Complete and post the invoice.

In purchase line press the process button "Match LC Cost". Select landed cost type line and enter an amount of 200. Select the checks:
- "Is Matching adjusted"
- "Process Matching".

Press Done.

Go to landed cost window and realize that the landed cost is NOT processed, regardless it does have a matched amount and was marked as "Process Matching" in the invoice.

At least, landed cost can be processed as the amount matched is equal to initial one. (200)



No tags attached.
Issue History
2014-10-21 10:50psanjuanNew Issue
2014-10-21 10:50psanjuanAssigned To => dmiguelez
2014-10-21 10:50psanjuanModules => Core
2014-10-21 10:50psanjuanTriggers an Emergency Pack => No
2014-10-21 10:59psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6858#r6858
2014-10-21 13:34psanjuanAssigned Todmiguelez => umartirena
2014-10-21 19:00hgbotCheckin
2014-10-21 19:00hgbotNote Added: 0071105
2014-10-21 19:00hgbotStatusnew => resolved
2014-10-21 19:00hgbotResolutionopen => fixed
2014-10-21 19:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/43c56f54459a15488706490f8e2506e4a2cc03c3 [^]
2014-10-23 11:58psanjuanNote Added: 0071124
2014-10-23 11:58psanjuanStatusresolved => closed
2014-12-30 23:23hudsonbotCheckin
2014-12-30 23:23hudsonbotNote Added: 0072966

Notes
(0071105)
hgbot   
2014-10-21 19:00   
Repository: erp/devel/pi
Changeset: 43c56f54459a15488706490f8e2506e4a2cc03c3
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Tue Oct 21 18:58:30 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/43c56f54459a15488706490f8e2506e4a2cc03c3 [^]

Fixes Issue 27925: Match LC Cost Process P&E now processes correctly Matchings

The problem was due to a missing OBDal.getInstance().flush().

Also LCCostMatchFromInvoiceHandler.java action handler has been improved to return correctly error messages.

---
M src/org/openbravo/costing/LCCostMatchFromInvoiceHandler.java
---
(0071124)
psanjuan   
2014-10-23 11:58   
Verified. It is now processed.
(0072966)
hudsonbot   
2014-12-30 23:23   
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