Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
| View Issue Details | |||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
| 0007335 | Openbravo ERP | 06. Material requirement planning (MRP) | public | 2009-02-02 17:19 | 2009-02-03 11:16 | ||||||||||||||
| Reporter | joan | ||||||||||||||||||
| Assigned To | gorkaion | ||||||||||||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||||||||||||
| Status | closed | Resolution | duplicate | ||||||||||||||||
| Platform | OS | 30 | OS Version | Debian Etch | |||||||||||||||
| Product Version | 2.40 | ||||||||||||||||||
| Target Version | Fixed in Version | ||||||||||||||||||
| 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 | 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)), | ||||||||||||||||||
| Additional Information | |||||||||||||||||||
| Tags | No tags attached. | ||||||||||||||||||
| Relationships |
| ||||||||||||||||||
| Attached Files | |||||||||||||||||||
| 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 | ||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||