Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013686Openbravo ERP07. Sales managementpublic2010-06-17 15:082012-05-14 13:15
sureshbabu 
Sandrahuguet 
urgentmajoralways
closedunable to reproduce 
30
main 
2.50MP20 
Core
No
0013686: Volume discount functionality need to be fine tuned
Volume Discount parameters setup

1) Navigate to Master Data Management || Business Partner Setup || Volume Discount || Volume Discounts and click new

 Then enter the below details
 Name: Volume discount testing, Include Product : All selected , Include Product Categories: Not Selected

2) Navigate to product tab
Click new, and select product: Hat
Again click new and select product: Shirt

3) Navigate to volume discount parameters
and click new and enter Discount %: 10, Min Amount :0.00

4) Navigate to BP tab
Click new and enter the below details
select BP: Red Bunny
Sales Transaction: checked
Valid From Date: 01/01/2010
Valid To: 31/12/2010

Again click new and enter the below details
Select BP: McGivers
Sales transaction: Unchecked
Valid from Date: 01/01/2010
Valid To: 31/12/2010

2) Create and complete a sales invoice with the below details
BP: Mc givers
Products: Hat, Qty:10 unit: 35.00 Tax: Exempt Total line amount 350

So total gross amount: 350.00

3) Try to create invoice to calculate volume discount for a customer, navigate to Business partner window and then move to Volume discount tab(Master Data Management || Business Partner || Business Partner >> Volume Discount )
Then click "Create Invoice", "Process completed successfully" message appears along with Invoice id details

Error: Again click the "Create Invoice" button, system wrongly generates sales invoice with wrong invoice amount using random discount percentage.
OB3-Reviewed, VMA-Reviewed
Issue History
2010-06-17 15:08sureshbabuNew Issue
2010-06-17 15:08sureshbabuAssigned To => adrianromero
2010-06-18 10:08psarobePriorityhigh => urgent
2010-06-18 10:08psarobeStatusnew => scheduled
2010-06-18 10:08psarobeFixed in Version => 2.50MP20
2011-06-03 10:59dalsasuaAssigned Toadrianromero => dalsasua
2011-07-20 18:12dalsasuaAssigned Todalsasua => jonalegriaesarte
2011-10-29 21:26psarobeTag Attached: OB3-Reviewed
2012-02-15 19:04iciordiaAssigned Tojonalegriaesarte => vmromanos
2012-02-16 17:35vmromanosTag Attached: VMA-Reviewed
2012-05-10 12:13gorka_gilAssigned Tovmromanos => mirurita
2012-05-11 14:43SandrahuguetAssigned Tomirurita => Sandrahuguet
2012-05-14 13:15SandrahuguetNote Added: 0048616
2012-05-14 13:15SandrahuguetStatusscheduled => closed
2012-05-14 13:15SandrahuguetResolutionopen => unable to reproduce

Notes
(0048616)
Sandrahuguet   
2012-05-14 13:15   
We done similar steps to reproduce and the issue now is unable to reproduce

-Go to volume discount:
Organization: F&B US, Inc.
Name: volume
Currency: USD
Included product: Only those defined
Included Product Categories: blank

-Navigate to product tab
Click new, and select product: Cherry Cola
Again click new and select product: Energy Drink

-Navigate to volume discount parameters
and click new and enter Discount %: 10, Min Amount :0.00

-Navigate to Business Partner tab
Business Partner: Healthy Food Supermarkets, Co.
Sales Transaction: checked
Active: checked
Valid From Date: 01/01/2012
Valid To: 31/12/2012

-Create and complete a sales invoice with the below details
Business Partner: Healthy Food Supermarkets, Co.
Navigate to line and create one:
Product: Energy Drink, Qty:10 unit: 1.49 Tax: Exempt Total line amount 14.90

-Go to Volume Discount and click "Create Invoice", "Process completed successfully" message appears along with Invoice id details
The invoice is a new invoice with the volume Discount to business partner

-Again click the "Create Invoice" button and the system does not generate new invoices.