Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006515
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] 02. Master data managementmajoralways2008-12-12 17:042011-02-04 09:15
ReporternetworkbView Statuspublic 
Assigned Tormorley 
PriorityhighResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006515: Multi-currency volume discounts

DescriptionCurrently 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 ReproduceGo 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
TagsReleaseCandidate
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0011277)
psarobe (manager)
2008-12-12 18:33

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
(0011289)
rafaroda (developer)
2008-12-13 12:32

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
(0011375)
networkb (developer)
2008-12-15 16:37

Ok. so the type is changed to Feature Request. Thanks

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker