Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0012492 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 04. Warehouse management | major | always | 2010-02-26 17:50 | 2010-03-12 22:40 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | adrianromero | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 2.50MP14 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 67ff74400324 | ||||
Projection | none | ETA | none | Target Version | 2.50MP14 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP11 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0012492: m_get_product_cost error | |||||||
Description | when there are 2 costs defined and ending_date of one is identical to beginning_date of the other one, m_get_product_cost takes the first one instead of the second one | |||||||
Steps To Reproduce | 1. Procurement Management || Transactions || Goods Receipt || Header : create goods receipt with date=01-03-2006 business partner = mcgiver product=hammer qty=1 complete 2. Procurement Management || Transactions || Purchase Invoice || Header : date=01-03-2006 business partner = mcgiver create lines from the receipt complete 3. run generate average costs 4. Master Data Management || Product || Product >> Costing : edit the first cost of hammer product to 6.35 5. Warehouse Management || Analysis Tools || Valued Stock Report || Valued Stock Report : execute report for 01-03-2006 and Main warehouse Realize that cost obtained is 6.35 instead of 4.50 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0024906) hgbot (developer) 2010-03-01 14:31 |
Repository: erp/devel/pi Changeset: 67ff744003242ddb903cf3db313b4453b75c24cf Author: Adrián Romero <adrianromero <at> openbravo.com> Date: Mon Mar 01 14:34:31 2010 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/67ff744003242ddb903cf3db313b4453b75c24cf [^] Fixes issue 0012492: m_get_product_cost error --- M src-db/database/model/functions/M_GET_PRODUCT_COST.xml --- |
(0024909) adrianromero (viewer) 2010-03-01 14:48 |
To test the issue just follow the "Steps to reproduce" and notice that now the cost for hammer is 4.50 instead of 6.35 |
(0024977) sureshbabu (viewer) 2010-03-03 07:33 |
@ Adrian, i have followed the same steps provided above, but i am finding 6.35 as price for hammer in valued stock report |
(0025011) networkb (viewer) 2010-03-03 15:52 |
In Step5 the correct date to execute the report is 31/03/2006 (instead of 01/03/2006) Sorry for inconveniences. |
(0025105) arunkumar (viewer) 2010-03-08 07:53 |
Now the cost for hammer is 4.50 in valued stock report by executing the report date is 31/03/2006 Tested & Working fine |
(0025366) hudsonbot (viewer) 2010-03-12 22:40 |
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/67ff74400324 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^] Tests: http://builds.openbravo.com/view/devel-int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2010-02-26 17:50 | networkb | New Issue | |
2010-02-26 17:50 | networkb | Assigned To | => adrianromero |
2010-02-26 17:50 | networkb | OBNetwork customer | => Yes |
2010-02-26 17:51 | networkb | Assigned To | adrianromero => dalsasua |
2010-03-01 12:20 | adrianromero | Relationship added | has duplicate 0012463 |
2010-03-01 12:21 | adrianromero | Assigned To | dalsasua => adrianromero |
2010-03-01 12:21 | adrianromero | Status | new => scheduled |
2010-03-01 14:31 | hgbot | Checkin | |
2010-03-01 14:31 | hgbot | Note Added: 0024906 | |
2010-03-01 14:31 | hgbot | Status | scheduled => resolved |
2010-03-01 14:31 | hgbot | Resolution | open => fixed |
2010-03-01 14:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/67ff744003242ddb903cf3db313b4453b75c24cf [^] |
2010-03-01 14:48 | adrianromero | Note Added: 0024909 | |
2010-03-03 07:33 | sureshbabu | Note Added: 0024977 | |
2010-03-03 15:52 | networkb | Note Added: 0025011 | |
2010-03-08 07:53 | arunkumar | Note Added: 0025105 | |
2010-03-08 07:53 | arunkumar | Status | resolved => closed |
2010-03-08 07:53 | arunkumar | Fixed in Version | => 2.50MP13 |
2010-03-08 16:04 | jpabloae | Fixed in Version | 2.50MP13 => 2.50MP14 |
2010-03-08 16:05 | jpabloae | Target Version | 2.50MP13 => 2.50MP14 |
2010-03-10 17:25 | anonymous | sf_bug_id | 0 => |
2010-03-10 18:30 | anonymous | sf_bug_id | => 2968113 |
2010-03-12 22:40 | hudsonbot | Checkin | |
2010-03-12 22:40 | hudsonbot | Note Added: 0025366 |
Copyright © 2000 - 2009 MantisBT Group |