AR_INVOICE_API_PUB.create_single_invoice Fails When Require Salesperson System Option Is Selected (Doc ID 2139319.1)

Last updated on JULY 28, 2017

Applies to:

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

Symptoms

 The AR_INVOICE_API_PUB.create_single_invoice fails when Require Salesperson System Option is selected and primary_salesrep_id parameter is not provided.

The returned error message is:
"A primary salesperson is required when the Require Salesperson system option is"

It should be derived based on bill-to_customer_id and bill_to_site_use_id.

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