Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005140Openbravo ERP03. Procurement managementpublic2008-09-22 11:082009-05-21 16:49
RenateNieuwkoop 
AinhoaPagola 
normalminoralways
closedfixed 
5
2.40beta 
 
Core
No
0005140: Purchase Order created from Requisition does not take need-by date into account
Reload Current Page Procurement Management || Transactions || Purchase Order || Header >> Lines

The Scheduled delivery date is not in line with:

Procurement Management || Transactions || Requisition || Header >> Lines

Need by date

When you enter a Requisition with a need by date of next month and create a Purchase Order from it, the scheduled delivery date for the Purchase Order line is today's date
Align the Scheduled Delivery date on the PO with the need by date on the requisition
No tags attached.
has duplicate backport 0009326 closed gmauleon The Purchase Orderes generated from the manage requision window don't take the needed date properly 
blocks defect 0005116 closed AinhoaPagola Purchase Order created from Requisition does not take need-by date into account 
Issue History
2008-09-22 11:08cromeroNew Issue
2008-09-22 11:08cromeroAssigned To => gorkaion
2008-09-22 11:08cromeroStatusnew => scheduled
2008-11-13 23:06rafarodaAssigned Togorkaion => AinhoaPagola
2008-11-27 10:44svnbotCheckin
2008-11-27 10:44svnbotNote Added: 0010757
2008-11-27 10:44svnbotStatusscheduled => resolved
2008-11-27 10:44svnbotResolutionopen => fixed
2008-11-27 10:44svnbotsvn_revision => 10658
2008-12-02 12:04svnbotCheckin
2008-12-02 12:04svnbotNote Added: 0010874
2008-12-02 12:04svnbotsvn_revision10658 => 10836
2009-02-02 15:54rafarodaNote Deleted: 0010874
2009-02-26 09:12sureshbabuNote Added: 0014076
2009-02-26 09:13sureshbabuStatusresolved => new
2009-02-26 09:13sureshbabuResolutionfixed => open
2009-02-26 09:13sureshbabuNote Added: 0014077
2009-02-26 09:45AinhoaPagolaNote Added: 0014085
2009-02-26 09:45AinhoaPagolaStatusnew => scheduled
2009-02-26 09:45AinhoaPagolafix_in_branch2.40 => trunk
2009-02-26 09:45AinhoaPagolaStatusscheduled => resolved
2009-02-26 09:45AinhoaPagolaResolutionopen => fixed
2009-05-19 08:47sureshbabuNote Added: 0016438
2009-05-21 16:49psarobeStatusresolved => closed
2009-06-05 09:57gmauleonRelationship addedhas duplicate 0009326

Notes
(0010757)
svnbot   
2008-11-27 10:44   
Repository: openbravo
Revision: 10658
Author: AinhoaPagola
Date: 2008-11-27 10:44:06 +0100 (Thu, 27 Nov 2008)

Fixes bug 0005140. Need by date taken into account in Manage Requisition.

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

https://dev.openbravo.com/websvn/openbravo/?rev=10658&sc=1 [^]
(0014076)
sureshbabu   
2009-02-26 09:12   
Still i can able to reproduce the issue in context http://79.125.56.185/openbravotrunk [^]

Steps to reproduce:
1) Create a requisition by moving to
Procurement Management || Transactions || Requisition || Header
enter BP,
2) Move to line items select a product enter the qty and change the Need by date to one month after the current date. and move back to header and click complete button.
3) using Requisition to order option generate PO from Requisition.

4) Open the above created Po, you will find scheduled delivery date is equal to current date instead of date given in Need by date field in requisition.
(0014077)
sureshbabu   
2009-02-26 09:13   
Still the issue exists, please find the details in the notes attached with this issue.
(0014085)
AinhoaPagola   
2009-02-26 09:45   
Hello,

There are two options to create PO from requisitions.

If the PO is created by clicking in the button "create purchase order" in manage requisitions header window, a line is created for each of the lines in the requisition and the need by date will be maintained. The purchase orders header will have the minimum need by date as scheduled delivery date. This has being fixed in this issue as it was not like this before.

The second option is the one you described. If the PO is created with the process "Requisition to Order" the lines are grouped by product into one single line that why it is not possible for them to maintain their need by date field for each line. At the moment todays date is assigned as Scheduled delivery date, but it could be requested that a more suitable date is assigned. This should be treated as a feature request.

See the corresponding defect of this backport for more information.
(0016438)
sureshbabu   
2009-05-19 08:47   
Fixed while the Po is created through Manage requisition option, closing the issue as per developers comments.