Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005504Openbravo ERP06. Material requirement planning (MRP)public2008-10-12 15:292009-04-21 11:09
jtarbal 
AinhoaPagola 
normalminorhave not tried
closedfixed 
5
2.40 
 
Core
No
0005504: The discount field of the purchase order line is not correctly informed when using Purchase MRP
In the "Purchasing plan" window, when generating the purchase orders through the "Create purchase orders" button, the discount field of the purchase order lines (corresponding to the purchase orders that have been automatically generated) is not well informed. For example, instead of 10% it puts 0.001%.
comsup_sprint3
depends on backport 0006541 closed AinhoaPagola The discount field of the purchase order line is not correctly informed when using Purchase MRP 
has duplicate defect 0007318 closed gorkaion MRP_PurchaseOrder function wrong discount calculation 
has duplicate backport 0007335 closed gorkaion MRP_PurchaseOrder function wrong discount calculation 
Issue History
2008-10-12 15:29jtarbalNew Issue
2008-10-12 15:29jtarbalAssigned To => cromero
2008-10-12 15:29jtarbalsf_bug_id0 => 2161487
2008-10-13 09:45psarobeNote Added: 0009526
2008-10-13 09:45psarobeAssigned Tocromero => gorkaion
2008-10-13 09:45psarobeStatusnew => feedback
2008-11-03 12:13rafarodaNote Added: 0009922
2008-11-20 09:55rafarodaNote Added: 0010420
2008-11-21 14:11jtarbalNote Added: 0010505
2008-11-24 12:45rafarodaNote Added: 0010559
2008-11-24 12:57jtarbalNote Added: 0010561
2008-12-15 09:38rafarodaversion => 2.40
2008-12-15 09:38rafarodaStatusfeedback => scheduled
2008-12-15 09:38rafarodafix_in_branch => trunk
2008-12-18 18:59AinhoaPagolaAssigned Togorkaion => AinhoaPagola
2008-12-24 13:02svnbotCheckin
2008-12-24 13:02svnbotNote Added: 0011732
2008-12-24 13:02svnbotStatusscheduled => resolved
2008-12-24 13:02svnbotResolutionopen => fixed
2008-12-24 13:02svnbotsvn_revision => 11574
2009-01-08 12:00AinhoaPagolaTag Attached: comsup_sprint3
2009-02-03 11:15AinhoaPagolaRelationship addedhas duplicate 0007318
2009-02-03 11:16AinhoaPagolaRelationship addedhas duplicate 0007335
2009-04-21 11:09psarobeStatusresolved => closed

Notes
(0009526)
psarobe   
2008-10-13 09:45   
Please, specify the environment you are facing this issue. Also write the steps to reproduce otherwise people from QA or engineering won't reproduce the bug
(0009922)
rafaroda   
2008-11-03 12:13   
Reminder sent to: jtarbal

Please provide the required information in order to reproduce this bug.
(0010420)
rafaroda   
2008-11-20 09:55   
Reminder sent to: jtarbal

Feedback required for this issue.
(0010505)
jtarbal   
2008-11-21 14:11   
Sorry for the delay of my answer. Please, follow the next steps in order to reproduce the bug:
1.- In "Materials Requirement Planning (MRP) > Transactions > Purchasing Plan" create a new "Purchasing plan" specif¡ying the name, time horizon and safety lead time.
2.- Execute the "Process purchasing plan" button in order to obtain some purchase orders proposals. Notice that in order to get that, some parametrization is needed. Make sure that the price that will be applied is lower than the "List price" for the product in the provider's pricelist.
3.- Execute the "Create Purchase Orders" button.
4.- Go to "Procurement Management > Transactions > Purchase Orders" and search the "Purchase order" created by the the previous process.
5.- Go to the order lines tab. Realize that the discount field is not correct. For example, instead of 10% it puts 0.001%.
(0010559)
rafaroda   
2008-11-24 12:45   
Reminder sent to: jtarbal

Please specify the version of Openbravo ERP where this bug reproduces in order to backport it or not.
(0010561)
jtarbal   
2008-11-24 12:57   
It happens in version 2.40.

Ragards
(0011732)
svnbot   
2008-12-24 13:02   
Repository: openbravo
Revision: 11574
Author: AinhoaPagola
Date: 2008-12-24 13:02:36 +0100 (Wed, 24 Dec 2008)

Fixes bug 0005504 Discount field in purchase order created with Purchase MRP

---
U trunk/src-db/database/model/functions/MRP_PURCHASEORDER.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=11574&sc=1 [^]