Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022914Openbravo ERP06. Material requirement planning (MRP)public2013-01-28 16:292013-03-05 17:27
VictorVillar 
caristu 
urgentmajoralways
closedfixed 
5
pi 
3.0MP21 
VictorVillar
Core
No
0022914: Wrong calculation of Planned Order Date in Manufacturing Plan process
If the user has configured a production product with Minimum Lead Time and Capacity at the same time, when launches the Manufacturing Plan the Planned Order Date does not take into account the offset (Minimum Lead Time).
As group Admin role,
Follow the instructions for configuring MRP: http://wiki.openbravo.com/wiki/Material_Requirement_Planning#Configuration [^]
Go to Product window
    Select Vino Tinto
    Production: yes
  go To Manufacturing Plan:
    Minimum Lead Time: 8 days
    capacity: 72'66
Go to Process Plan
   Configure a Process Plan with Vino Tinto as P+.
Go to Sales Order
   Create a new document for Vino Tinto.
   Qty: 300
   Order Date: today
Go to Manufacturing Plan window:
  Launch it for Product Vino Tinto
    Realise that the Planned Order Date is calculated following:
 Work Requirement Quantity / Capacity = 300/72'66=4.1
and because the Minimum Lead Time is 8, the Planned Order Date will be Today + 8.
This is not correct: it should be [Minimum Lead Time] + [Work Requirement Quantity / Capacity] = 12.1 --> Planned Order Date = today + 12
No tags attached.
Issue History
2013-01-28 16:29VictorVillarNew Issue
2013-01-28 16:29VictorVillarAssigned To => dmiguelez
2013-01-28 16:29VictorVillarModules => Core
2013-01-28 16:29VictorVillarTriggers an Emergency Pack => No
2013-01-28 16:30VictorVillarIssue Monitored: networkb
2013-01-31 09:00dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-02-20 14:51jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2013-02-20 18:46ioritzCiaAssigned ToioritzCia => jecharri
2013-03-04 11:06jonalegriaesarteAssigned Tojecharri => caristu
2013-03-04 22:54hgbotCheckin
2013-03-04 22:54hgbotNote Added: 0057018
2013-03-04 22:54hgbotStatusnew => resolved
2013-03-04 22:54hgbotResolutionopen => fixed
2013-03-04 22:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/08caaa2c34dc74031f995218adbb3ba9524fb635 [^]
2013-03-05 09:30hudsonbotCheckin
2013-03-05 09:30hudsonbotNote Added: 0057031
2013-03-05 17:27VictorVillarReview Assigned To => VictorVillar
2013-03-05 17:27VictorVillarNote Added: 0057056
2013-03-05 17:27VictorVillarStatusresolved => closed

Notes
(0057018)
hgbot   
2013-03-04 22:54   
Repository: erp/devel/pi
Changeset: 08caaa2c34dc74031f995218adbb3ba9524fb635
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Mar 04 22:51:13 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/08caaa2c34dc74031f995218adbb3ba9524fb635 [^]

fixes issue 22914: Wrong calculation of Planned Order Date in
  Manufacturing Plan process

---
M src-db/database/model/functions/MRP_PROCESSPLAN_PLAN.xml
---
(0057031)
hudsonbot   
2013-03-05 09:30   
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/e5bdfce74ee2 [^]

Maturity status: Test
(0057056)
VictorVillar   
2013-03-05 17:27   
Verified + Gorka Ion: Code review