Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020077Openbravo ERP09. Financial managementpublic2012-03-21 13:552012-04-02 06:12
VictorVillar 
dmiguelez 
highminoralways
closedfixed 
5
3.0MP8.1 
3.0MP11 
Core
No
0020077: Null Pointer exception error in Payment report
When you have a g/l item transaction type or a fee transaction type and then you execute the payment report with order by Date, a null pointer exception appears.
As group admin role,

Go to Financial Account window:
  Select: F&B US Bank - Account 1
Click in Add Transaction button
Select Transaction type: Fee

Go to Payment Report window,
Select Ordering criteria by Date
Other parameters by default
Click in Search Button

A null pointer exception message appears.

No tags attached.
Issue History
2012-03-21 13:55VictorVillarNew Issue
2012-03-21 13:55VictorVillarAssigned To => dmiguelez
2012-03-21 13:55VictorVillarModules => Core
2012-03-21 13:55VictorVillarResolution time => 1338328800
2012-03-21 13:59VictorVillarIssue Monitored: networkb
2012-03-21 16:00dmiguelezStatusnew => acknowledged
2012-03-21 16:18dmiguelezStatusacknowledged => scheduled
2012-03-21 16:18dmiguelezfix_in_branch => pi
2012-03-22 09:34dmiguelezNote Added: 0046636
2012-03-27 16:41hgbotCheckin
2012-03-27 16:41hgbotNote Added: 0046783
2012-03-27 16:41hgbotStatusscheduled => resolved
2012-03-27 16:41hgbotResolutionopen => fixed
2012-03-27 16:41hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/73b330a22cf8b8696e133b9fe29a6b4def817ca4 [^]
2012-03-27 16:41vmromanosNote Added: 0046784
2012-03-27 16:41vmromanosStatusresolved => closed
2012-04-02 06:12hudsonbotCheckin
2012-04-02 06:12hudsonbotNote Added: 0047247

Notes
(0046636)
dmiguelez   
2012-03-22 09:34   
Test Plan:

Login as Openbravo/openbravo.
As group admin role,

Go to Financial Account window:
  Select: F&B US Bank - Account 1
Click in Add Transaction button
Select Transaction type: Fee
Received In: 999


Go to Payment Report window,
Select Ordering criteria by Date
Other parameters by default
Click in Search Button

The data will show in the table below without any error messages
(0046783)
hgbot   
2012-03-27 16:41   
Repository: erp/devel/pi
Changeset: 73b330a22cf8b8696e133b9fe29a6b4def817ca4
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Tue Mar 27 09:31:40 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/73b330a22cf8b8696e133b9fe29a6b4def817ca4 [^]

Fixes issue 20077: now fetches the date from the transaction correctly.

---
M modules/org.openbravo.financial.paymentreport/src/org/openbravo/financial/paymentreport/erpCommon/ad_reports/PaymentReportDao.java
---
(0046784)
vmromanos   
2012-03-27 16:41   
code review + testing OK
(0047247)
hudsonbot   
2012-04-02 06:12   
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/7814864461ac [^]

Maturity status: Test