Credit Card Refunds Failing With IBY_40000 (Doc ID 1309726.1)

Last updated on SEPTEMBER 02, 2016

Applies to:

Oracle Payments - Version 12.1.1 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.
Article checked for currency on 21-NOV-2013.

Symptoms

Find that Automatic Remittance request for credit card refund errors with IBY_40000.

iby.log shows the following error:

iby.database.DBWrapper.raiseDBException]:java.sql.SQLException: ORA-01403: no data found
ORA-06512: at "APPS.IBY_TRANSACTIONCC_PKG", line 885
ORA-06512: at line 1

at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:950)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1225)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3488)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3857)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
at oracle.apps.iby.payment.CreditCardPayment.insertTrxnResults(CreditCardPayment.java:1457)
at oracle.apps.iby.payment.proc.BatchCCPayment.areturn(BatchCCPayment.java:375)
at oracle.apps.iby.ecapp.PmtECApp.oraPmtReturn(PmtECApp.java:320)
at oracle.apps.iby.ecapp.PaymentServiceImpl.oraPmtReturn(PaymentServiceImpl.java:518)
at oracle.apps.iby.ecservlet.ReturnService.service(ReturnService.java:137)
at oracle.apps.iby.ecservlet.ECServlet.doPost(ECServlet.java:325)

 

Other possible error is:

EXCEPTION:[iby.database.DBWrapper.raiseDBException]:java.sql.SQLException: ORA-04063: package body "APPS.IBY_TRANSACTIONCC_PKG" has errors
ORA-06508: PL/SQL: could not find program unit being called: "APPS.IBY_TRANSACTIONCC_PKG"
ORA-06512: at line 1



### Steps to Reproduce ###
1. Apply a receipt to Credit Card Refund (this is a receipt created initially from a sales order that was processed and paid with a credit card, then a return order entered and processed referenced by the original sales order).

2. Run the Automatic Remittances Creation Program.

3. See that the error IBY_40000 is returned in the execution report and the receipt created from the Credit Card Refund is still in a confirmed status

### Recent Changes ###

Applied patches 9509812, 10052557, 11741690 and/or 11800457.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms