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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018788
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 06. Material requirement planning (MRP)minoralways2011-10-17 16:352011-11-28 10:05
ReportermaiteView Statuspublic 
Assigned Tojonalegriaesarte 
PrioritynormalResolutionfixedFixed in Version3.0MP6
StatusclosedFix in branchFixed in SCM revisiona650496b7e3b
ProjectionnoneETAnoneTarget Version3.0MP6
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018788: Suggested Work Requirement with zero quantity should not become Work Requirement

DescriptionAfter running Manufacturing Plan after some conditions, "Suggested Work Requirement" line with qty=0 is created. Then when running "Generate Work Requirements" process, Work Requirement document for zero is created. Suggested Work Requirements lines of zero should not become real Work Requirements
Steps To Reproduce1. Define Material Requirement (MRP) || Setup || Planning Method and add Line for each kind of transaction
2. Define Production Management || Setup || Activity || Activity header
3. Define Product "P1" checked ad Production and NOT checked as Purchase
4. Define Production Management || Transactions || Process Plan || Process Plan for Main organization
5. Add Version from 01/01/2011 to 31/12/2011
6. Add Operation choosing already created Activity
7. Add IOProduct:
   7.1. Product=Paint ; Type=P- ; Quantity=1
   7.2. Product=p1 ; Type = P+ ; Quantity=1
8. Come back to Product P1 and aasociated process Plan
9. Go to Org Specific tab of Product p1 and add record for org=Main; associated Planning Method and Capacity=10000
10. Create Price for this product
11. Create Manufacturing header for Org=Main; today's date; time horizon =60; product=p1
12. Create Phisical inventory for 50 units of p1 and yesterday's date. Process inventory
13. Create Sales order for mcgiver BP and today's date; Add line for 5 unit of P1. Complete order
14. Go to Manufacturing Plan and run "Process Manufacturing Plan"
15. Realize that line for Suggested Work Requirement has been created with Quantity =0 (as there is enough stock)
16. Run process "Generate Work Requirements" and WR with zero quantity will be created.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00187892.50MP36 closedioritzCia Suggested Work Requirement with zero quantity should not become Work Requirement 
related to defect 00259743.0PR14Q3 closedpramakrishnan Suggested Material Requisition with zero quantity should not become Work Requirement 

-  Notes
(0042818)
hgbot (developer)
2011-11-15 10:51

Repository: erp/devel/pi
Changeset: a650496b7e3b40ecb0d30b4af247e98e07e5f1ed
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Mon Nov 14 13:43:37 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a650496b7e3b40ecb0d30b4af247e98e07e5f1ed [^]

Fixes issue 18788: Suggested Work Requirement with zero quantity
should not become Work Requirement.

---
M src-db/database/model/functions/MRP_WORKREQUIREMENT.xml
---
(0042848)
hudsonbot (developer)
2011-11-15 17:04

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/22d704d9f2e8 [^]

Maturity status: Test
(0043393)
jonalegriaesarte (reporter)
2011-11-28 10:04

Issue verified following the steps to reproduce. The issue was solved by ioritzCia

- Issue History
Date Modified Username Field Change
2011-10-17 16:35 maite New Issue
2011-10-17 16:35 maite Assigned To => jonalegriaesarte
2011-10-17 16:35 maite Modules => Core
2011-10-17 16:35 maite Status new => scheduled
2011-10-17 16:35 maite fix_in_branch => pi
2011-10-17 16:36 maite Target Version 3.0MP6 =>
2011-10-17 16:36 maite fix_in_branch pi =>
2011-10-17 19:55 jonalegriaesarte Target Version => 3.0MP6
2011-11-15 10:51 hgbot Checkin
2011-11-15 10:51 hgbot Note Added: 0042818
2011-11-15 10:51 hgbot Status scheduled => resolved
2011-11-15 10:51 hgbot Resolution open => fixed
2011-11-15 10:51 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a650496b7e3b40ecb0d30b4af247e98e07e5f1ed [^]
2011-11-15 17:04 hudsonbot Checkin
2011-11-15 17:04 hudsonbot Note Added: 0042848
2011-11-28 10:04 jonalegriaesarte Note Added: 0043393
2011-11-28 10:04 jonalegriaesarte Status resolved => closed
2011-11-28 10:05 jonalegriaesarte Fixed in Version => 3.0MP6
2014-03-12 17:36 VictorVillar Relationship added related to 0025974


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker