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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026143
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 05. Production managementmajoralways2014-04-02 12:312014-05-07 18:11
ReporterVictorVillarView Statuspublic 
Assigned Topramakrishnan 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchpiFixed in SCM revisionc0638f312efc
ProjectionnoneETAnoneTarget Version3.0PR14Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026143: Division by zero error calculating manufacturing transactions cost

DescriptionDivision by zero error calculating manufacturing transactions cost
Steps To ReproduceAs group admin role,
   Go to Product window:
      select one and check it as Production
      Define the Storage Bin in the Manufacturing tab
   Create a Manufacturing Cost Center and version
        Unit: per hour
        Cost: 8
   Create a Process plan
      P+: the product configured before
      Component Cost: 0
   Go to Work Requirement window:
      select the production plan
 Process it. Realise that the component cost is 0

Go to Work Effort window,
  Launch the production for the work requirement created.

Launch the costing background process, check the Process Monitor window: Division by Zero error appears.

Proposed SolutionIn the MA_PRODUCTION_COST: in case that the v_CompCostSum variable is 0, the cost of the produced product (P+) should be 0.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0066268)
hgbot (developer)
2014-04-09 13:34

Repository: erp/devel/pi
Changeset: c0638f312efc0b1ba587a2d913b72a926c166e2d
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Wed Apr 09 17:01:17 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/c0638f312efc0b1ba587a2d913b72a926c166e2d [^]

Fixes Issue 26143: Division by zero error calculating manufacturing transactions cost

---
M src-db/database/model/functions/MA_PRODUCTION_COST.xml
---
(0066363)
AtulOpenbravo (developer)
2014-04-11 18:35

Code Review + Testing OK
(0066906)
hudsonbot (developer)
2014-05-07 18:11

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

- Issue History
Date Modified Username Field Change
2014-04-02 12:31 VictorVillar New Issue
2014-04-02 12:31 VictorVillar Assigned To => dmiguelez
2014-04-02 12:31 VictorVillar Modules => Core
2014-04-02 12:31 VictorVillar Resolution time => 1398204000
2014-04-02 12:31 VictorVillar Triggers an Emergency Pack => No
2014-04-02 12:54 VictorVillar Assigned To dmiguelez => jonalegriaesarte
2014-04-02 12:54 VictorVillar Issue Monitored: networkb
2014-04-03 10:29 jonalegriaesarte Target Version => PR14Q3
2014-04-08 19:27 jonalegriaesarte Assigned To jonalegriaesarte => pramakrishnan
2014-04-09 13:13 pramakrishnan Status new => scheduled
2014-04-09 13:13 pramakrishnan fix_in_branch => pi
2014-04-09 13:34 hgbot Checkin
2014-04-09 13:34 hgbot Note Added: 0066268
2014-04-09 13:34 hgbot Status scheduled => resolved
2014-04-09 13:34 hgbot Resolution open => fixed
2014-04-09 13:34 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c0638f312efc0b1ba587a2d913b72a926c166e2d [^]
2014-04-11 18:35 AtulOpenbravo Note Added: 0066363
2014-04-11 18:35 AtulOpenbravo Status resolved => closed
2014-04-11 18:35 AtulOpenbravo Fixed in Version => pi
2014-05-07 18:11 hudsonbot Checkin
2014-05-07 18:11 hudsonbot Note Added: 0066906


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker