Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0007335 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 06. Material requirement planning (MRP) | major | always | 2009-02-02 17:19 | 2009-02-03 11:16 | |||
Reporter | joan | View Status | public | |||||
Assigned To | gorkaion | |||||||
Priority | normal | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | 2.40 | Fixed in SCM revision | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 1.5.0_14-b03 | |||
OS Version | Debian Etch | Database version | 8.3 | Ant version | 1.6.5 | |||
Product Version | 2.40 | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0007335: MRP_PurchaseOrder function wrong discount calculation | |||||||
Description | On the function MRP_PurchaseOrder, it calculates bad the discount due to parenthesis mistake. Around line 221 it says something like v_PriceStd, v_PriceActual*Cur_workproposal.QTY,((v_PriceList-v_PriceStd) / (v_PriceList * 100)), And it should say v_PriceStd, v_PriceActual*Cur_workproposal.QTY,((v_PriceList-v_PriceStd) / v_PriceList) * 100, | |||||||
Steps To Reproduce | Launch an mrp with purchase sugestions Launch the purchase sugestion to purchase orders See that the lines of the purchase orders doens't have the discount correctly. | |||||||
Proposed Solution | v_PriceStd, v_PriceActual*Cur_workproposal.QTY,((v_PriceList-v_PriceStd) / v_PriceList) * 100, instead of v_PriceStd, v_PriceActual*Cur_workproposal.QTY,((v_PriceList-v_PriceStd) / (v_PriceList * 100)), | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0013068) AinhoaPagola (reporter) 2009-02-03 11:16 |
This bug was already reported and solved. Thank you anyway. |
Issue History | |||
Date Modified | Username | Field | Change |
2009-02-03 10:57 | psarobe | Type | defect => backport |
2009-02-03 10:57 | psarobe | fix_in_branch | => 2.40 |
2009-02-03 11:09 | rafaroda | Assigned To | rafaroda => gorkaion |
2009-02-03 11:16 | AinhoaPagola | Regression testing | => No |
2009-02-03 11:16 | AinhoaPagola | Relationship added | duplicate of 0005504 |
2009-02-03 11:16 | AinhoaPagola | Status | scheduled => closed |
2009-02-03 11:16 | AinhoaPagola | Note Added: 0013068 | |
2009-02-03 11:16 | AinhoaPagola | Duplicate ID | 0 => 5504 |
2009-02-03 11:16 | AinhoaPagola | Resolution | open => duplicate |
Copyright © 2000 - 2009 MantisBT Group |