Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012430Openbravo ERP06. Material requirement planning (MRP)public2010-02-24 10:252010-05-18 12:12
networkb 
adrianromero 
highminoralways
closedfixed 
5
2.50MP11 
2.50MP172.50MP15 
Core
No
0012430: Error launching work requirement and material requisitions from MRP
Error launching work requirement and material requisitions from MRP because the work requirements and material requisitions created are only read (with organization *)
-As Openbravo Admin go to Production Management || Setup || Activity and create a new record.

-Go to Production Management || Transactions || Process Plan
-Create a new record (Organization: Main; Name: PP)
-Save and create a new Version:
      - Starting Date: 19-02-2009
      - Ending Date: 31-12-9999
-Save and create a new Operation, save and go to I/O Products.
-Create 2 records:
      - Block of wood (without stock) --> (P-) --> Quantity: 10
      - Wood Slice (without stock) --> (P+) --> Quantity: 20

-Go to Material Requirement (MRP) || Setup || Planning Method
-Create a new record (Organization: Main; Name: MRP Method)
-Save and go to lines:
-Create 5 records, one for each Transaction Type, and save.

-Go to Material Requirement (MRP) || Setup || Planner
-Create a new record (Organization: Main; Name: MRP Planner) and save.

-Go to Master Data Management || Product.
-On Block of wood, go to Purchasing:
     - Minimum Order Qty: 50
     - Purchasing Lead Time: 3
     - Quantity Type: Exact
     - Capacity: 5000
-Go to Org Specific:
     - Organziation: Main.
     - Planner: MRP Planner
     - Planning Method: MRP Method
     - Minimum Lead Time: 7
     - Safety Stock: 1

-Save and go to Wood Slice, Process Plan: PP, check 'Sale'
-Go to Price:
     - Price List Version: Sales 2006
     - Prices: 3
-Go to Org Specific:
     - Organization: Main
     - Planner: MRP Planner
     - Planning Method: MRP Method
     - Capacity: 150
     - Min. Quantity: 1
     - Quantity Type: Exact
     - Minimum Lead Time: 7
     - Safety Stock: 1
     - Standard Quantity: 1

-Go to Sales Management || Transactions || Sales Order and create a new record.
-Go to lines:
     - Product: Wood slice.
     - Quantity: 750.
-Go back to the Header and Complete.

-As Openbravo Admin and Organization: Main, Go to Material Requirement (MRP) || Transactions || Manufacturing Plan.
-Create a new record:
     - Name: Manufacturing Plan.
     - Document Date: 03-03-2010
     - Time Horizon: 90
     - Safety Lead Time: 2
     - Planner: MRP Planner
     - The rest of the fields: Empty.
-Save
-Click 'Process Manufacturing Plan'
-Realize that a Suggested Material Requisition and a Suggested Work Requirement have been created.

-As Openbravo Admin and Organization: *, Go to Material Requirement (MRP) || Transactions || Manufacturing Plan
-Select Manufacturing Plan.
-Click Generate Material Requisition, go to the Requisiton created and verify that it is only read.

-Go back to Manufacturing Plan.
-Click Generate Work Requirements, go to the Work Requirement created and verify that it is only read.
No tags attached.
has duplicate defect 0011245 closed adrianromero Cannot process MRP Work Reqs and Material Reqs 
related to defect 0013124 closed adrianromero MRP_WORKREQUIREMENT procedure in an invalid state 
Issue History
2010-02-24 10:25networkbNew Issue
2010-02-24 10:25networkbAssigned To => adrianromero
2010-02-24 11:06adrianromeroStatusnew => scheduled
2010-02-24 11:06adrianromerofix_in_branch => pi
2010-03-08 16:05jpabloaeTarget Version2.50MP14 => 2.50MP15
2010-03-15 10:36hgbotCheckin
2010-03-15 10:36hgbotNote Added: 0025454
2010-03-15 10:36hgbotStatusscheduled => resolved
2010-03-15 10:36hgbotResolutionopen => fixed
2010-03-15 10:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c044844ee200b3bd58a34ad1f793efb96baf97b3 [^]
2010-03-15 10:41sivaramanNote Added: 0025455
2010-03-16 08:41hudsonbotCheckin
2010-03-16 08:41hudsonbotNote Added: 0025521
2010-03-16 10:25rafarodaIssue Monitored: rafaroda
2010-03-16 10:28rafarodaNote Added: 0025527
2010-03-16 10:29rafarodaRelationship addedrelated to 0011245
2010-03-16 13:05adrianromeroRelationship replacedhas duplicate 0011245
2010-04-15 16:00psarobeNote Added: 0026268
2010-04-15 16:00psarobeStatusresolved => closed
2010-04-15 16:00psarobeFixed in Version => 2.50MP15
2010-04-16 00:00anonymoussf_bug_id0 => 2987955
2010-04-26 17:01rafarodaRelationship addedrelated to 0013124
2010-05-18 12:12gorka_gilTarget Version2.50MP15 => 2.50MP17

Notes
(0025454)
hgbot   
2010-03-15 10:36   
Repository: erp/devel/pi
Changeset: c044844ee200b3bd58a34ad1f793efb96baf97b3
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Mon Mar 15 15:12:16 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/c044844ee200b3bd58a34ad1f793efb96baf97b3 [^]

Fixes issue 12430: Error launching work requirement and material requisitions from MRP

---
M src-db/database/model/functions/MRP_REQUISITION.xml
M src-db/database/model/functions/MRP_WORKREQUIREMENT.xml
---
(0025455)
sivaraman   
2010-03-15 10:41   
Issue is fixed. Please verify in the latest build. In order to reproduce this issue, kindly follow the steps given in "Steps To Reproduce" also go through http://wiki.openbravo.com/wiki/HOW_TO_MRP#MRP:_A_second_example [^] for additional info if required.
(0025521)
hudsonbot   
2010-03-16 08:41   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/c044844ee200 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/3e52c5b52d67 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16713.obx [^]
(0025527)
rafaroda   
2010-03-16 10:28   
Hi,

Is issue 0011245 duplicated of this one? Is so, please close issue 0011245 as duplicated.

Thanks.
(0026268)
psarobe   
2010-04-15 16:00   
Tested working fine