Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013420Openbravo ERP02. Master data managementpublic2010-05-24 10:222010-07-08 00:00
networkb 
harikrishnan 
normalminoralways
closedfixed 
5
2.50MP17 
2.50MP20 
Core
No
0013420: Fields ‘Last Purchase Price’ and ‘Last Invoice Price’ are not filled
Fields ‘Last Purchase Price’ and ‘Last Invoice Price’ are not filled.
1. Master Data Management || Product || Product
Look for product ‘Grand Beer’
2. Master Data Management || Product || Product >> Purchasing
If it does not exists, new record
Business Partner: McGiver Supplies
3. Procurement Management || Transactions || Purchase Order || Header
New Record
Business Partner: McGiver Supplies
Procurement Management || Transactions || Purchase Order || Lines
New Record
Product: Grand Beer
4. Complete Purchase Order
5. Create an invoice from the purchase order and complete the invoice.
6. Master Data Management || Product || Product >> Purchasing
Realize the fields ‘Last Purchase Price’ and ‘Last Invoice Price’ are 0 and they have not been filled with the last invoice and purchase price.
No tags attached.
Issue History
2010-05-24 10:22networkbNew Issue
2010-05-24 10:22networkbAssigned To => adrianromero
2010-05-24 14:21adrianromeroStatusnew => scheduled
2010-05-24 14:21adrianromerofix_in_branch => pi
2010-07-06 06:55harikrishnanAssigned Toadrianromero => harikrishnan
2010-07-06 06:55hgbotCheckin
2010-07-06 06:55hgbotNote Added: 0029075
2010-07-06 06:55hgbotStatusscheduled => resolved
2010-07-06 06:55hgbotResolutionopen => fixed
2010-07-06 06:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/801436f99c13c1e389fc1c27975bf5127f37cba4 [^]
2010-07-06 06:56harikrishnanNote Added: 0029076
2010-07-07 10:07arunkumarNote Added: 0029105
2010-07-07 10:07arunkumarStatusresolved => closed
2010-07-07 12:38hudsonbotCheckin
2010-07-07 12:38hudsonbotNote Added: 0029112
2010-07-08 00:00anonymoussf_bug_id0 => 3026577

Notes
(0029075)
hgbot   
2010-07-06 06:55   
Repository: erp/devel/pi
Changeset: 801436f99c13c1e389fc1c27975bf5127f37cba4
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Tue Jul 06 09:47:37 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/801436f99c13c1e389fc1c27975bf5127f37cba4 [^]

Fixes issue 13420: Fields ‘Last Purchase Price’ and ‘Last Invoice Price’ are not filled

---
M src-db/database/model/functions/C_INVOICE_POST.xml
M src-db/database/model/functions/C_ORDER_POST1.xml
---
(0029076)
harikrishnan   
2010-07-06 06:56   
Steps to Test:
*Select any product and go to the Purchasing tab and create a record with any business partner.
* Create a purchase order and complete the purchase order with the above selected business partner and product.
*After completing the order you can find the "Last Purchase Price" field will be updated.
*Follow the above same steps for Purchase invoice also.

Root Cause:

Before while completing the purchase order this field is not updated.

Impact:

This updating is done only for purchase module.Their is no impact because of this change set.
(0029105)
arunkumar   
2010-07-07 10:07   
Tested working fine
(0029112)
hudsonbot   
2010-07-07 12:38   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/801436f99c13 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/d555a35070ee [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17817.obx [^]