AR_INAPI_INVALID_REASON From AR_INVOICE_API_PUB.create_single_invoice

(Doc ID 1575698.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

You are attempting ot use the API AR_INVOICE_API_PUB.create_single_invoice to created an Invoice and Credit Memo type invoices.

It was expected that RETURN_REASON_CODE field should be validated from the lookup type 'CREDIT_MEMO_REASON,' but the API uses INVOICING_REASON lookup type.

The code in AR_INVOICE_UTILS package and procedure validate_more_tab causes this issue.
At line 4365 of AR_INVOICE_UTILS package body, code uses INVOICING_REASON lookup type.
The formal transactions form uses CREDIT_MEMO_REASON lookup type. The form shows a List of Values with the correct lookup type.

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