Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0035705 | Openbravo ERP | Z. Others | public | 2017-04-05 17:04 | 2017-05-29 17:43 | ||||||||||||||
Reporter | ngarcia | ||||||||||||||||||
Assigned To | AtulOpenbravo | ||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | 3.0PR17Q3 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | aferraz | ||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0035705: Cannot use any available credit if it is a payment for same bp that generated credit and payment method removed from fin account | ||||||||||||||||||
Description | Cannot use any available credit if it is a payment for same bp that generated credit and payment method removed from fin account aprm_seqnumberpaymentstatus database function is called with a null value and returns "N". In FIN_Utility.seqnumberpaymentstatus function tries to convert that value to Integer | ||||||||||||||||||
Steps To Reproduce | As group admin role: Create two Payment In in which credit is generated: 1 Business Partner: Hoteles Buenas Noches, S.A. Payment Method: Transferencia Deposit To: Cuenta de Banco - EUR 2 Business Partner: Hoteles Buenas Noches, S.A. Payment Method: Cheque Deposit To: Cuenta de Banco - EUR Remove Cheque Payment Method from Cuenta de Banco Financial Account Create a new Payment In Business Partner: Hoteles Buenas Noches, S.A. Payment Method: Transferencia Deposit To: Cuenta de Banco - EUR Check when adding details that credit is not available The log shows: ERROR org.openbravo.advpaymentmngt.filterexpression.AddPaymentDefaultValuesExpression - Error trying to get default value of customer_credit For input string: "N" java.lang.NumberFormatException: For input string: "N" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:492) at java.lang.Integer.parseInt(Integer.java:527) at org.openbravo.advpaymentmngt.utility.FIN_Utility.seqnumberpaymentstatus(FIN_Utility.java:1520) at org.openbravo.advpaymentmngt.dao.AdvPaymentMngtDao.getCustomerPaymentsWithCredit(AdvPaymentMngtDao.java:2012) at org.openbravo.advpaymentmngt.dao.AdvPaymentMngtDao.getCustomerCredit(AdvPaymentMngtDao.java:1937) at org.openbravo.advpaymentmngt.dao.AdvPaymentMngtDao.getCustomerCredit(AdvPaymentMngtDao.java:1931) at org.openbravo.advpaymentmngt.filterexpression.AddPaymentDefaultValuesHandler.getDefaultCustomerCredit(AddPaymentDefaultValuesHandler.java:231) at org.openbravo.advpaymentmngt.filterexpression.PaymentInAddPaymentDefaultValues$Proxy$_$$_WeldClientProxy.getDefaultCustomerCredit(PaymentInAddPaymentDefaultValues$Proxy$_$$_WeldClientProxy.java) | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2017-04-05 17:04 | ngarcia | New Issue | |||||||||||||||||
2017-04-05 17:04 | ngarcia | Assigned To | => Triage Finance | ||||||||||||||||
2017-04-05 17:04 | ngarcia | Modules | => Core | ||||||||||||||||
2017-04-05 17:04 | ngarcia | Resolution time | => 1493157600 | ||||||||||||||||
2017-04-05 17:04 | ngarcia | Triggers an Emergency Pack | => No | ||||||||||||||||
2017-04-05 17:04 | ngarcia | Relationship added | related to 0032362 | ||||||||||||||||
2017-04-05 17:04 | ngarcia | Issue Monitored: networkb | |||||||||||||||||
2017-04-10 17:40 | aferraz | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=14991#r14991 | ||||||||||||||||
2017-04-10 18:23 | aferraz | Relationship replaced | has duplicate 0032362 | ||||||||||||||||
2017-04-10 18:23 | aferraz | Assigned To | Triage Finance => AtulOpenbravo | ||||||||||||||||
2017-04-10 18:31 | aferraz | Relationship added | related to 0021960 | ||||||||||||||||
2017-04-11 10:44 | AtulOpenbravo | Status | new => scheduled | ||||||||||||||||
2017-04-11 21:38 | AtulOpenbravo | Note Added: 0095992 | |||||||||||||||||
2017-04-11 21:40 | AtulOpenbravo | Note Edited: 0095992 | bug_revision_view_page.php?bugnote_id=0095992#r14999 | ||||||||||||||||
2017-04-11 21:43 | AtulOpenbravo | Note Added: 0095993 | |||||||||||||||||
2017-04-27 21:06 | hgbot | Checkin | |||||||||||||||||
2017-04-27 21:06 | hgbot | Note Added: 0096242 | |||||||||||||||||
2017-04-27 21:06 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2017-04-27 21:06 | hgbot | Resolution | open => fixed | ||||||||||||||||
2017-04-27 21:06 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/09736ab499bbc9b06d0736c45aa549fc0c331ba4 [^] | ||||||||||||||||
2017-04-27 21:06 | hgbot | Checkin | |||||||||||||||||
2017-04-27 21:06 | hgbot | Note Added: 0096243 | |||||||||||||||||
2017-04-27 21:23 | aferraz | Relationship deleted | has duplicate 0032362 | ||||||||||||||||
2017-04-27 21:23 | aferraz | Relationship added | related to 0032362 | ||||||||||||||||
2017-04-27 21:24 | aferraz | Review Assigned To | => aferraz | ||||||||||||||||
2017-04-27 21:24 | aferraz | Note Added: 0096245 | |||||||||||||||||
2017-04-27 21:24 | aferraz | Status | resolved => closed | ||||||||||||||||
2017-04-27 21:24 | aferraz | Fixed in Version | => 3.0PR17Q3 | ||||||||||||||||
2017-05-29 17:43 | hudsonbot | Checkin | |||||||||||||||||
2017-05-29 17:43 | hudsonbot | Note Added: 0096914 | |||||||||||||||||
2017-05-29 17:43 | hudsonbot | Checkin | |||||||||||||||||
2017-05-29 17:43 | hudsonbot | Note Added: 0096915 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|