Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0023911 | Openbravo ERP | 04. Warehouse management | public | 2013-05-24 09:55 | 2013-06-20 02:07 |
Reporter | VictorVillar | ||||
Assigned To | jonalegriaesarte | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | 3.0MP25 | Fixed in Version | |||
Merge Request Status | |||||
Review Assigned To | jecharri | ||||
OBNetwork customer | OBPS | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | 20752 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0023911: It is not possible to migrate to the new costing server if you are using second UOM, under some circunstancies | ||||
Description | It is not possible to migrate to the new costing server if you are using second UOM. When you have not got stock for the first unit of measure, but you have stock for the second unit of measure, you can not migrate. You get '/ by zero' error when the process calculates the cost: Please check, CostingMigrationProcess.java, calculateCosts method, line: 406 BigDecimal cost = trxCost.divide(trx.getMovementQuantity().abs(), costPrecision, BigDecimal.ROUND_HALF_UP); the problem is that the MovementQuantity is zero | ||||
Steps To Reproduce | It is not possible to migrate to the new costing server if you are using second UOM. When you have not got stock for the first unit of measure, but you have stock for the second unit of measure, you can not migrate. You get '/ by zero' error when the process calculates the cost: Please check, CostingMigrationProcess.java, calculateCosts method, line: 406 BigDecimal cost = trxCost.divide(trx.getMovementQuantity().abs(), costPrecision, BigDecimal.ROUND_HALF_UP); the problem is that the MovementQuantity is zero | ||||
Proposed Solution | The transaction cost for these transactions should be 0. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-05-24 09:55 | VictorVillar | New Issue | |||
2013-05-24 09:55 | VictorVillar | Assigned To | => dmiguelez | ||
2013-05-24 09:55 | VictorVillar | Modules | => Core | ||
2013-05-24 09:55 | VictorVillar | OBNetwork customer | => Yes | ||
2013-05-24 09:55 | VictorVillar | Support ticket | => 20752 | ||
2013-05-24 09:55 | VictorVillar | Triggers an Emergency Pack | => No | ||
2013-05-24 09:55 | VictorVillar | Issue Monitored: networkb | |||
2013-05-24 14:07 | dmiguelez | Assigned To | dmiguelez => jonalegriaesarte | ||
2013-06-03 16:38 | jonalegriaesarte | Target Version | 3.0MP24 => 3.0MP25 | ||
2013-06-06 17:35 | hgbot | Checkin | |||
2013-06-06 17:35 | hgbot | Note Added: 0059249 | |||
2013-06-06 17:35 | hgbot | Status | new => resolved | ||
2013-06-06 17:35 | hgbot | Resolution | open => fixed | ||
2013-06-06 17:35 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c6159ccd2e9c9fe26a6c0195a14c549f6edaba06 [^] | ||
2013-06-17 16:58 | jecharri | Review Assigned To | => jecharri | ||
2013-06-17 16:58 | jecharri | Status | resolved => closed | ||
2013-06-20 02:07 | hudsonbot | Checkin | |||
2013-06-20 02:07 | hudsonbot | Note Added: 0059547 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|