Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022626Openbravo ERP09. Financial managementpublic2012-12-19 08:032013-02-20 04:49
sureshbabu 
pramakrishnan 
highmajoralways
closedfixed 
30Professional Appliance
pi 
 
dmiguelez
Google Chrome
Advanced Payables and Receivables Mngmt
No
0022626: when the user creates invoice for negative amount, not able to use the available credit option.
When there is credit available for a vendor and when the user creates invoice for negative amount for the same vendor, system shows credit to be used as 0.00 amount in "select credit" popup window, also when i click "Use Credit" or "Do not use credit" button system throws error message as

Error:
More than the available amount has been distributed
Login as Openbravo/openbravo
Change the role to QA Admin Test
1) Navigate to Payment out window and create available credit of Amount 10000 euros for vendor A

2) Then create purchase invoice for Vendor A, with below details
Bp: VendorA
Product: Raw material A(RMA)
Qty as -10

Then click Complete button to complete the invoice, and confirm it by clicking Ok button.

System shows "Select Credit Payments" pop window, with the above created available credit amount details

Defect:
 
In the select Credit payments window, one can see Credit to be used field shows 0.00 amount by default. And when the user clicks "Use Credit" or "Do not use Credit" buttons system throws below error message


Error:
More than the available amount has been distributed

No tags attached.
png When there is credit available for a vendor and when the user creates invoice for negative amount for the same vendor, system shows credit to be used as 0.00 amount.png (130,939) 2012-12-19 08:03
https://issues.openbravo.com/file_download.php?file_id=5852&type=bug
png
Issue History
2012-12-19 08:03sureshbabuNew Issue
2012-12-19 08:03sureshbabuAssigned To => dmiguelez
2012-12-19 08:03sureshbabuFile Added: When there is credit available for a vendor and when the user creates invoice for negative amount for the same vendor, system shows credit to be used as 0.00 amount.png
2012-12-19 08:03sureshbabuWeb browser => Google Chrome
2012-12-19 08:03sureshbabuModules => Advanced Payables and Receivables Mngmt
2012-12-19 08:03sureshbabuTriggers an Emergency Pack => No
2013-01-10 11:25pramakrishnanAssigned Todmiguelez => pramakrishnan
2013-01-10 11:26pramakrishnanStatusnew => scheduled
2013-01-10 11:26pramakrishnanfix_in_branch => pi
2013-02-11 18:05hgbotCheckin
2013-02-11 18:05hgbotNote Added: 0056348
2013-02-11 18:05hgbotStatusscheduled => resolved
2013-02-11 18:05hgbotResolutionopen => fixed
2013-02-11 18:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5287787cd3c80bda96e3ff5ab3c73bdc1f96b23f [^]
2013-02-11 19:03dmiguelezReview Assigned To => dmiguelez
2013-02-11 19:03dmiguelezNote Added: 0056350
2013-02-11 19:03dmiguelezStatusresolved => closed
2013-02-20 04:49hudsonbotCheckin
2013-02-20 04:49hudsonbotNote Added: 0056569

Notes
(0056348)
hgbot   
2013-02-11 18:05   
Repository: erp/devel/pi
Changeset: 5287787cd3c80bda96e3ff5ab3c73bdc1f96b23f
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Tue Jan 15 15:24:57 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/5287787cd3c80bda96e3ff5ab3c73bdc1f96b23f [^]

Fixes Issue 22626: Error in Payment using credit for negative invoices

---
M src/org/openbravo/erpCommon/ad_actionButton/CreditPaymentGrid.html
---
(0056350)
dmiguelez   
2013-02-11 19:03   
Code Review + Testing OK
(0056569)
hudsonbot   
2013-02-20 04:49   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d828167a9e83 [^]

Maturity status: Test