Creating Multiple Invoices with Sales Credits, Using the API AR_INVOICE_API_PUB.Create_Invoice, and it Fails - ORA-20001: APP-AR-11491: The Sales Credits for Line 1 Must Equal the Line Amount (Doc ID 1367883.1)

Last updated on JULY 12, 2017

Applies to:

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


Symptoms

AR_INVOICE_API_PUB.create_invoice API fails after R12 upgrade.

When passing multiple invoices with sales credits to the API ar_invoice_api_pub.create_invoice the following error message is received:

ORA-20001: APP-AR-11491: The sales credits for line 1 must equal the line amount (ERROR_AMOUNT=200

When the item is inserted, in a single way, the API is run successfully.

Changes

R12 upgrade

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