Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021551Openbravo ERP06. Material requirement planning (MRP)public2012-09-05 12:292012-11-30 10:05
psarobe 
gorkaion 
highminoralways
closedfixed 
5
pi 
3.0MP16 
dmiguelez
Core
No
0021551: Purchasing plan: The process should take into all the warehouses that belong to and Org and the ones that hang from it
Let's imagine this is the org tree:

Main (WH-Main)
            ----------------- OrgA (WH-A)
            ----------------- OrgB (WH-B)
            ------------------OrgC (WH-C)

When you execute the purchasing plan in OrgA, the system is taking into the stock in Main and A. And for a guy in Org A this is wrong. He only wants the system to take into the stock that is in the WH-A

The solution is to modify the process so when you create the purchasing plan in OrgA, the system takes into all the warehouses that belong to OrgA and the ones that hang from it
1. Go to purchasing plan
2. Create and execute a purchasing plan for OrgA
3. Notice that if you have zero stock for product A in WH-A but 60 in WH-Main, the process is taking into account this 60 units. This is wrong
No tags attached.
Issue History
2012-09-05 12:29psarobeNew Issue
2012-09-05 12:29psarobeAssigned To => gorkaion
2012-09-05 12:29psarobeModules => Core
2012-09-11 17:57hgbotCheckin
2012-09-11 17:57hgbotNote Added: 0052004
2012-09-11 17:57hgbotCheckin
2012-09-11 17:57hgbotNote Added: 0052005
2012-09-11 17:57hgbotStatusnew => resolved
2012-09-11 17:57hgbotResolutionopen => fixed
2012-09-11 17:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/61377c542f43960762be9cfd8c97156382bf28ba [^]
2012-09-25 13:46dmiguelezClosed by => dmiguelez
2012-09-25 13:46dmiguelezNote Added: 0052573
2012-09-25 13:46dmiguelezStatusresolved => closed
2012-09-26 17:18hudsonbotCheckin
2012-09-26 17:18hudsonbotNote Added: 0052728
2012-09-26 17:18hudsonbotCheckin
2012-09-26 17:18hudsonbotNote Added: 0052729
2012-11-27 10:11hgbotCheckin
2012-11-27 10:11hgbotNote Added: 0054510
2012-11-27 10:11hgbotCheckin
2012-11-27 10:11hgbotNote Added: 0054511
2012-11-27 10:11hgbotStatusclosed => resolved
2012-11-27 10:11hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/61377c542f43960762be9cfd8c97156382bf28ba [^] => http://code.openbravo.com/erp/devel/pi/rev/a4ef43733202a89a029236ccac4f2753f9e2ec9d [^]
2012-11-27 19:40hudsonbotCheckin
2012-11-27 19:40hudsonbotNote Added: 0054610
2012-11-27 19:40hudsonbotCheckin
2012-11-27 19:40hudsonbotNote Added: 0054611
2012-11-30 10:05naiaramartinezStatusresolved => closed

Notes
(0052004)
hgbot   
2012-09-11 17:57   
Repository: erp/devel/pi
Changeset: 061968db96b6292f8a25bc6348ca458996b9c1a3
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Sep 10 17:10:50 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/061968db96b6292f8a25bc6348ca458996b9c1a3 [^]

Related to issue 21551.Format mrp_run_initialize procedure.

---
M src-db/database/model/functions/MRP_RUN_INITIALIZE.xml
---
(0052005)
hgbot   
2012-09-11 17:57   
Repository: erp/devel/pi
Changeset: 61377c542f43960762be9cfd8c97156382bf28ba
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Sep 10 17:29:34 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/61377c542f43960762be9cfd8c97156382bf28ba [^]

Fixed issue 21551.Consider only stock and orders of warehouses in the child org tree.

---
M src-db/database/model/functions/MRP_RUN_INITIALIZE.xml
---
(0052573)
dmiguelez   
2012-09-25 13:46   
Code Review + Testing OK
(0052728)
hudsonbot   
2012-09-26 17:18   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b780e90c6452 [^]

Maturity status: Test
(0052729)
hudsonbot   
2012-09-26 17:18   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b780e90c6452 [^]

Maturity status: Test
(0054510)
hgbot   
2012-11-27 10:11   
Repository: erp/devel/pi
Changeset: 824cdd6f31bec13effd99cdf7200e8811f67a07e
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Sep 10 17:10:50 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/824cdd6f31bec13effd99cdf7200e8811f67a07e [^]

Related to issue 21551.Format mrp_run_initialize procedure.

---
M src-db/database/model/functions/MRP_RUN_INITIALIZE.xml
---
(0054511)
hgbot   
2012-11-27 10:11   
Repository: erp/devel/pi
Changeset: a4ef43733202a89a029236ccac4f2753f9e2ec9d
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Sep 10 17:29:34 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a4ef43733202a89a029236ccac4f2753f9e2ec9d [^]

Fixed issue 21551.Consider only stock and orders of warehouses in the child org tree.

---
M src-db/database/model/functions/MRP_RUN_INITIALIZE.xml
---
(0054610)
hudsonbot   
2012-11-27 19:40   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/eaf1a8bdbf4e [^]

Maturity status: Test
(0054611)
hudsonbot   
2012-11-27 19:40   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/eaf1a8bdbf4e [^]

Maturity status: Test