Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032203Openbravo ERP09. Financial managementpublic2016-02-11 12:582016-03-17 10:56
psanjuan 
vmromanos 
urgentmajoralways
closedfixed 
20Professional Appliance
 
3.0PR16Q2 
aferraz
Core
Pre packaging ( pi )
2015-12-01
pi
https://code.openbravo.com/erp/devel/pi/rev/217fb3a426febf71995fa1394dac159afa49b44f#l2.7 [^]
No
0032203: Not possible to post a remittance as well as the settlement of that remittance.
Not possible to post a remittance as well as the settlement of that remittance.
In pi, install remittance infrastructure module 16Q2 branch.

Create a remittance of any type, select some invoices and process.

Try to post the remittance.

A Java Lang Null Pointer exception is shown. See files attached.

Same applies in the case of posting remittance settlement.

Remittance Protest Post works OK:
It should be possible to post a remittance as well as all remittance steps without any problem.
No tags attached.
caused by defect 0031580 closed vmromanos Java Heap Space error when posting payment with huge amount of details 
related to defect 0033508 closed markmm82 Cannot post a Cash VAT payment that pays more than one invoice, Process failed during execution error is shown 
related to defect 0033688 closed rqueralta Cannot post a financial account transaction if the invoice is partially paid by using credit 
png Issue31419_JavaLang_1.png (117,123) 2016-02-11 12:59
https://issues.openbravo.com/file_download.php?file_id=9051&type=bug
png

png Issue31419_JavaLang_2.png (274,275) 2016-02-11 12:59
https://issues.openbravo.com/file_download.php?file_id=9052&type=bug
Issue History
2016-02-11 12:58psanjuanNew Issue
2016-02-11 12:58psanjuanAssigned To => Triage Finance
2016-02-11 12:58psanjuanModules => Core
2016-02-11 12:58psanjuanRegression level => Coding ( Testing )
2016-02-11 12:58psanjuanTriggers an Emergency Pack => No
2016-02-11 12:59psanjuanFile Added: Issue31419_JavaLang_1.png
2016-02-11 12:59psanjuanFile Added: Issue31419_JavaLang_2.png
2016-02-11 13:04vmromanosReview Assigned To => aferraz
2016-02-11 13:04vmromanosRegression levelCoding ( Testing ) => Pre packaging ( pi )
2016-02-11 13:04vmromanosRegression date => 2015-12-01
2016-02-11 13:04vmromanosRegression introduced in release => pi
2016-02-11 13:04vmromanosRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/217fb3a426febf71995fa1394dac159afa49b44f#l2.7 [^]
2016-02-11 13:04vmromanosAssigned ToTriage Finance => vmromanos
2016-02-11 13:05vmromanosStatusnew => scheduled
2016-02-11 13:07vmromanosRelationship addedcaused by 0031580
2016-02-11 16:32vmromanosNote Added: 0084114
2016-02-11 16:33vmromanosNote Edited: 0084114bug_revision_view_page.php?bugnote_id=0084114#r11079
2016-02-11 17:11hgbotCheckin
2016-02-11 17:11hgbotNote Added: 0084124
2016-02-11 17:11hgbotStatusscheduled => resolved
2016-02-11 17:11hgbotResolutionopen => fixed
2016-02-11 17:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5cca1c6b5780268e71104a6352ffb9c99bf1a782 [^]
2016-02-11 17:11aferrazNote Added: 0084125
2016-02-11 17:11aferrazStatusresolved => closed
2016-02-11 17:11aferrazFixed in Version => 3.0PR16Q2
2016-03-17 10:56hudsonbotCheckin
2016-03-17 10:56hudsonbotNote Added: 0085130
2016-07-26 12:15aferrazRelationship addedrelated to 0033508
2016-08-12 11:42aferrazRelationship addedrelated to 0033688

Notes
(0084114)
vmromanos   
2016-02-11 16:32   
(edited on: 2016-02-11 16:33)
Test plan:

In a recent PI, install any version of the Remittance module

Create a remittance of any type, select some invoices and process.
Try to post the remittance.
Verify you can post it successfully.

(0084124)
hgbot   
2016-02-11 17:11   
Repository: erp/devel/pi
Changeset: 5cca1c6b5780268e71104a6352ffb9c99bf1a782
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Thu Feb 11 16:31:20 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5cca1c6b5780268e71104a6352ffb9c99bf1a782 [^]

Fixed bug 32203: Not possible to post a remittance and the settlement of that remittance

The way to retrieve the payment detail object was wrong. Instead we can take it directly from the paymentDetails list

---
M src/org/openbravo/erpCommon/ad_forms/AcctServer.java
---
(0084125)
aferraz   
2016-02-11 17:11   
Code review OK
(0085130)
hudsonbot   
2016-03-17 10:56   
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/b22fb0500156 [^]
Maturity status: Test