AR Invoice API CREATE_SINGLE_INVOICE and CREATE_INVOICE in same session (Doc ID 2010073.1)

Last updated on JULY 24, 2017

Applies to:

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

Symptoms

By calling AR_INVOICE_API_PUB.CREATE_INVOICE, in the same session after the procedure AR_INVOICE_API_PUB.CREATE_SINGLE_INVOICE, it creates transactions but whithout any reference to the bach as if they were called through AR_INVOICE_API_PUB.CREATE_SINGLE_INVOICE instead of AR_INVOICE_API_PUB.CREATE_INVOICE.

CUSTOMER_TRX_ID TRX_NUMBER BATCH_ID BATCH_SOURCE_ID

> for single invoice
231080 1111111111 NULL 1001

> for batch invoice
231081 2222222222 NULL 1010
231082 3333333333 NULL 1010
231083 4444444444 NULL 1010

Bellow are the results after running AR_INVOICE_API_PUB.CREATE_INVOICE :

l_return_status = S
l_batch_id =
l_cnt = 0

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