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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019824
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] 05. Production managementminoralways2012-02-21 12:402012-04-01 20:39
ReporterVictorVillarView Statuspublic 
Assigned Torafademiguel 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisione4c86dacd735
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP7.1SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019824: It should not be possible to create standards if completed qty is zero

DescriptionIf the user has configured a Work Requirement, with Quantity= 0 in the operation, checks off Create Standards, and Creates a Work Effort, the create standards process should not allow the qty = 0.
If the user creates a Work effort and selects a WR phase for the production run and the completed qty is zero, the create standards process should not allow the zero qty.

It would be necessary take into account the quantitys, to avoid problems validating the Work Effort.
Steps To ReproduceBefore the steps below, set an activity and a process plan
As Group Admin role,
Go to Work requirement
   - Create a new one
   - Qty= 0
Validate the WR.
  Navigate to Operation tab:
      - Check off the create standards flag.
  Click in Create Work effort button.

Go to the Work effort window.
The completed qty is 0.
We cannot change the completed qty, because the production run is processed.

Another case:
Go to Work requirement window:
 Create a new one
 QTY = 0
Validate it.
Go to operation tab:
  - Create standards: NO.
Click in Create Work Effort button

Go to Work effort window:
 - select the work effort created due to the step before.
Go to Production run tab:
 - select the phase and click in Create Standard button.
 - Completed qty = 0

We realise that the process works fine and no qty has been done in this production run, if the user wants to modify the qty it is not possible because the production run is processed.
If exists any global use, and any production run has completed qty = 0, the work effort will not be able to validate.

Proposed SolutionThere are some options, for example to use an event handler [1] would be a simple solution.

[1]http://wiki.openbravo.com/wiki/How_to_implement_a_business_event_handler [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00197923.0MP10 closedjecharri Not possible to validate a work effort because an error 

-  Notes
(0046209)
hgbot (developer)
2012-03-08 17:48

Repository: erp/devel/pi
Changeset: e4c86dacd7353ac4b273b92911efab516bd13735
Author: Rafa de Miguel <rafael.demiguel <at> openbravo.com>
Date: Wed Mar 07 13:56:01 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e4c86dacd7353ac4b273b92911efab516bd13735 [^]

Fixed issue 0019824: It should not be possible to create standards if completed qty is zero

---
M src-db/database/model/functions/MA_PRODUCTIONRUN_STANDARD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0046430)
jecharri (developer)
2012-03-14 18:05

Verified and working properly
(0047075)
hudsonbot (developer)
2012-04-01 20:39

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/640de9acc2d5 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-02-21 12:40 VictorVillar New Issue
2012-02-21 12:40 VictorVillar Assigned To => vmromanos
2012-02-21 12:40 VictorVillar Modules => Core
2012-02-21 12:40 VictorVillar Issue Monitored: networkb
2012-02-21 12:41 VictorVillar Relationship added related to 0019792
2012-02-21 12:44 VictorVillar Proposed Solution updated
2012-03-02 17:31 eduardo_Argal Assigned To vmromanos => jonalegriaesarte
2012-03-05 18:56 VictorVillar Assigned To jonalegriaesarte => rafademiguel
2012-03-05 18:56 VictorVillar Type feature request => design defect
2012-03-08 17:48 hgbot Checkin
2012-03-08 17:48 hgbot Note Added: 0046209
2012-03-08 17:48 hgbot Status new => resolved
2012-03-08 17:48 hgbot Resolution open => fixed
2012-03-08 17:48 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e4c86dacd7353ac4b273b92911efab516bd13735 [^]
2012-03-14 18:05 jecharri Note Added: 0046430
2012-03-14 18:05 jecharri Status resolved => closed
2012-04-01 20:39 hudsonbot Checkin
2012-04-01 20:39 hudsonbot Note Added: 0047075


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker