Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0005525 | Openbravo ERP | 04. Warehouse management | public | 2008-10-14 19:08 | 2009-04-21 12:39 |
|
Reporter | nataliaperu | |
Assigned To | gorkaion | |
Priority | immediate | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.40 | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0005525: Generate Average costs process does not calculate correctly the average |
Description | When an order contains two lines with the same product and one of them has price 0, the process does not take into account the product with price 0. |
Steps To Reproduce | |
Proposed Solution | Comment the following lines in GENERATE_AVERAGE_COST procedure:
--IF(Cur_InOutLine.MOVEMENTDATE=v_DateOld AND Cur_InOutLine.M_PRODUCT_ID=v_ProductOld) THEN
v_CumQty:=v_CumQty + Cur_InOutLine.MOVEMENTQTY;
-- END IF; |
Additional Information | |
Tags | comsup_sprint5 |
Relationships | depends on | backport | 0005610 | | closed | gorkaion | Generate Average costs process does not calculate correctly the average | depends on | backport | 0005611 | | closed | gorkaion | Generate Average costs process does not calculate correctly the average |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2008-10-14 19:08 | nataliaperu | New Issue | |
2008-10-14 19:08 | nataliaperu | Assigned To | => cromero |
2008-10-14 19:08 | nataliaperu | sf_bug_id | 0 => 2166412 |
2008-10-20 11:24 | psarobe | Note Added: 0009644 | |
2008-10-20 11:24 | psarobe | Status | new => feedback |
2008-10-22 10:29 | psarobe | Status | feedback => scheduled |
2008-10-22 10:29 | psarobe | Note Added: 0009672 | |
2008-10-22 10:29 | psarobe | Assigned To | cromero => gorkaion |
2008-10-22 10:29 | psarobe | fix_in_branch | => trunk |
2008-11-06 12:52 | olli | Note Added: 0010034 | |
2009-01-19 10:09 | rafaroda | version | => 2.40 |
2009-01-19 10:09 | rafaroda | fix_in_branch | trunk => |
2009-01-29 16:58 | rafaroda | Priority | normal => immediate |
2009-01-29 18:16 | svnbot | Checkin | |
2009-01-29 18:16 | svnbot | Note Added: 0012852 | |
2009-01-29 18:16 | svnbot | Status | scheduled => resolved |
2009-01-29 18:16 | svnbot | Resolution | open => fixed |
2009-01-29 18:16 | svnbot | svn_revision | => 12514 |
2009-02-06 01:17 | gorkaion | Tag Attached: comsup_sprint5 | |
2009-04-21 12:39 | psarobe | Status | resolved => closed |
Notes |
|
|
Please we need more feedback for you proposed solution |
|
|
|
Gorka when fix the bug write an explanation of what to do for cheking that the bug has been really fixed |
|
|
(0010034)
|
olli
|
2008-11-06 12:52
|
|
I have a different problem but the solution is the same. The problem occurs when there are two goods receipts containing the same product in the same day. The procedure doesn't increment the v_CumQty when calculating the first line, because Cur_InOutLine.M_PRODUCT_ID=v_ProductOld is false. That's why the quantity of the first line is not taken into account. |
|
|
(0012852)
|
svnbot
|
2009-01-29 18:16
|
|
Repository: openbravo
Revision: 12514
Author: gorkaion
Date: 2009-01-29 18:16:13 +0100 (Thu, 29 Jan 2009)
Fixed bug 5525. Applied the proposed solution removing the if clause.
---
U trunk/src-db/database/model/functions/M_GENERATE_AVERAGE_COSTS.xml
---
https://dev.openbravo.com/websvn/openbravo/?rev=12514&sc=1 [^]
|
|