Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005669Openbravo ERP06. Material requirement planning (MRP)public2008-10-27 10:262009-03-03 17:16
jtarbal 
gorkaion 
normalmajoralways
closedfixed 
5
2.40 
 
Core
No
0005669: 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.
blocks defect 0005602 closed gorkaion MRP considers data from other clients 
Issue History
2008-10-27 10:26psarobeNew Issue
2008-10-27 10:26psarobeAssigned To => gorkaion
2008-10-27 10:26psarobeStatusnew => scheduled
2008-11-25 19:03svnbotCheckin
2008-11-25 19:03svnbotNote Added: 0010669
2008-11-25 19:03svnbotStatusscheduled => resolved
2008-11-25 19:03svnbotResolutionopen => fixed
2008-11-25 19:03svnbotsvn_revision => 10581
2008-11-26 18:27svnbotCheckin
2008-11-26 18:27svnbotNote Added: 0010740
2008-11-26 18:27svnbotsvn_revision10581 => 10636
2009-03-03 17:16psarobeStatusresolved => closed

Notes
(0010669)
svnbot   
2008-11-25 19:03   
Repository: openbravo
Revision: 10581
Author: gorkaion
Date: 2008-11-25 19:03:45 +0100 (Tue, 25 Nov 2008)

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

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

https://dev.openbravo.com/websvn/openbravo/?rev=10581&sc=1 [^]
(0010740)
svnbot   
2008-11-26 18:27   
Repository: openbravo
Revision: 10636
Author: villind
Date: 2008-11-26 18:27:00 +0100 (Wed, 26 Nov 2008)

Merged r10581. Fixed bug 5669. Fixed MRP_Run_Initialize procedure to consider only products of the client_id of the plan.

---
_U branches/bonware/r2.40/
_U branches/bonware/r2.40/config/setup-tool/
_U branches/bonware/r2.40/eclipse.install.source.launch
_U branches/bonware/r2.40/export.database.launch
_U branches/bonware/r2.40/src-core/src/org/openbravo/database/OpenbravoDriverManagerConnectionFactory.java
U branches/bonware/r2.40/src-db/database/model/functions/MRP_RUN_INITIALIZE.xml
_U branches/bonware/r2.40/update.database.launch
---

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