Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022850Openbravo ERPZ. Otherspublic2013-01-21 10:172013-01-22 15:33
maite 
ioritzCia 
immediatemajoralways
closedfixed 
5
 
 
Advanced Payables and Receivables Mngmt
Production - QA Approved
2012-11-21
https://code.openbravo.com/erp/devel/pi/rev/b506447bc782cc4d8cdebe52b0427adbc1290f6f [^]
No
0022850: Not possible to create Refund Payment only refunding credit amount
Not possible to create Refund Payment only refunding credit amount
1. Create Payment In for any BP and set Amount=100. Process payment without choose any order, invoice or gl item so 100 EUR credit is generated
2. Create Payment In for same BP, select option "Use available credit" and choose option "Refund amount to customer". Process and realize that payment is not properly processed

Log shows "Null Pointer Exception" error and problem is that variable "message" is null at line "if (strDifferenceAction.equals("refund")
            && !"Error".equalsIgnoreCase(message.getType())) {", in AddOrderOrInvoice.java file
No tags attached.
Issue History
2013-01-21 10:17maiteNew Issue
2013-01-21 10:17maiteAssigned To => dmiguelez
2013-01-21 10:17maiteModules => Advanced Payables and Receivables Mngmt
2013-01-21 10:17maiteTriggers an Emergency Pack => No
2013-01-21 10:18maiteRegression level => Production - QA Approved
2013-01-21 10:19ioritzCiaAssigned Todmiguelez => ioritzCia
2013-01-21 10:30maiteSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4283#r4283
2013-01-21 10:34maiteSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4284#r4284
2013-01-21 10:51hgbotCheckin
2013-01-21 10:51hgbotNote Added: 0055657
2013-01-21 10:51hgbotStatusnew => resolved
2013-01-21 10:51hgbotResolutionopen => fixed
2013-01-21 10:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c669075b99855adafd825d664808a62d54b71550 [^]
2013-01-21 10:54ioritzCiaStatusresolved => new
2013-01-21 10:54ioritzCiaResolutionfixed => open
2013-01-21 10:55ioritzCiaRegression date => 2012-11-21
2013-01-21 10:55ioritzCiaRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/b506447bc782cc4d8cdebe52b0427adbc1290f6f [^]
2013-01-21 10:55ioritzCiaStatusnew => scheduled
2013-01-21 10:55ioritzCiafix_in_branch => pi
2013-01-21 10:56ioritzCiaStatusscheduled => resolved
2013-01-21 10:56ioritzCiaResolutionopen => fixed
2013-01-21 16:29maiteNote Added: 0055689
2013-01-21 16:29maiteStatusresolved => closed
2013-01-22 15:33hudsonbotCheckin
2013-01-22 15:33hudsonbotNote Added: 0055732

Notes
(0055657)
hgbot   
2013-01-21 10:51   
Repository: erp/devel/pi
Changeset: c669075b99855adafd825d664808a62d54b71550
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Mon Jan 21 10:48:37 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c669075b99855adafd825d664808a62d54b71550 [^]

Fixes issue 22850: Impossible creating Refund Payment refunding credit amount.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddOrderOrInvoice.java
---
(0055689)
maite   
2013-01-21 16:29   
verified
(0055732)
hudsonbot   
2013-01-22 15:33   
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/449aae8be624 [^]

Maturity status: Test