Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029948
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2015-05-20 18:502015-06-03 15:51
ReportermaiteView Statuspublic 
Assigned Toumartirena 
PriorityimmediateResolutionunable to reproduceFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version3.0PR15Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toumartirena
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029948: Wrong landed cost calculation when referencing a negative goods receipt

DescriptionWrong landed cost calculation when referencing a negative goods receipt
Steps To Reproduce1. 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
TagsNo tags attached.
Attached Filesdiff file icon 29948.diff [^] (1,038 bytes) 2015-06-03 15:50 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00300173.0PR15Q3 closedaferraz Should not be possible to select negative receipts when registering a Landed Cost 
depends on backport 00300053.0PR15Q2.2 closedumartirena Wrong landed cost calculation when referencing a negative goods receipt 
depends on backport 00300063.0PR15Q1.5 closedumartirena Wrong landed cost calculation when referencing a negative goods receipt 

-  Notes
(0078026)
umartirena (reporter)
2015-06-03 15:50

The issue has been closed as it is not any more reproducible due to the resolution of issue https://issues.openbravo.com/view.php?id=30017. [^]

Just in case for any reason again happens the same problem find attached a little patch that was implemented at the very beginning of this issue.

- Issue History
Date Modified Username Field Change
2015-05-20 18:50 maite New Issue
2015-05-20 18:50 maite Assigned To => Triage Finance
2015-05-20 18:50 maite Modules => Core
2015-05-20 18:50 maite Triggers an Emergency Pack => No
2015-05-20 18:51 maite Resolution time => 1434751200
2015-05-20 18:51 maite Target Version => 3.0PR15Q3
2015-05-21 18:28 egoitz Resolution time 1434751200 => 1432332000
2015-05-22 10:22 aferraz Assigned To Triage Finance => aferraz
2015-05-25 18:03 eduardo_Argal Assigned To aferraz => umartirena
2015-05-25 18:04 eduardo_Argal Status new => scheduled
2015-06-03 15:50 umartirena Review Assigned To => umartirena
2015-06-03 15:50 umartirena Note Added: 0078026
2015-06-03 15:50 umartirena Status scheduled => closed
2015-06-03 15:50 umartirena Resolution open => unable to reproduce
2015-06-03 15:50 umartirena File Added: 29948.diff
2015-06-03 15:51 umartirena Relationship added related to 0030017


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker