Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0006515 | Openbravo ERP | 02. Master data management | public | 2008-12-12 17:04 | 2011-02-04 09:15 |
|
Reporter | networkb | |
Assigned To | rmorley | |
Priority | high | Severity | major | Reproducibility | always |
Status | acknowledged | Resolution | open | |
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 | 0006515: Multi-currency volume discounts |
Description | Currently volume discounts are specific to a currency.
As a consequence, the volume discount of a certain business partner does not include invoices in currencies different from the one of the volume discount definition. |
Steps To Reproduce | Go to business partner setup and create a volume discount with included product and categories Not Selected and currency different from EUR.
Create a sales invoice for any BP and product with enough quantity to apply the created discount.
Go to the business partner/volume discount tab and try to create invoice with the volume discount chosen |
Proposed Solution | |
Additional Information | |
Tags | ReleaseCandidate |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2008-12-12 17:04 | maiteElizari | New Issue | |
2008-12-12 17:04 | maiteElizari | Assigned To | => rafaroda |
2008-12-12 17:04 | maiteElizari | sf_bug_id | 0 => 2421659 |
2008-12-12 18:27 | networkb | Reporter | maiteElizari => networkb |
2008-12-12 18:27 | networkb | Priority | normal => immediate |
2008-12-12 18:27 | networkb | Issue Monitored: networkb | |
2008-12-12 18:33 | psarobe | Note Added: 0011277 | |
2008-12-12 19:02 | networkb | Proposed Solution updated | |
2008-12-13 12:32 | rafaroda | Note Added: 0011289 | |
2008-12-13 12:32 | rafaroda | Status | new => feedback |
2008-12-15 16:37 | networkb | Note Added: 0011375 | |
2008-12-15 16:37 | networkb | Type | defect => feature request |
2008-12-15 18:25 | networkb | Priority | immediate => high |
2008-12-17 10:07 | rafaroda | Assigned To | rafaroda => pjuvara |
2008-12-17 20:01 | pjuvara | Status | feedback => new |
2008-12-17 20:01 | pjuvara | Summary | Currency of volume discount and invoice => Multi-currency volume discounts |
2008-12-17 20:01 | pjuvara | Description Updated | |
2008-12-17 20:01 | pjuvara | Tag Attached: ReleaseCandidate | |
2008-12-17 20:01 | pjuvara | Status | new => acknowledged |
2011-02-04 09:15 | jpabloae | Assigned To | pjuvara => rmorley |
Notes |
|
|
We need to have a better description and steps to reproduce in order to reproduce the bug. Otherwise the bug will be rejected. Think that once the bug has been resolved by engineering also QA needs to verify.
Thanks in advance |
|
|
|
The definition of a rappel is done via the following steps [1]:
1) Create a new volume discount inside 'Master Data Management || Business Partner Setup || Volume Discount' with:
* Name = 50% discount
* Included Product = Not Selected
* Included Product Categories = Not Selected
* Currency = EUR
Please notice that a currency has to be selected so the rappel will only apply to the invoices with this same currency (see function M_RAPPEL_INVOICE_CREATE [2]). In other words, the functionality of currency conversion during the creation of rappels is not implemented. Should this issue change its type to feature request?
[1] http://wiki.openbravo.com/wiki/Technical_FAQ_about_Openbravo_ERP#How_can_I_create_volume_discounts_.28Rappels.29.3F [^]
[2] https://dev.openbravo.com/websvn/openbravo/trunk/src-db/database/model/functions/M_RAPPEL_INVOICE_CREATE.xml [^]
SELECT COALESCE(SUM(IL.LINENETAMT), 0)
INTO v_TotalLines
FROM C_INVOICE I,
C_INVOICELINE IL,
M_RAPPEL_BPARTNER RP,
C_BPARTNER_LOCATION PL,
M_RAPPEL R
WHERE I.C_INVOICE_ID=IL.C_INVOICE_ID
AND R.M_RAPPEL_ID=RP.M_RAPPEL_ID
AND R.C_CURRENCY_ID=I.C_CURRENCY_ID <-- Same currency required in rappel and invoice
AND I.PROCESSED='Y'
AND I.DATEINVOICED>=RP.VALIDFROM
AND I.DATEINVOICED<v_LimitDate+1
AND I.C_BPARTNER_ID=RP.C_BPARTNER_ID
AND I.C_BPARTNER_ID = PL.C_BPARTNER_ID |
|
|
|
Ok. so the type is changed to Feature Request. Thanks |
|