Openbravo Issue Tracking System - Modules
View Issue Details
0023335ModulesRemittancepublic2013-03-19 09:422013-03-19 16:36
VictorVillar 
naiaramartinez 
immediatemajoralways
closedfixed 
5
 
 
VictorVillar
0023335: NPE when Protest Remittance Lines
It is not possible to Protest Remittance Lines, because there is a new column called 'isorig' that is null for pending Remittances before installing this module.

PaymentEventHandler - onUpdate:

NPE when you get the state --> 'isorig'
String newStatus = ((String) event.getCurrentState(finPaymentStateProperty));
Have installed a module before the last version 3.1.2,
Configure a Remittance for Discount [1]
[1] http://wiki.openbravo.com/wiki/Projects:Remittances/Configuration_Manual#Remittance_for_Discount [^]

Create a new Remittance
Add Invoices
Process it

Go to Settle/Protest Remittances window
  Protest one of the lines
An error appears, without message.
Checking the log shows a NPE

No tags attached.
Issue History
2013-03-19 09:42VictorVillarNew Issue
2013-03-19 09:42VictorVillarAssigned To => eduardo_Argal
2013-03-19 09:42VictorVillarIssue Monitored: networkb
2013-03-19 10:49VictorVillarAssigned Toeduardo_Argal => naiaramartinez
2013-03-19 11:17naiaramartinezStatusnew => scheduled
2013-03-19 11:17naiaramartinezfix_in_branch => pi
2013-03-19 12:02hgbotCheckin
2013-03-19 12:02hgbotNote Added: 0057306
2013-03-19 12:02hgbotStatusscheduled => resolved
2013-03-19 12:02hgbotResolutionopen => fixed
2013-03-19 12:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/3c77be20963b1c47c75b75014792e6e4283011aa [^]
2013-03-19 16:36VictorVillarReview Assigned To => VictorVillar
2013-03-19 16:36VictorVillarNote Added: 0057312
2013-03-19 16:36VictorVillarStatusresolved => closed

Notes
(0057306)
hgbot   
2013-03-19 12:02   
Repository: erp/mods/org.openbravo.module.remittance
Changeset: 3c77be20963b1c47c75b75014792e6e4283011aa
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Tue Mar 19 10:53:17 2013 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/3c77be20963b1c47c75b75014792e6e4283011aa [^]

fixed bug 23335: NPE when Protest Remittance Lines

---
M src/org/openbravo/module/remittance/ad_forms/CancelReturnRemittance.java
M src/org/openbravo/module/remittance/event/PaymentEventHandler.java
---
(0057312)
VictorVillar   
2013-03-19 16:36   
Verified