Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017509Openbravo ERP09. Financial managementpublic2011-06-06 13:342011-06-07 16:18
psanjuan 
mirurita 
urgentmajoralways
closedfixed 
20Ubuntu 8.04.1
pi 
3.0MP03.0MP0 
Advanced Payables and Receivables Mngmt
No
0017509: Multicurrency - A Java lang null pointer exception shown while trying to add a payment in a Purchase Invoice
A Java lang null pointer exception shown while trying to add a payment in a Purchase Invoice, in the case the Method of Payment used is not properly setup for multicurrency.

the system should provide an error letting the end-user know that the method of payment does not allow making payments in other currencies, therefore proper setup is required to be done.
No tags attached.
Issue History
2011-06-06 13:34psanjuanNew Issue
2011-06-06 13:34psanjuanAssigned To => dalsasua
2011-06-06 13:34psanjuanModules => Core
2011-06-06 13:36psanjuanModulesCore => Advanced Payables and Receivables Mngmt
2011-06-06 13:36psanjuanAssigned Todalsasua => mirurita
2011-06-06 13:36psanjuanSummaryA Java lang null pointer exception shown while trying to add a payment in a Purchase Invoice => Multicurrency - A Java lang null pointer exception shown while trying to add a payment in a Purchase Invoice
2011-06-06 13:43psanjuanversion => pi
2011-06-06 13:43psanjuanFixed in Version => 3.0MP0
2011-06-06 14:04psanjuanTarget Version => 3.0MP0
2011-06-06 18:08hgbotCheckin
2011-06-06 18:08hgbotNote Added: 0038063
2011-06-06 18:08hgbotStatusnew => resolved
2011-06-06 18:08hgbotResolutionopen => fixed
2011-06-06 18:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ceef77b5638242f387ff6e57c579b61849e2789f [^]
2011-06-07 12:05psanjuanNote Added: 0038102
2011-06-07 16:18psanjuanNote Added: 0038137
2011-06-07 16:18psanjuanStatusresolved => closed

Notes
(0038063)
hgbot   
2011-06-06 18:08   
Repository: erp/devel/pi
Changeset: ceef77b5638242f387ff6e57c579b61849e2789f
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Mon Jun 06 18:07:05 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ceef77b5638242f387ff6e57c579b61849e2789f [^]

[APRM Multicurrency] Fixes issue 17509, Fixes issue 17512, Fixes issue 17510
Multicurrency - A Java lang null pointer exception shown while trying to add a payment in a Purchase Invoice
Multicurrency - Payment created in EUR while the invoice and the payment is in USD
Multicurrency - A Java lang null pointer exception show in the case there is no Financial Account assigned to a vendor

---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddOrderOrInvoice.html
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromTransaction.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_AddPayment.java
M src-db/database/model/tables/FIN_PAYMENT.xml
M src/org/openbravo/erpCommon/ad_callouts/SE_Payment_AmountOrConvertRate.java
M src/org/openbravo/erpCommon/ad_callouts/SE_Payment_FinAccTransactionAmount.java
---
(0038102)
psanjuan   
2011-06-07 12:05   
A warning must be shown letting the end-user know that there is no financial account with a method of payment setup properly for multicurrency.
(0038137)
psanjuan   
2011-06-07 16:18   
fixed and working