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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018789
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 06. Material requirement planning (MRP)minoralways2011-10-17 16:352011-11-15 17:09
ReportermaiteView Statuspublic 
Assigned ToioritzCia 
PrioritynormalResolutionfixedFixed in Version2.50MP36
StatusclosedFix in branch2.50Fixed in SCM revision8b69b4fea671
ProjectionnoneETAnoneTarget Version2.50MP36
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

0018789: 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 ]
blocks defect 00187883.0MP6 closedjonalegriaesarte Suggested Work Requirement with zero quantity should not become Work Requirement 

-  Notes
(0042820)
hgbot (developer)
2011-11-15 10:55

Repository: erp/stable/2.50
Changeset: 8b69b4fea671d80c306d5f74b4c657f6a1712c30
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Tue Nov 15 10:47:14 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/8b69b4fea671d80c306d5f74b4c657f6a1712c30 [^]

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

---
M src-db/database/model/functions/MRP_WORKREQUIREMENT.xml
---
(0042849)
maite (developer)
2011-11-15 17:09

verified

- Issue History
Date Modified Username Field Change
2011-10-17 16:35 maite Type defect => backport
2011-10-17 16:35 maite fix_in_branch => 2.50
2011-10-17 16:36 maite Issue Monitored: networkb
2011-10-17 19:55 jonalegriaesarte Target Version 3.0MP6 => 2.50MP36
2011-11-10 13:08 jonalegriaesarte Assigned To jonalegriaesarte => ioritzCia
2011-11-15 10:55 hgbot Checkin
2011-11-15 10:55 hgbot Note Added: 0042820
2011-11-15 10:55 hgbot Status scheduled => resolved
2011-11-15 10:55 hgbot Resolution open => fixed
2011-11-15 10:55 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/8b69b4fea671d80c306d5f74b4c657f6a1712c30 [^]
2011-11-15 17:09 maite Note Added: 0042849
2011-11-15 17:09 maite Status resolved => closed
2011-11-15 17:09 maite Fixed in Version => 2.50MP36


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker