Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005668Openbravo ERP06. Material requirement planning (MRP)public2008-10-27 10:252009-05-20 12:03
RenateNieuwkoop 
AinhoaPagola 
normalminoralways
closedfixed 
5
2.40beta 
2.40MP3 
Core
No
0005668: Purchasing Plan: Purchase Orders created are in locked status
Material Requirement Planning (MRP) || Transactions || Purchasing Plan

When you run the Purchasing plan and the outcome is suggested purchase orders, when you click 'Create Purchase Orders' the actual Purchase Order is created.

The Purchase Order is not in draft status, but in locked status. So you first have to unlock it. It has happened to me during teaching class, I saw it happened to the students also and Josep Tarbal who was teaching had the same result.
Make sure that the created Purchase Order is in 'draft' status
comsup_sprint5
blocks defect 0005603 closed AinhoaPagola Purchasing Plan: Purchase Orders created are in locked status 
jpg 200109Issue5668snap1.jpg (216,399) 2009-01-20 11:07
https://issues.openbravo.com/file_download.php?file_id=674&type=bug
jpg

jpg 200109Issue5668snap2.jpg (215,777) 2009-01-20 11:09
https://issues.openbravo.com/file_download.php?file_id=675&type=bug
jpg

jpg 200109Issue5668snap3.jpg (94,957) 2009-01-20 11:09
https://issues.openbravo.com/file_download.php?file_id=676&type=bug
jpg
Issue History
2008-10-27 10:25psarobeNew Issue
2008-10-27 10:25psarobeAssigned To => gorkaion
2008-10-27 10:25psarobeStatusnew => scheduled
2009-01-08 16:27gorkaionAssigned Togorkaion => AinhoaPagola
2009-01-09 12:12AinhoaPagolaNote Added: 0012019
2009-01-09 12:12AinhoaPagolaStatusscheduled => feedback
2009-01-09 12:13AinhoaPagolaNote Edited: 0012019
2009-01-13 12:47AinhoaPagolaNote Edited: 0012019
2009-01-20 11:05RenateNieuwkoopNote Added: 0012380
2009-01-20 11:07RenateNieuwkoopFile Added: 200109Issue5668snap1.jpg
2009-01-20 11:09RenateNieuwkoopFile Added: 200109Issue5668snap2.jpg
2009-01-20 11:09RenateNieuwkoopFile Added: 200109Issue5668snap3.jpg
2009-01-21 17:02AinhoaPagolaStatusfeedback => scheduled
2009-01-21 17:02AinhoaPagolafix_in_branch2.40 => trunk
2009-01-27 11:36AinhoaPagolaNote Added: 0012676
2009-01-27 11:39svnbotCheckin
2009-01-27 11:39svnbotNote Added: 0012677
2009-01-27 11:39svnbotStatusscheduled => resolved
2009-01-27 11:39svnbotResolutionopen => fixed
2009-01-27 11:39svnbotsvn_revision => 12305
2009-01-29 11:48AinhoaPagolaTag Attached: comsup_sprint5
2009-05-20 12:03sureshbabuRegression testing => No
2009-05-20 12:03sureshbabuStatusresolved => closed
2009-05-20 12:03sureshbabuNote Added: 0016500

Notes
(0012019)
AinhoaPagola   
2009-01-09 12:12   
(edited on: 2009-01-13 12:47)
I can't reproduce this bug in 2.40. Can you verify the bug still exists and provide the steps to reproduce it?

(0012380)
RenateNieuwkoop   
2009-01-20 11:05   
Hi Ainhoa,

The strange thing is that you go to the created PO and you see that it is in Draft status, which looks normal. However, when you click the 'complete' button, it shown 'unlock', so it appears that the PO is locked and needs unlocking before you can actually complete the order.

I used the data in the training environment. So I had the product 'hammer'. You'll find the exercise in the Production module of the BFT training that you followed in Pamplona.
These are the data: stock of the hammer 985, 1000 safety stock
                    PO for 40x, SO for 350x
Then when you run the purchasing plan you get suggested POs and when you create them they are in 'draft' status, but locked (you find out when trying to complete the PO).

thanks
Renate
(0012676)
AinhoaPagola   
2009-01-27 11:36   
Hi Renate.

I have verified that the issue still exists and will be fixed shortly.

Thank you very much.
(0012677)
svnbot   
2009-01-27 11:39   
Repository: openbravo
Revision: 12305
Author: AinhoaPagola
Date: 2009-01-27 11:39:50 +0100 (Tue, 27 Jan 2009)

Fixes bug 0005668 Purchase Orders are created in lock status. 'Processing' column set to 'N' when inserts are done into c_order in mrp_purchaseorder function.

---
U branches/r2.40/src-db/database/model/functions/MRP_PURCHASEORDER.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=12305&sc=1 [^]
(0016500)
sureshbabu   
2009-05-20 12:03   
Tested working fine