Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022950Openbravo ERP06. Material requirement planning (MRP)public2013-01-31 17:452013-02-05 12:52
umartirena 
umartirena 
highmajoralways
closedfixed 
5
 
 
jonalegriaesarte
Core
No
0022950: Process Purchase Plan in Purchasing Plan is not working properly while configuring products as qty type multiple
The Process Purchase Plan procedure in purchasing plan window is does not suggest the correct quantities when the product in Purchasing Plan window is configured with Quantity type Multiple
- Configure Planning Method.
- Configure the Purchasing Tab of a Product marked as Purchase. Add Quantity type Multiple
- Configure Manufacturing Tab of the same product.
- Go to Material Requirement Management/Transactions/Purchasing Plan
- Create a new Record
- Execute Process Purchase Plan process.
- See that suggested quantities are not correct.
On line 124 of mrp_purchaseplan PL, make the following change:
- v_neededqty_new := v_neededqty_new + COALESCE(v_neededqty_old,0);
+ v_neededqty_new := v_neededqty_new + COALESCE(v_qty_old,0);
No tags attached.
Issue History
2013-01-31 17:45umartirenaNew Issue
2013-01-31 17:45umartirenaAssigned To => umartirena
2013-01-31 17:45umartirenaModules => Core
2013-01-31 17:45umartirenaTriggers an Emergency Pack => No
2013-01-31 18:04hgbotCheckin
2013-01-31 18:04hgbotNote Added: 0056027
2013-01-31 18:04hgbotStatusnew => resolved
2013-01-31 18:04hgbotResolutionopen => fixed
2013-01-31 18:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d8b5d2563b3b4abc234f5d7d12a2ae820897ba4a [^]
2013-02-01 22:29hudsonbotCheckin
2013-02-01 22:29hudsonbotNote Added: 0056102
2013-02-05 12:52jonalegriaesarteReview Assigned To => jonalegriaesarte
2013-02-05 12:52jonalegriaesarteNote Added: 0056162
2013-02-05 12:52jonalegriaesarteStatusresolved => closed

Notes
(0056027)
hgbot   
2013-01-31 18:04   
Repository: erp/devel/pi
Changeset: d8b5d2563b3b4abc234f5d7d12a2ae820897ba4a
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Thu Jan 31 18:01:04 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d8b5d2563b3b4abc234f5d7d12a2ae820897ba4a [^]

Fixes issue 0022950: Process Purchase Plan does not work properly with multiples

---
M src-db/database/model/functions/MRP_PURCHASEPLAN.xml
---
(0056102)
hudsonbot   
2013-02-01 22:29   
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/b070aa80fc76 [^]

Maturity status: Test
(0056162)
jonalegriaesarte   
2013-02-05 12:52   
Closed