Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0019792 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 05. Production management | major | always | 2012-02-16 13:18 | 2012-03-14 18:01 | |||
Reporter | VictorVillar | View Status | public | |||||
Assigned To | jecharri | |||||||
Priority | urgent | Resolution | no change required | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | ||||
Projection | none | ETA | none | Target Version | 3.0MP10 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 3.0MP7.1 | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0019792: Not possible to validate a work effort because an error | |||||||
Description | If exists any register in global use tab in the work effor, and the standars has been created by the production run with a 'completed quantity' = 0, an error message: "division by zero" appears. Because when the PL "ma_workeffort_validate" checks if there is a Global use with the function "ma_globaluse_distribute", and the error happens in the next statement: wpp.MOVEMENTQTY*pp.PRODUCTIONQTY, 0) /v_Total and v_Total is the SUM(wpp.MOVEMENTQTY*pp.PRODUCTIONQTY), if this sum is 0, then there is a division by zero If the user has introduced the completed qty = 0 in the production run, the process does not know how many qty spreads to all the production runs executed. | |||||||
Steps To Reproduce | Before the steps below create a sequence for a process plan checking off the Global use. Then planning a Work Requirment. As group admin role, Go to Work Effort window, - create a work effort Go to Production run tab: - create a new one: - select the WR Phase created before - Completed qty: 0 Click in Create Standars button and Validate the work effort. An error message appears: "Division by zero" | |||||||
Proposed Solution | A correct message clarifying the situation explained in the Description. | |||||||
Tags | VMA-Reviewed | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0046428) jecharri (developer) 2012-03-14 18:01 |
The issue has been solved in Design Defect: https://issues.openbravo.com/view.php?id=19824 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2012-02-16 13:18 | VictorVillar | New Issue | |
2012-02-16 13:18 | VictorVillar | Assigned To | => vmromanos |
2012-02-16 13:18 | VictorVillar | Modules | => Core |
2012-02-16 13:18 | VictorVillar | Resolution time | => 1332198000 |
2012-02-16 13:19 | VictorVillar | Issue Monitored: networkb | |
2012-02-16 13:53 | vmromanos | Tag Attached: VMA-Reviewed | |
2012-02-16 16:42 | VictorVillar | Description Updated | View Revisions |
2012-02-16 16:42 | VictorVillar | Proposed Solution updated | |
2012-02-21 12:41 | VictorVillar | Relationship added | related to 0019824 |
2012-03-02 17:31 | eduardo_Argal | Assigned To | vmromanos => jonalegriaesarte |
2012-03-06 18:13 | jonalegriaesarte | Assigned To | jonalegriaesarte => jecharri |
2012-03-14 18:00 | jecharri | Status | new => scheduled |
2012-03-14 18:00 | jecharri | fix_in_branch | => pi |
2012-03-14 18:01 | jecharri | Note Added: 0046428 | |
2012-03-14 18:01 | jecharri | Status | scheduled => closed |
2012-03-14 18:01 | jecharri | Resolution | open => no change required |
Copyright © 2000 - 2009 MantisBT Group |