Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004358Openbravo ERP06. Material requirement planning (MRP)public2008-07-09 16:212008-12-15 18:45
walle 
gorkaion 
normalmajoralways
closedfixed 
20Debian
2.40alpha-r3 
2.40 
Core
No
0004358: MRP Purchase Plan - Safety Stock Calc and Calc closed purchased orders
Hi

Two issus:

issue1: Safety Stock is calculated on each pressing of Process button





issue 2:
MRP - Purchase plan
purchase orders on which the goods entry in done are listet as "pending purchase order"
they are also still in the list when the purchase invoice is processed


Regards
Walter
How to recreate issue 1:


define safety stock 50 in Product -> Org Specific
Planning method with all types of Transactions
create new Purchase plan --> Process
Lines:
stock 0
minimum stock 50
sugg. purch.order 50

reprocess the same purchase plan
LInes:
stock 0
minimum stock 50
sugg. purch.order 50
sugg. purch.order 50

This means on each run you receive a additional sugg. purch. order for minimum stock





How to recreate issue 2:
sales order --> demand 1. pos 100 pieces
minimum stock 50 pieces
Planning method with all types of Transactions
MRP -> Purchase Plan -> process --> create orders
purchase order 2 pos. 100 pieces and 50 pieces
goods entry pos. with 50 pieces.

Create new salesorder demand 20 pieces

Create new MRP - purchase plan --> process
in the list of list you see still the pos. with 50 pieces open as "pending"
and so in this case the new demand of 20 pieces is not fullfilled!
No tags attached.
Issue History
2008-07-09 16:21walleNew Issue
2008-07-09 16:21walleAssigned To => cromero
2008-07-09 16:21wallesf_bug_id0 => 2014215
2008-07-09 16:34cromeroStatusnew => scheduled
2008-07-09 16:34cromeroAssigned Tocromero => gorkaion
2008-07-09 16:34cromerofix_in_branch => trunk
2008-07-29 17:09svnbotCheckin
2008-07-29 17:09svnbotNote Added: 0008425
2008-07-29 17:09svnbotStatusscheduled => resolved
2008-07-29 17:09svnbotResolutionopen => fixed
2008-07-29 17:09svnbotsvn_revision => 6030
2008-09-04 16:22psarobeTarget Version => 2.40
2008-12-15 18:45psarobeRegression testing => No
2008-12-15 18:45psarobeStatusresolved => closed

Notes
(0008425)
svnbot   
2008-07-29 17:09   
Repository: openbravo
Revision: 6030
Author: gorkaion
Date: 2008-07-29 17:09:32 +0200 (Tue, 29 Jul 2008)

Fixed bug 4358.

Modified the MRP_PurchasePlan procedure to take into account all incomings before evaluate the minimum stock.
Modified the MRP_Run_Initialize procedure to consider correctly a Purchase Order has been received using the M_MatchPo table.

---
U trunk/src-db/database/model/functions/MRP_PURCHASEPLAN.xml
U trunk/src-db/database/model/functions/MRP_RUN_INITIALIZE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=6030&sc=1 [^]