Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037090 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Z. Others | major | always | 2017-10-17 18:09 | 2018-01-03 12:38 | |||
Reporter | maite | View Status | public | |||||
Assigned To | AtulOpenbravo | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR18Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 8071a84ccfe2 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | dmiguelez | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Advanced Payables and Receivables Mngmt | |||||||
Support ticket | 48958 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037090: Error when processing payment generating credit and business partner has no currency defined | |||||||
Description | Only "Error" red message is shown to end-user. But according with NullPointerException error shown in openbravo.log problem is related with business partner currency | |||||||
Steps To Reproduce | 0. Create new Business Partner, define it as "vendor": fill Payment Method, Payment Terms and Financial Account fields but left Price List field empty (so business partner currency is not initialized) 1. Create new Payment Out document for previous vendor. Set any "Generated credit" amount and run "Add details". Try to process payment and error will be reised | |||||||
Proposed Solution | Error is in: ERROR org.openbravo.advpaymentmngt.actionHandler.AddPaymentOnProcessActionHandler - java.lang.NullPointerException at org.openbravo.advpaymentmngt.actionHandler.AddPaymentOnProcessActionHandler.execute(AddPaymentOnProcessActionHandler.java:75) NullPointerException should be controlled to raise proper error "'Please initialize # business partner currency before processing the document.'" (value 'InitBPCurrencyLnk') | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0099973) AtulOpenbravo (viewer) 2017-10-20 08:37 |
- Login as F&B International Group Admin - Create new Business Partner, define it as "vendor": fill Payment Method, Payment Terms and Financial Account fields but left Price List field empty (so business partner currency is not initialized) - Create new Payment Out document for previous vendor. Set any "Generated credit" amount and run "Add details". - Try to process payment and error will be raised as "Error Please initialize <Name of business partner> business partner currency before processing the document." |
(0100120) hgbot (developer) 2017-10-27 14:01 |
Repository: erp/devel/pi Changeset: 8071a84ccfe201e382955678d7a1c04976f0cfa0 Author: Atul Gaware <atul.gaware <at> openbravo.com> Date: Fri Oct 20 11:58:31 2017 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/8071a84ccfe201e382955678d7a1c04976f0cfa0 [^] Fixes Issue 37090: Error when processing payment generating credit and business partner has no currency defined Before APRM_CreditCurrency check in AddPaymentOnProcessActionHandler, check whether currency of business partner is null and raise InitBPCurrencyLnk error message --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddPaymentOnProcessActionHandler.java --- |
(0100121) dmiguelez (viewer) 2017-10-27 14:02 |
Code Review + Testing Ok |
(0101351) hudsonbot (viewer) 2018-01-03 12:38 |
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/c81e0d3cbab5 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2017-10-17 18:09 | maite | New Issue | |
2017-10-17 18:09 | maite | Assigned To | => Triage Finance |
2017-10-17 18:09 | maite | OBNetwork customer | => Yes |
2017-10-17 18:09 | maite | Modules | => Advanced Payables and Receivables Mngmt |
2017-10-17 18:09 | maite | Support ticket | => 48958 |
2017-10-17 18:09 | maite | Resolution time | => 1510009200 |
2017-10-17 18:09 | maite | Triggers an Emergency Pack | => No |
2017-10-17 18:13 | maite | Proposed Solution updated | |
2017-10-17 18:18 | maite | Relationship added | related to 0028077 |
2017-10-17 18:46 | Practics | Issue Monitored: Practics | |
2017-10-18 11:04 | vmromanos | Assigned To | Triage Finance => AtulOpenbravo |
2017-10-20 08:37 | AtulOpenbravo | Status | new => scheduled |
2017-10-20 08:37 | AtulOpenbravo | Note Added: 0099973 | |
2017-10-27 14:01 | hgbot | Checkin | |
2017-10-27 14:01 | hgbot | Note Added: 0100120 | |
2017-10-27 14:01 | hgbot | Status | scheduled => resolved |
2017-10-27 14:01 | hgbot | Resolution | open => fixed |
2017-10-27 14:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8071a84ccfe201e382955678d7a1c04976f0cfa0 [^] |
2017-10-27 14:02 | dmiguelez | Review Assigned To | => dmiguelez |
2017-10-27 14:02 | dmiguelez | Note Added: 0100121 | |
2017-10-27 14:02 | dmiguelez | Status | resolved => closed |
2017-10-31 18:18 | dmiguelez | Fixed in Version | => 3.0PR18Q1 |
2018-01-03 12:38 | hudsonbot | Checkin | |
2018-01-03 12:38 | hudsonbot | Note Added: 0101351 |
Copyright © 2000 - 2009 MantisBT Group |