Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031049Openbravo ERP04. Warehouse managementpublic2015-09-25 14:362015-10-05 17:06
VictorVillar 
dmiguelez 
immediatemajoralways
closedfixed 
5
 
3.0PR15Q3.2 
vmromanos
Core
No
0031049: Wrong cost after executing the Price Correction Background
Wrong cost after executing the Price Correction Background
As group admin role,
  Go to Purchase Order:
    create a new one for a new product. 5 Ud. 60€/Ud.
 Create the goods receipt related.
Launch the Costing Background process. Average cost: 60
Create the Purchase invoice related. 50€/Ud
Launch the 'Price Correction Background'
Create the Return to Vendor. Qty: 3. 60€/Ud.
Create the Return to vendor shipment.
Launch the Costing Background Process. Unit Cost: 50. OK
Create the Purchase Invoice related with the RTV Shipment. 50€Ud.
Launch the 'Price Correction Background. The Cost Adjustment generates a new costing = 200. This is wrong.

    
No tags attached.
blocks defect 00309363.0PR15Q4 closed dmiguelez Wrong cost after executing the Price Correction Background 
Issue History
2015-10-05 17:03dmiguelezTypedefect => backport
2015-10-05 17:03dmiguelezTarget Version3.0PR15Q4 => 3.0PR15Q3.2
2015-10-05 17:05hgbotCheckin
2015-10-05 17:05hgbotNote Added: 0080834
2015-10-05 17:06dmiguelezStatusscheduled => resolved
2015-10-05 17:06dmiguelezFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/9ee648f47df57c516636c1937eb93081dc02f7e7 [^] => https://code.openbravo.com/erp/backports/3.0PR15Q3.2/rev/cf150bebaa2b [^]
2015-10-05 17:06dmiguelezResolutionopen => fixed
2015-10-05 17:06dmiguelezStatusresolved => closed

Notes
(0080834)
hgbot   
2015-10-05 17:05   
Repository: erp/backports/3.0PR15Q3.2
Changeset: cf150bebaa2b3039bee1f7384dd320f9d9953d5f
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon Sep 28 18:10:02 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q3.2/rev/cf150bebaa2b3039bee1f7384dd320f9d9953d5f [^]

iFixes Issue 31049. Return Material flow should not be included
in Price Correction Process.
Also, make sure every Transaction that goes through this process
is set to no longer check Price Correction.

---
M src/org/openbravo/costing/PriceDifferenceProcess.java
---