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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028450
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2014-12-18 13:252014-12-30 23:28
ReporterumartirenaView Statuspublic 
Assigned Toumartirena 
PriorityurgentResolutionfixedFixed in Version3.0PR15Q1
StatusclosedFix in branchFixed in SCM revision8dd8af8a26e5
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

0028450: [Costing] Costing Migration Process fails

Description"Costing Migration Process" fails if it is executed in 3.0PR14Q4(pi).
This is due to the dateacct column is now mandatory in m_transaction_cost table and when Costing Migration Process inserts records in this table it doesn't put any value on this column.
Steps To ReproduceOn an environment in 3.0PR14Q4(pi), without having cost migrated, execute "Costing Migration Process".

Realize that the following error is displayed:
"Error:
ERROR: null value in column "dateacct" violates not-null constraint"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
causes defect 0031972 closedaferraz Costing Migration Process:Cost of products in closing inventory is calculated by taking into account only shipments and receipts 

-  Notes
(0072696)
hgbot (developer)
2014-12-18 13:30

Repository: erp/devel/pi
Changeset: 8dd8af8a26e56abe37438cc058bc6f45cdfc6ba8
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Thu Dec 18 13:29:41 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8dd8af8a26e56abe37438cc058bc6f45cdfc6ba8 [^]

Fixes Issue 28450: Costing Migration Process does not fail any more.

In the function insertTrxCosts() in CostingMigrationProcess.java while inserting m_transaction_cost records the column dateacct is filled in the following way:
* If the transaction is a goods shipment line, with the accounting date of the Shipment.
* If the transaction is not a goods shipment line, with the movement date of the transaction.

---
M src/org/openbravo/costing/CostingMigrationProcess.java
---
(0072712)
Sandrahuguet (developer)
2014-12-18 18:46

Code review + testing OK
(0073243)
hudsonbot (developer)
2014-12-30 23:28

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

- Issue History
Date Modified Username Field Change
2014-12-18 13:25 umartirena New Issue
2014-12-18 13:25 umartirena Assigned To => dmiguelez
2014-12-18 13:25 umartirena Modules => Core
2014-12-18 13:25 umartirena Triggers an Emergency Pack => No
2014-12-18 13:30 hgbot Checkin
2014-12-18 13:30 hgbot Note Added: 0072696
2014-12-18 13:30 hgbot Status new => resolved
2014-12-18 13:30 hgbot Resolution open => fixed
2014-12-18 13:30 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8dd8af8a26e56abe37438cc058bc6f45cdfc6ba8 [^]
2014-12-18 17:56 Sandrahuguet Review Assigned To => Sandrahuguet
2014-12-18 17:56 Sandrahuguet Assigned To dmiguelez => umartirena
2014-12-18 18:46 Sandrahuguet Note Added: 0072712
2014-12-18 18:46 Sandrahuguet Status resolved => closed
2014-12-18 18:46 Sandrahuguet Fixed in Version => 3.0PR15Q1
2014-12-30 23:28 hudsonbot Checkin
2014-12-30 23:28 hudsonbot Note Added: 0073243
2016-01-21 10:40 ngarcia Relationship added causes 0031972


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker