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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006516
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] 02. Master data managementmajoralways2008-12-12 17:462011-02-04 09:15
ReporternetworkbView Statuspublic 
Assigned Tormorley 
PriorityhighResolutionopenFixed in Version
StatusnewFix 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

0006516: Review Scaled Volume Discount

DescriptionThe discount calculated for an invoice that should apply a created volume discount SCALED is not correct.
Steps To Reproduce1.create a volume discount with scaled=yes
2.create a range of discounts
3.create an invoice for a certain BP with an appropriate quantity of product
4.go to the BP and apply the volume discount
5.check the invoice generated and notice that discount applied is not correct (it does not correspond to the one defined in the volume discount)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0008503 closedvinothbabu Difference in invoice amount generated through volume discount.(in decimal places) 
related to feature request 00022212.40 closedpsarobe AT235: \'Volume discount\' (Rappels) incorrect behavior 

-  Notes
(0011288)
rafaroda (developer)
2008-12-13 12:24

We were not able to reproduce this bug following these steps:

1) Created 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

2) Went to 'Volume Discount Parameters' tab and set:
* Discount % = 50
* Min. Amount = 0.0

3) Created a new sales invoice in 'Sales Management || Transactions || Sales Invoice' with:
* Currency = EUR

4) Went to 'Lines' tab and added a line which 'Line Net Amount' = 216

5) Went back to 'Header' tab and completed the invoice. Checked that 'Summed Line Amount' = 216

6) Went to 'Master Data Management || Business Partner' and selected the same business partner of the sales invoice.

7) Went to 'Volume Discount' tab and created a new record with:
* Volume Discount = 50% discount
* Sales Transaction = Y

8) After saving, clicked on 'Create Invoice' button.

9) Went to 'Volume Discount Settlement' tab and navigated to the created invoice.

10) The 'Summed Line Amount' of the rappel invoice equals -108 (that is -216*50%)

http://wiki.openbravo.com/wiki/Technical_FAQ_about_Openbravo_ERP#How_can_I_create_volume_discounts_.28Rappels.29.3F [^]

Please double check it or provide further information.
(0011363)
networkb (developer)
2008-12-15 11:24

I checked it again and create sales invoice No.300018 (total amount 486 eur). Then applied Volume discount number 5 (10% when min=50) and the generated invoice No.300019 has 43.6 eur (instead of 48.6 eur).
(0011443)
rafaroda (developer)
2008-12-16 17:57

To create the volume discount as you want, you have to define it as not scaled:

1) Created 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
* Scaled = N
(0011950)
pjuvara (reporter)
2009-01-07 14:37

I understand that this issue has already been reviewed with Rafa and I apologize for asking for further feedback but from the description it is really not clear to me what this is about.

Can you please describe what is the desired functionality behind this feature request?

Thanks.
(0011959)
networkb (developer)
2009-01-07 17:13
edited on: 2009-01-07 17:14

When trying to create SCALED volume discount with different ranges the amount calculated by the application IS NOT the same as the amount you can calculate by hand.
Actually, to set different ranges of discount we need to create different non-scaled volume discount records for each range, because the quantity calculated when creating NON-SCALED discounts IS the same than the one calculated by hand.


- Issue History
Date Modified Username Field Change
2008-12-12 17:46 maiteElizari New Issue
2008-12-12 17:46 maiteElizari Assigned To => rafaroda
2008-12-12 17:46 maiteElizari sf_bug_id 0 => 2421862
2008-12-12 18:25 networkb Reporter maiteElizari => networkb
2008-12-12 18:25 networkb Priority normal => immediate
2008-12-12 18:25 networkb Issue Monitored: networkb
2008-12-13 12:24 rafaroda Note Added: 0011288
2008-12-13 12:24 rafaroda Status new => feedback
2008-12-15 11:24 networkb Note Added: 0011363
2008-12-16 17:57 rafaroda Note Added: 0011443
2008-12-19 16:16 networkb Priority immediate => high
2008-12-19 16:16 networkb Status feedback => new
2008-12-19 16:16 networkb Type defect => feature request
2008-12-19 16:51 networkb Summary Incorrect discount calculated when applying a created volume discount. => Review Scaled Volume Discount
2008-12-19 16:51 networkb Description Updated
2008-12-19 16:51 networkb Proposed Solution updated
2009-01-07 11:14 rafaroda Assigned To rafaroda => pjuvara
2009-01-07 14:37 pjuvara Note Added: 0011950
2009-01-07 14:37 pjuvara Status new => feedback
2009-01-07 17:13 networkb Note Added: 0011959
2009-01-07 17:14 networkb Note Edited: 0011959
2009-01-07 17:15 networkb Status feedback => new
2009-01-09 19:01 rafaroda Relationship added related to 0002221
2009-04-28 11:05 rafaroda Relationship added related to 0008503
2009-04-28 12:06 rafaroda Relationship replaced has duplicate 0008503
2011-02-04 09:15 jpabloae Assigned To pjuvara => rmorley


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker