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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039888
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2019-01-09 10:482019-03-28 14:56
ReporterdmiguelezView Statuspublic 
Assigned Todmiguelez 
PriorityimmediateResolutionfixedFixed in Version3.0PR19Q2
StatusclosedFix in branchFixed in SCM revisiona913d96060c7
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToSandrahuguet
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0039888: Wrong Cost Adjustment created when Reactivating a Landed Cost

DescriptionWhen a Landed Cost is reactivated, the Cost Adjustment created is not correct.
Steps To ReproduceWith the fix for the issue 39822 applied, follow the steps of the test plan till the end. https://issues.openbravo.com/view.php?id=39822 [^]

Go to Landed Cost window and select the last Landed Cost Document created.
Click on reactivate.

Go to Product window and select the product named Final Product.
Go to Transactions Tab and order them by transaction process date.
The first Production Transaction has a Total Cost of 59.830.120, this is wrong
TagsNo tags attached.
Attached Filesdiff file icon 39888_proposed_solution.diff [^] (2,150 bytes) 2019-01-09 10:52 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0108864)
dmiguelez (developer)
2019-01-09 10:51

Test Plan:

With the fix for the issue 39822 applied, follow the steps of the test plan till the end. https://issues.openbravo.com/view.php?id=39822 [^] [^]

Go to Landed Cost window and select the last Landed Cost Document created.
Click on reactivate.

Go to Product window and select the product named Final Product.
Go to Transactions Tab and order them by transaction process date.
The first Production Transaction has a Total Cost of -109.880 and the other two 120

Go to Landed Cost window and select the first Landed Cost Document created.
Click on reactivate.

Go to Product window and select the product named Final Product.
Go to Transactions Tab and order them by transaction process date.
The first Production Transaction has a Total Cost of -9980 and the other two 20
(0108958)
hgbot (developer)
2019-01-15 08:32

Repository: erp/devel/pi
Changeset: a913d96060c70bef008d450bef6aaa18fbdbbd3d
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon Jan 14 09:40:46 2019 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a913d96060c70bef008d450bef6aaa18fbdbbd3d [^]

Fixes Issue 39888. When canceling a cost adjustment:

* Keep the Negative Stock Correction and Backdated Transactions
  flags with the same values as the original record
* When retrieving the lines of the Adjustment, retrieve also the lines
  from Adjusments in Voided Status

---
M src/org/openbravo/costing/AverageCostAdjustment.java
M src/org/openbravo/costing/CancelCostAdjustment.java
---
(0110230)
hgbot (developer)
2019-03-05 12:45

Repository: erp/devel/pi
Changeset: 2f46504e585b3d1b92232837aaa13b52e660ad8c
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Feb 19 15:35:08 2019 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/2f46504e585b3d1b92232837aaa13b52e660ad8c [^]

Related To Issue 39888: Added junit test

---
M src-test/src/org/openbravo/test/costing/TestCosting.java
M src-test/src/org/openbravo/test/costing/assertclass/ProductTransactionAssert.java
M src-test/src/org/openbravo/test/costing/utils/TestCostingConstants.java
M src-test/src/org/openbravo/test/costing/utils/TestCostingUtils.java
A src-test/src/org/openbravo/test/costing/TestIssue39888.java
---
(0110726)
hudsonbot (developer)
2019-03-28 14:55

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/b2fbc1588df4 [^]
Maturity status: Test
(0110846)
hudsonbot (developer)
2019-03-28 14:56

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/b2fbc1588df4 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2019-01-09 10:48 dmiguelez New Issue
2019-01-09 10:48 dmiguelez Assigned To => Triage Finance
2019-01-09 10:48 dmiguelez Modules => Core
2019-01-09 10:48 dmiguelez Triggers an Emergency Pack => No
2019-01-09 10:51 dmiguelez Note Added: 0108864
2019-01-09 10:52 dmiguelez File Added: 39888_proposed_solution.diff
2019-01-09 11:10 ngarcia Issue Monitored: ngarcia
2019-01-10 09:51 jfrances Issue Monitored: jfrances
2019-01-15 08:32 hgbot Checkin
2019-01-15 08:32 hgbot Note Added: 0108958
2019-01-15 08:32 hgbot Status new => resolved
2019-01-15 08:32 hgbot Resolution open => fixed
2019-01-15 08:32 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a913d96060c70bef008d450bef6aaa18fbdbbd3d [^]
2019-01-15 09:07 Sandrahuguet Assigned To Triage Finance => dmiguelez
2019-01-15 11:29 Sandrahuguet Review Assigned To => Sandrahuguet
2019-01-15 11:29 Sandrahuguet Status resolved => closed
2019-01-15 11:29 Sandrahuguet Fixed in Version => 3.0PR19Q2
2019-03-05 12:45 hgbot Checkin
2019-03-05 12:45 hgbot Note Added: 0110230
2019-03-28 14:55 hudsonbot Checkin
2019-03-28 14:55 hudsonbot Note Added: 0110726
2019-03-28 14:56 hudsonbot Checkin
2019-03-28 14:56 hudsonbot Note Added: 0110846


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker