AR_INVOICE_API_PUB Cannot Create Transaction with Created Sales Credit Types

(Doc ID 2373402.1)

Last updated on MARCH 15, 2018

Applies to:

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

Symptoms

AR_INVOICE_API_PUB.create_single_invoice cannot create transaction with created Sales Credit Types.
Following errors occur in API.

 

Error Message and Error Text:
AR_INAPI_SCR_AMT_PERCENT_REQ : Either a revenue amount or percentage is required for the sales credits.
AR_INAPI_INVALID_PERCENT_SPLIT : Invalid percentage split.

 

 


This Sales Credit Type is that
 * User creates their Sales Credit Types
 * This Sales Credit Types checks Quota

STEPS TO REPRODUCE

  1. Create Sales Credit Types which has Quota
    Order Management Responsibility
      N -> Setup -> Sales -> Credit Types
      Create Sales Credit Types and check "Quota".
      Name : CREDIT_TYPE_Quota
      SALES_CREDIT_TYPE_ID :  1002

  2. Run AR_INVOICE_API_PUB.create_single_invoice with SALES_CREDIT_TYPE_ID = 1002.
    Following error occurs in API.

    FAILURE: Errors encountered, see list below:
    ----------------------------------------------------
    Header ID       = 101
    Line ID         = 401
    Sales Credit ID = 1
    Dist Id         =
    Contingency ID  =
    Message         = Either a revenue amount or percentage is required for the sales credits.
    Invalid Value   =
    ----------------------------------------------------
    ----------------------------------------------------
    Header ID       = 101
    Line ID         = 401
    Sales Credit ID = 1
    Dist Id         =
    Contingency ID  =
    Message         = Invalid percentage split.
    Invalid Value   =
    ----------------------------------------------------

Changes

 

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