Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008497Openbravo ERP02. Master data managementpublic2009-04-08 08:462009-05-30 00:00
sureshbabu 
jayakumar 
lowmajoralways
closedfixed 
30
2.50beta 
pi 
Core
No
0008497: System wrongly generate Invoice for Volume discount even for inactive customers & Inactive Products
System wrongly provides volume discount even for inactive customers & in active products defined in volume discount setup.
To reproduce the above scenario i have used the below steps:

created a volume discount set up ( Master Data Management || Business Partner Setup || Volume Discount || Volume Discounts )
Name: <enter a valid name >
Scaled: Un check
Included Product: All selected
Included Product categories: Not selected

Step 2: Move to Product tab and
product: Hammer
Active: Un-check and click new
Product: Paint
Active: Check


step 3: Move to volume discount parameters tab
Discount % : 10 (10%)
Min Amount : 10000

Move to Business partners tab
Active check box: Un-check
Business partner: McGiver supplies
Valid from date: <today's date>
Sales Transaction: checked




****
Then move to sales management module to create a sales order for the same BP: McGiver supplies and select product as Hammer and qty : 50000 and complete

complete shipment for the above created SO

And perform invoice for the above created SO.

******

Move to Master data management --> business partner and select the MC Giver supplies and move to volume discount tab and click 'create invoice' button and confirm it by clicking the OK button.

System wrongly generates Invoice id to provide volume discount for the customer & also move to volume discount settlement tab a new line item will be wrongly added.










250 final review, comsupchennai_sprint5
Issue History
2009-04-08 08:46sureshbabuNew Issue
2009-04-08 08:46sureshbabuAssigned To => rafaroda
2009-04-08 08:46sureshbabuRegression testing => No
2009-04-08 09:19sureshbabuTag Attached: 250 final review
2009-04-08 12:01rafarodaAssigned Torafaroda => sathiyan
2009-04-08 12:01rafarodaPrioritynormal => low
2009-04-08 12:01rafarodaStatusnew => scheduled
2009-04-08 17:05sathiyanAssigned Tosathiyan => jayakumar
2009-05-04 06:38hgbotCheckin
2009-05-04 06:38hgbotNote Added: 0016000
2009-05-04 06:38hgbotStatusscheduled => resolved
2009-05-04 06:38hgbotResolutionopen => fixed
2009-05-04 06:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cc54bc4c5bde9da2a6380a7eaa6623f7b1e43597 [^]
2009-05-04 06:40jayakumarTag Attached: comsupchennai_sprint5
2009-05-29 10:12sureshbabuStatusresolved => closed
2009-05-29 10:12sureshbabuNote Added: 0016751
2009-05-29 10:12sureshbabuFixed in Version2.50MP1 => pi
2009-05-30 00:00anonymoussf_bug_id0 => 2798616

Notes
(0016000)
hgbot   
2009-05-04 06:38   
Repository: erp/devel/pi
Changeset: cc54bc4c5bde9da2a6380a7eaa6623f7b1e43597
Author: Jayakumar Kasinathan <jayakumar.kasinathan <at> openbravo.com>
Date: Sun May 03 22:10:02 2009 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/cc54bc4c5bde9da2a6380a7eaa6623f7b1e43597 [^]

Fixes bug 8497 System wrongly generate Invoice for Volume discount even for inactive customers & Inactive Products

---
M src-db/database/model/functions/M_RAPPEL_INVOICE_CREATE.xml
---
(0016751)
sureshbabu   
2009-05-29 10:12   
Tested working fine