Getting Error when Using API AR_RECEIPT_API_PUB.APPLY_IN_DETAIL to Apply Receipt to Newly Created Invoice by Autoinvoice that Has UPGRADE_METHOD = R12_11ICASH (Doc ID 2137768.1)

Last updated on AUGUST 10, 2017

Applies to:

Oracle Receivables - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

When attempting to apply receipts to invoice, using the API AR_RECEIPT_API_PUB.Apply_In_Detail, the below error occurs.

Receipt Application Error:
ARP_PROCESS_DET_PKG.INITIALIZTION ORA-0000: normal, successful completion
APPLY : ORA-06502: PL/SQL: numeric or value error: character to number conversion error
ORA-06502: PL/SQL: numeric or value error: character to number conversion error in Package AR_RECEIPT_API_PUB Procedure Apply_In_Detail

The problem arises only when the upgrade_method in RA_CUSTOMER_TRX_ALL for the invoice used is R12_11ICASH

The invoice is a new invoice created by autoinvoice.


Steps to Reproduce:

The issue can be reproduced at will by creating a call to the API AR_RECEIPT_API_PUB.Apply_In_Detail
to apply receipt to an invoice that has R12_11ICASH as value in the RA_CUSTOMER_TRX_ALL.upgrade_method



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