Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0007318 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] 06. Material requirement planning (MRP) | major | always | 2009-02-02 17:19 | 2009-02-03 11:15 | |||
| Reporter | joan | View Status | public | |||||
| Assigned To | gorkaion | |||||||
| Priority | normal | Resolution | duplicate | Fixed in Version | ||||
| Status | closed | Fix in branch | pi | 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 | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0007318: 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 |
|
|
(0013067) AinhoaPagola (viewer) 2009-02-03 11:15 |
This bug was already reported and solved. Thank you anyway. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-02-02 17:19 | joan | New Issue | |
| 2009-02-02 17:19 | joan | Assigned To | => rafaroda |
| 2009-02-02 17:19 | joan | sf_bug_id | 0 => 2557422 |
| 2009-02-03 10:57 | psarobe | Status | new => scheduled |
| 2009-02-03 10:57 | psarobe | Assigned To | rafaroda => gorkaion |
| 2009-02-03 10:57 | psarobe | fix_in_branch | => trunk |
| 2009-02-03 11:15 | AinhoaPagola | Regression testing | => No |
| 2009-02-03 11:15 | AinhoaPagola | Relationship added | duplicate of 0005504 |
| 2009-02-03 11:15 | AinhoaPagola | Status | scheduled => closed |
| 2009-02-03 11:15 | AinhoaPagola | Note Added: 0013067 | |
| 2009-02-03 11:15 | AinhoaPagola | Duplicate ID | 0 => 5504 |
| 2009-02-03 11:15 | AinhoaPagola | Resolution | open => duplicate |
| Copyright © 2000 - 2009 MantisBT Group |