AR Invoice API fails with AR_TRX_BULK_PROCESS_DIST.INSER_ROW ORA-00001: unique constraint (AR.RA_CUST_TRX_LINE_GL_DIST_U1) violated error (Doc ID 1352548.1)

Last updated on AUGUST 24, 2016

Applies to:

Oracle Receivables - Version: 11.5.10.2 and later   [Release: 11.5.10 and later ]
Information in this document applies to any platform.
Rel 11.5.10.2
11i.AR.N
ARXVINTB.pls
ARXPINVB.pls
ARTICTLB.pls

Symptoms


On : 11.5.10.2 version, Transactions Related

When Invoice API (AR_INVOICE_API_PUB.create_single_invoice) is used to create an invoice transaction, and tax distributions are being passed, the API fails with the following error:

Error in AR_TRX_BULK_PROCESS_DIST.INSER_ROW ORA-00001: unique constraint (AR.RA_CUST_TRX_LINE_GL_DIST_U1) violated~

The issue happens only if you explicitly pass accounting distributions for your invoice tax line and do not use auto accounting to derive the accounting.

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