Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020436Openbravo ERP06. Material requirement planning (MRP)public2012-05-07 19:322012-06-07 10:43
VictorVillar 
ioritzCia 
urgentmajoralways
closedfixed 
5
3.0MP10.1 
3.0MP13 
Core
No
0020436: Purchasing tab process does not take into account discontinued configuration
For a purchase product we define in hte purchase tab that the particular vendor is discontinued by last Monday.
We run the purchasing plan today and a Suggested PO is still created for the product.
When we do Create Purchase Orders also the PO is created for the vendor.

After create a planning method ('planificador') and a planner ('planner')
As Group admin role,

Create a product as Purchase and stocked
    Price list: Happy drinks
  Purchasing tab:
      Business Partner: Happy Drinks
        Current Vendor: yes
        Discontinued: Yes
        Discontinued by: 23/04/2012
  Manufacturing tab:
       Planning method: Planificador
       PLanner: Planner
       Safety stock: 20
Go to Purchasing plan window:
      Document date: 26/04/2012
      Time horizon: 7
we realise that a suggested PO is still created for the product.
Also if Creates the Purchase Orders also the PO is created for the vendor.
This behaviour is wrong because you do not work with this business partner any more.
The purchasing plan processes should take into account the discontinued settings in the Product > Purchase tab.
No tags attached.
Issue History
2012-05-07 19:32VictorVillarNew Issue
2012-05-07 19:32VictorVillarAssigned To => vmromanos
2012-05-07 19:32VictorVillarModules => Core
2012-05-07 19:32VictorVillarResolution time => 1338501600
2012-05-07 19:33VictorVillarIssue Monitored: networkb
2012-05-09 09:04jonalegriaesarteAssigned Tovmromanos => jonalegriaesarte
2012-05-10 17:11ioritzCiaAssigned Tojonalegriaesarte => ioritzCia
2012-05-30 16:22jonalegriaesarteTarget Version3.0MP12 => 3.0MP13
2012-05-31 13:48ioritzCiaStatusnew => scheduled
2012-05-31 13:48ioritzCiafix_in_branch => pi
2012-06-05 12:23hgbotCheckin
2012-06-05 12:23hgbotNote Added: 0049617
2012-06-05 12:23hgbotStatusscheduled => resolved
2012-06-05 12:23hgbotResolutionopen => fixed
2012-06-05 12:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f40da034b00fc8edd572c49a570924a970953aa8 [^]
2012-06-07 10:43VictorVillarNote Added: 0049663
2012-06-07 10:43VictorVillarStatusresolved => closed

Notes
(0049617)
hgbot   
2012-06-05 12:23   
Repository: erp/devel/pi
Changeset: f40da034b00fc8edd572c49a570924a970953aa8
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Thu May 31 17:34:22 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f40da034b00fc8edd572c49a570924a970953aa8 [^]

Fixes issue 20436: Purchasing tab process does not take into account discontinued configuration.

---
M src-db/database/model/functions/MRP_PURCHASEPLAN.xml
M src-db/database/model/functions/MRP_RUN_INITIALIZE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0049663)
VictorVillar   
2012-06-07 10:43   
Verified