Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0021957 | Openbravo ERP | 05. Production management | public | 2012-10-16 18:23 | 2012-10-22 13:27 | |||||||
Reporter | VictorVillar | |||||||||||
Assigned To | dmiguelez | |||||||||||
Priority | immediate | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | pi | |||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | 16657 | |||||||||||
Regression level | Production - QA Approved | |||||||||||
Regression date | 2012-08-31 | |||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/8af60f70a49cc3abf00bdb3245742298b3abda84 [^] | |||||||||||
Triggers an Emergency Pack | yes | |||||||||||
Summary | 0021957: The costing migration process does not work | |||||||||||
Description | The costing migration process does not work. The process finishes successfully but it does not create the closing physical inventory and the opening physical inventory, after that no cost could be calculated. The problem is the null date parameter passed to the createCostingRuleInits method crp.createCostingRuleInits(rule.getId(), childOrgs, null); the getStockLines query does not get any register | |||||||||||
Steps To Reproduce | In MP 15 and followings.. As system admin role , Go to Costing migration Process and launch it. realise that the process finishes successfully. As group admin role, Go to Physical inventory window and realise that no closed physical inventory and opening physical inventory were created. | |||||||||||
Proposed Solution | 1.- add in CostingRuleProcess.java Line 347 if (date != null) { select.append(" and trx." + MaterialTransaction.PROPERTY_TRANSACTIONPROCESSDATE + " < :date"); } check that PROPERTY_TRANSACTIONPROCESSDATE is correct. 2.- Add in Line 368: if (date != null) { stockLinesQry.setDate("date", date); } The fix proposed before is not complete, it is necessary to make a decision what date pass to the method because in Costingruleprocess.java -- method CreateCostingRuleInitLine fails with date null because violates the not-null constratint inserting in the movementdate | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2012-10-16 18:23 | VictorVillar | New Issue | ||||||||||
2012-10-16 18:23 | VictorVillar | Assigned To | => dmiguelez | |||||||||
2012-10-16 18:23 | VictorVillar | Modules | => Core | |||||||||
2012-10-16 18:23 | VictorVillar | OBNetwork customer | => Yes | |||||||||
2012-10-16 18:23 | VictorVillar | Support ticket | => 16657 | |||||||||
2012-10-16 18:24 | VictorVillar | Regression level | => Production - QA Approved | |||||||||
2012-10-16 18:24 | VictorVillar | Issue Monitored: networkb | ||||||||||
2012-10-17 13:59 | hgbot | Checkin | ||||||||||
2012-10-17 13:59 | hgbot | Note Added: 0053421 | ||||||||||
2012-10-17 13:59 | hgbot | Status | new => resolved | |||||||||
2012-10-17 13:59 | hgbot | Resolution | open => fixed | |||||||||
2012-10-17 13:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a6c8cf620986bba854fb6c5570cc361eb8fbfbdc [^] | |||||||||
2012-10-17 15:31 | VictorVillar | Review Assigned To | => VictorVillar | |||||||||
2012-10-17 15:31 | VictorVillar | Note Added: 0053424 | ||||||||||
2012-10-17 15:31 | VictorVillar | Status | resolved => closed | |||||||||
2012-10-17 17:44 | VictorVillar | Note Added: 0053432 | ||||||||||
2012-10-17 17:44 | VictorVillar | Status | closed => new | |||||||||
2012-10-17 17:44 | VictorVillar | Resolution | fixed => open | |||||||||
2012-10-17 17:46 | VictorVillar | Regression date | => 2012-08-31 | |||||||||
2012-10-17 17:46 | VictorVillar | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/8af60f70a49cc3abf00bdb3245742298b3abda84 [^] | |||||||||
2012-10-17 17:47 | VictorVillar | Status | new => scheduled | |||||||||
2012-10-17 17:47 | VictorVillar | Note Added: 0053433 | ||||||||||
2012-10-17 17:47 | VictorVillar | fix_in_branch | => pi | |||||||||
2012-10-17 17:47 | VictorVillar | Note Added: 0053434 | ||||||||||
2012-10-17 17:47 | VictorVillar | Status | scheduled => resolved | |||||||||
2012-10-17 17:47 | VictorVillar | Resolution | open => fixed | |||||||||
2012-10-17 17:48 | VictorVillar | Note Added: 0053436 | ||||||||||
2012-10-17 17:48 | VictorVillar | Status | resolved => closed | |||||||||
2012-10-17 18:20 | dmiguelez | Status | closed => new | |||||||||
2012-10-17 18:20 | dmiguelez | Resolution | fixed => open | |||||||||
2012-10-17 18:20 | dmiguelez | Relationship added | related to 0021406 | |||||||||
2012-10-17 18:20 | dmiguelez | Status | new => scheduled | |||||||||
2012-10-17 18:20 | dmiguelez | Status | scheduled => resolved | |||||||||
2012-10-17 18:20 | dmiguelez | Resolution | open => fixed | |||||||||
2012-10-17 18:20 | dmiguelez | Status | resolved => closed | |||||||||
2012-10-22 13:27 | hudsonbot | Checkin | ||||||||||
2012-10-22 13:27 | hudsonbot | Note Added: 0053512 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|