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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029892
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 04. Warehouse managementmajoralways2015-04-07 13:552015-05-14 18:58
ReporterVictorVillarView Statuspublic 
Assigned Toumartirena 
PriorityurgentResolutionfixedFixed in Version3.0PR15Q1.4
StatusclosedFix in branchFixed in SCM revisionac82e4df4fb9
ProjectionnoneETAnoneTarget Version3.0PR15Q1.4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Toaferraz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029892: Wrong Total Movement quantity in the costing tab with backdated transactions

DescriptionWrong Total Movement quantity in the costing tab with backdated transactions
Steps To ReproduceAS group admin role,
   Go to product window,
     create a new product: name: test
    Price tab: Tarifa Bebidas Alegres
      Unit: 2
      List: 2

Go to Purchase order,
   create a new one for bebidas alegres
 Lines tab:
    Add test product
    qty: 200
Go to Goods Receipt window,
   movement date: two weeks ago
 select the order line cretated before.
Process it

Go to Purchase order,
   create a new one for bebidas alegres
 Lines tab:
    Add test product
    qty: 380
Go to Goods Receipt window,
   movement date: today
 select the order line cretated before.
Process it

Go to Purchase order,
   create a new one for bebidas alegres
 Lines tab:
    Add test product
    qty: 100
Go to Goods Receipt window,
   movement date: three weekes ago
 select the order line cretated before.
Process it

Go to Costing rule window.
   Process Fix Backdated Transactions: date: 1 month ago

Go to Process request :
   Launch the costing background process
Go to the Costing tab of the product: test
   order by ending date
    realise that the first line is: qty:100 and the total movement is: 300 which is wrong, should be 100
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0029513 closedumartirena Wrong Total Movement quantity in the costing tab with backdated transactions 

-  Notes
(0077469)
hgbot (developer)
2015-05-14 18:56

Repository: erp/backports/3.0PR15Q1.4
Changeset: ac82e4df4fb9c593f0c7930692b2f86daf848049
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Thu May 14 17:08:37 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q1.4/rev/ac82e4df4fb9c593f0c7930692b2f86daf848049 [^]

Fixes bug 29892: Total Movement qty fixed in costing tab with backdated trx

While working with cost adjustments, on certain cases the existing Costing records changes. This can happen because the cost has been recalculated due to backdated transactions, price adjustments, manual cost corrections, etc. In all this cases the 'Total Movement Quantity' field was not being correctly updated.
This field has to store the current stock of the product on that moment. So, each time the costing record is updated it is being checked if this value changes, and if it has changed the current stock is set.

---
M src/org/openbravo/costing/AverageCostAdjustment.java
---
(0077470)
aferraz (manager)
2015-05-14 18:58

Code review + Testing OK

- Issue History
Date Modified Username Field Change
2015-05-14 16:56 aferraz Type defect => backport
2015-05-14 16:56 aferraz Target Version => 3.0PR15Q1.4
2015-05-14 18:56 hgbot Checkin
2015-05-14 18:56 hgbot Note Added: 0077469
2015-05-14 18:56 hgbot Status scheduled => resolved
2015-05-14 18:56 hgbot Resolution open => fixed
2015-05-14 18:56 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/bf8ba2e9ab7a62595aae60ff4ed52fe62b25bc6d [^] => http://code.openbravo.com/erp/backports/3.0PR15Q1.4/rev/ac82e4df4fb9c593f0c7930692b2f86daf848049 [^]
2015-05-14 18:58 aferraz Note Added: 0077470
2015-05-14 18:58 aferraz Status resolved => closed
2015-05-14 18:58 aferraz Fixed in Version => 3.0PR15Q1.4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker