Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005602Openbravo ERP06. Material requirement planning (MRP)public2008-10-21 09:232009-04-21 11:06
jtarbal 
gorkaion 
normalmajoralways
closedfixed 
5
2.40 
 
Core
No
0005602: MRP considers data from other clients
When running a MRP planification (manufacturing or purchasing), if no filter is applied, the data that is considered in the calculations is from the current client and from the others that exist in the same data base.

In order to reproduce this error, follow these steps:
1.- In a Openbravo ERP standard installation where the demo data is loaded, perform an initial client setup in order to create a new client.
2.- Define a Planning Method with the rules "Pending Sales Orders" and "Pending Work Requirements".
3.- Run a Manufacturing Plan without any filter.
4.- Realize that some of the output lines are related to products of the BigBazar client.
No tags attached.
depends on backport 0005669 closed gorkaion MRP considers data from other clients 
Issue History
2008-10-21 09:23jtarbalNew Issue
2008-10-21 09:23jtarbalAssigned To => cromero
2008-10-21 09:23jtarbalsf_bug_id0 => 2183834
2008-10-27 10:26psarobeStatusnew => scheduled
2008-10-27 10:26psarobeAssigned Tocromero => gorkaion
2008-10-27 10:26psarobefix_in_branch => trunk
2008-11-25 19:01svnbotCheckin
2008-11-25 19:01svnbotNote Added: 0010668
2008-11-25 19:01svnbotStatusscheduled => resolved
2008-11-25 19:01svnbotResolutionopen => fixed
2008-11-25 19:01svnbotsvn_revision => 10580
2009-04-21 11:06psarobeStatusresolved => closed

Notes
(0010668)
svnbot   
2008-11-25 19:01   
Repository: openbravo
Revision: 10580
Author: gorkaion
Date: 2008-11-25 19:01:42 +0100 (Tue, 25 Nov 2008)

Fixed bug 5602. Fixed MRP_Run_Initialize procedure to consider only products of the client_id of the plan.

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

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