Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027298Openbravo ERP09. Financial managementpublic2014-08-08 12:062015-04-10 10:04
daniOpenbravo 
daniOpenbravo 
highmajoralways
closedfixed 
5
 
pipi 
AtulOpenbravo
No
Google Chrome
Core
Pre packaging ( pi )
2014-07-01
pi
https://code.openbravo.com/erp/devel/pi/rev/b1843f200a9092eea99d431776d029a09868615a [^]
No
0027298: Error when reactivating payment in/out if business partner field is blank.
An error without message is shown when reactivating a payment in/out if we have not assigned any business partner to it.
1) Create a new Payment Method.
2) Enable Receive Receipt / Payment in Multiple Currency in Payment Method.
3) Add the Payment Method in Financial Account.
4) Make a Payment In or Payment Out using above Payment Method and Financial Account keeping business partner field blank.
5) Go to Add Details, select any G/L Item and complete the transaction.
6) Try to reactive this payment [If required delete record from transaction tab from Financial Account].
7) An Error without message is shown.
The problem is in Fin_PaymentProcess.java file, line 772, where a null pointer exception is caused in the following expression: String toCurrency = businessPartner.getCurrency().getId();

No tags attached.
caused by defect 00253923.0PR14Q4 closed eduardo_Argal Wrong customer balance when working with multicurrency 
causes defect 0027872 closed vmromanos Error obtained when trying to Reactivate a payment and related business partner does not have currency defined 
Issue History
2014-08-08 12:06daniOpenbravoNew Issue
2014-08-08 12:06daniOpenbravoAssigned To => daniOpenbravo
2014-08-08 12:06daniOpenbravoOBNetwork customer => No
2014-08-08 12:06daniOpenbravoWeb browser => Google Chrome
2014-08-08 12:06daniOpenbravoModules => Core
2014-08-08 12:06daniOpenbravoRegression level => Pre packaging ( pi )
2014-08-08 12:06daniOpenbravoRegression date => 2014-07-01
2014-08-08 12:06daniOpenbravoRegression introduced in release => pi
2014-08-08 12:06daniOpenbravoRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/b1843f200a9092eea99d431776d029a09868615a [^]
2014-08-08 12:06daniOpenbravoTriggers an Emergency Pack => No
2014-08-11 12:25daniOpenbravoWeb browserGoogle Chrome => Google Chrome
2014-08-11 12:25daniOpenbravoStatusnew => scheduled
2014-08-12 12:06hgbotCheckin
2014-08-12 12:06hgbotNote Added: 0069308
2014-08-12 12:06hgbotStatusscheduled => resolved
2014-08-12 12:06hgbotResolutionopen => fixed
2014-08-12 12:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/681262a36913d7d9e63662894a1f0fe3b131e7f3 [^]
2014-08-12 12:22AtulOpenbravoReview Assigned To => AtulOpenbravo
2014-08-12 12:22AtulOpenbravoNote Added: 0069309
2014-08-12 12:22AtulOpenbravoStatusresolved => closed
2014-08-12 12:22AtulOpenbravoFixed in Version => pi
2014-08-12 20:57hudsonbotCheckin
2014-08-12 20:57hudsonbotNote Added: 0069331
2014-10-15 13:24vmromanosRelationship addedcauses 0027872
2015-04-10 10:04dmitry_mezentsevRelationship addedcaused by 0025392

Notes
(0069308)
hgbot   
2014-08-12 12:06   
Repository: erp/devel/pi
Changeset: 681262a36913d7d9e63662894a1f0fe3b131e7f3
Author: Daniel Ruiz <daniel.ruiz <at> openbravo.com>
Date: Mon Aug 11 11:06:52 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/681262a36913d7d9e63662894a1f0fe3b131e7f3 [^]

Fixes Issue 27298:Error reactivating payment if business partner field is blank

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---
(0069309)
AtulOpenbravo   
2014-08-12 12:22   
Verified.
(0069331)
hudsonbot   
2014-08-12 20:57   
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/f93c6f350902 [^]
Maturity status: Test