Project:
View Revisions: Issue #35705 | [ Back to Issue ] | ||
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 | ||
Revision | 2017-04-10 17:40 by aferraz | ||
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) |
||
Revision | 2017-04-05 17:04 by aferraz | ||
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 Method 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) |
Copyright © 2000 - 2009 MantisBT Group |