AR_INAPI_INVALID_REASON From AR_INVOICE_API_PUB.create_single_invoice
Last updated on JUNE 12, 2018
Applies to:Oracle Receivables - Version 12.1.2 and later
Information in this document applies to any platform.
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms