Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019803Openbravo ERPZ. Otherspublic2012-02-17 13:132012-04-01 20:39
maite 
jecharri 
urgentmajoralways
closedfixed 
5
 
3.0MP10 
Advanced Payables and Receivables Mngmt
No
0019803: Payment that has not FINANCIALTRANSACTIONAMOUNT does not appear in AddTransactions grid
Payment that has not FINANCIALTRANSACTIONAMOUNT does not appear in AddTransactions grid
1. Configure Payment Method with OUT part as: automatic, Simple Process associated and deferred. Not automatic withdrawn
2. Set this payment method and financial account as default FA and PM for any Business Partner
3. Follow http://wiki.openbravo.com/wiki/ERP_2.50:Configuration_Manual/Tax_Payment [^] guide and generate payment for that business partner. Final payment will be created in Awaiting Execution status
4. Execute Payment and it will be left in Payment Received status
5. Go to associated Fianncial Account and press "Add Transactions" button.
Realize that our payment does not appear in default grid

Problem is that this payment has field finacc_txn_amount null, so getPaymentsNotDeposited method (located in AdvPaymentMngtDao.java) is throwing NullPointerException when trying to execute "getFinancialTransactionAmount" in line 959
No tags attached.
Issue History
2012-02-17 13:13maiteNew Issue
2012-02-17 13:13maiteAssigned To => vmromanos
2012-02-17 13:13maiteModules => Advanced Payables and Receivables Mngmt
2012-02-17 13:13maiteIssue Monitored: networkb
2012-02-23 17:38jonalegriaesarteAssigned Tovmromanos => jecharri
2012-02-28 16:24maiteSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3211#r3211
2012-02-29 17:18jonalegriaesarteTarget Version3.0MP9 => 3.0MP10
2012-03-08 15:39hgbotCheckin
2012-03-08 15:39hgbotNote Added: 0046200
2012-03-08 15:39hgbotStatusnew => resolved
2012-03-08 15:39hgbotResolutionopen => fixed
2012-03-08 15:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2300b8c91904d70c498ef8b127fef9b9c9d4c855 [^]
2012-03-08 15:45jecharriNote Added: 0046201
2012-03-12 17:28maiteNote Added: 0046286
2012-03-12 17:28maiteStatusresolved => closed
2012-04-01 20:39hudsonbotCheckin
2012-04-01 20:39hudsonbotNote Added: 0047073

Notes
(0046200)
hgbot   
2012-03-08 15:39   
Repository: erp/devel/pi
Changeset: 2300b8c91904d70c498ef8b127fef9b9c9d4c855
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Mar 08 15:37:19 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/2300b8c91904d70c498ef8b127fef9b9c9d4c855 [^]

Fixes issue 19803: Payment that has not
FINANCIALTRANSACTIONAMOUNT does not appear in AddTransactions grid

---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_TAX_PAYMENT.xml
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml
---
(0046201)
jecharri   
2012-03-08 15:45   
Test cases:
-verify the case that it is reported.
-do the same but put in tax payment different currency and and process:
 -if you don't have configured the payment method of the related financial account allowing multicurrency it must be appear an error message.
 -if you have configured the payment method of the related financial account allowing multicurrency it must to work all properly.

-Review that message appear correctly to sales and purchase taxes.
(0046286)
maite   
2012-03-12 17:28   
verified
(0047073)
hudsonbot   
2012-04-01 20:39   
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/640de9acc2d5 [^]

Maturity status: Test