Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030005Openbravo ERP04. Warehouse managementpublic2015-05-20 18:502015-06-03 15:51
maite 
umartirena 
immediatemajoralways
closedunable to reproduce 
5
 
3.0PR15Q2.2 
umartirena
Core
No
0030005: Wrong landed cost calculation when referencing a negative goods receipt
Wrong landed cost calculation when referencing a negative goods receipt
1. Create new product "costes". Define price=5 for "Tarifa Bebidas Alegres"
2. Register Goods Receipt for Bebidas Alegres. Add line for product "costes" and quantity=6. Process
3. Register Goods Receipt for Bebidas Alegres. Add line for product "costes" and quantity=-2. Process
4. Run "costing background process" and verify that cost is correctly calculated for "costes" product
5. Define Landed Cost Type referencing any account
6. Register Landed Cost document. Create register in Cost tab with amount=2. Access "Receipt" tab and add register selecting your receipt with qty=6 and your receipt with qty=-2 . Process Landed Cost
7. Come back to Product window, Transactions tab and search your negative transaction. Realize that Unit Cost=10 and Total Cost=10.50 when should be Unit Cost=10.50 (5.25*2) and Total Cost=11 (5.25*2+0.5)

Moreover, if you Reactivate your Landed Cost document, Process it again and review new Cost Adjustment it is not 1.50 but 1.48 and not 0.5 but 0.52
No tags attached.
blocks defect 00299483.0PR15Q3 closed umartirena Wrong landed cost calculation when referencing a negative goods receipt 
Issue History
2015-05-25 18:04eduardo_ArgalTypedefect => backport
2015-05-25 18:04eduardo_ArgalTarget Version3.0PR15Q3 => 3.0PR15Q2.2
2015-06-03 15:51umartirenaReview Assigned To => umartirena
2015-06-03 15:51umartirenaStatusscheduled => closed
2015-06-03 15:51umartirenaResolutionopen => unable to reproduce

There are no notes attached to this issue.