Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0028441 | Openbravo ERP | 04. Warehouse management | public | 2014-12-17 18:17 | 2014-12-30 23:28 |
Reporter | umartirena | ||||
Assigned To | dmiguelez | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | aferraz | ||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0028441: [Costing] Validate Costing Rule fails if there are no previous Costing Rules and exists transactions of a date before | ||||
Description | [Costing] Validate Costing Rule process fails when is the first Costing Rule to be validated and there are transactions dated on a date before the starting date of the Costing Rule. This is the error triggered by the process: "Error: ERROR: null value in column "dateacct" violates not-null constraint" | ||||
Steps To Reproduce | Create a new Organization (Legal Entity With Accounting). Setup the vary basics such as fiscal calendar, open/close periods, BP group, Product group, Price Schema, Price list, a BP and a product. This setup should allow you to create and book a purchase order, a goods receipt of that order and the corresponding purchase invoice. Go to Goods receipt and create a new one for the new org dated on 01/12/2014. Complete it. Go to Costing rule and create a new one by entering below data: * Starting Date: 15/12/2014. Click on "Validate Costing Rule". Realize that the error described above is displayed. | ||||
Proposed Solution | In CostingRuleProcess.java there are two places in where TransactionCost records are being created. The accounting date is mandatory for this table and is not being setted. Assign a value to that column. The two places are: * initializeOldTrx * updateInventoriesCostAndProcessInitInventories | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-12-17 18:17 | umartirena | New Issue | |||
2014-12-17 18:17 | umartirena | Assigned To | => dmiguelez | ||
2014-12-17 18:17 | umartirena | OBNetwork customer | => No | ||
2014-12-17 18:17 | umartirena | Modules | => Core | ||
2014-12-17 18:17 | umartirena | Triggers an Emergency Pack | => No | ||
2014-12-17 18:35 | hgbot | Checkin | |||
2014-12-17 18:35 | hgbot | Note Added: 0072669 | |||
2014-12-17 18:35 | hgbot | Status | new => resolved | ||
2014-12-17 18:35 | hgbot | Resolution | open => fixed | ||
2014-12-17 18:35 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/17adffe3f2cda34ce68a0c45b8fb5a7fc959afe1 [^] | ||
2014-12-17 18:56 | umartirena | Note Added: 0072671 | |||
2014-12-18 16:27 | psanjuan | Note Added: 0072703 | |||
2014-12-18 17:05 | aferraz | Note Added: 0072705 | |||
2014-12-18 17:06 | aferraz | Review Assigned To | => aferraz | ||
2014-12-18 17:06 | aferraz | Status | resolved => closed | ||
2014-12-30 23:28 | hudsonbot | Checkin | |||
2014-12-30 23:28 | hudsonbot | Note Added: 0073239 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|