Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009701Openbravo ERP07. Sales managementpublic2009-06-29 14:512009-06-30 00:00
sureshbabu 
rafaroda 
highmajoralways
closedunable to reproduce 
5
2.50MP2 
 
Core
No
0009701: Not able to generate invoice through volume discount
Not able to generate invoice through volume discount

Created a volume discount1 ( 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: Any valid product(Hammer) <for QA : select FGA>



step 3: Move to volume discount parameters tab
Discount %: 5 (5%)
Min Amount : 1
Max amount :
Click save


Move to Business partners tab

Business partner: Any valid Customer (Red bunny ) <for QA select CUSB)
Valid from date: <today's date>
Sales Transaction: checked



Create sales order for Red Bunny supplies with product : Hammer and qyt : 1 (line net amount : 5.22)
Complete Goods Shipment for the above generated SO
Complete Sales invoice for the above generated SO

Move to Master data management and click Business partner
Edit the Red bunny BP and click volume discount tab and click 'Generate Invoice' button.

"process completed successfully message should appear and Invoice id should be generated : <INV1>"


But the system throws error message as
"Error: null value in column "m_pricelist_id" violates not-null constraint"
250MP2QAcylce
jpg Not able to generate invoice for volume discount.JPG (174,393) 2009-06-29 14:51
https://issues.openbravo.com/file_download.php?file_id=1496&type=bug
jpg
Issue History
2009-06-29 14:51sureshbabuNew Issue
2009-06-29 14:51sureshbabuAssigned To => rafaroda
2009-06-29 14:51sureshbabuFile Added: Not able to generate invoice for volume discount.JPG
2009-06-29 14:51sureshbabuTag Attached: 250MP2QAcylce
2009-06-29 18:48psarobeStatusnew => closed
2009-06-29 18:48psarobeNote Added: 0017647
2009-06-29 18:48psarobeResolutionopen => unable to reproduce
2009-06-30 00:00anonymoussf_bug_id0 => 2814269

Notes
(0017647)
psarobe   
2009-06-29 18:48   
Hi Suresh,

I couldn't reproduce. To me your problem comes because the product is not present in the price list related with the business partner.