R12: Create Accounting Process. ORA-01400 XLA_AP_ACCT_HOOKS_PKG.MAIN.. Error Message (Doc ID 960083.1)

Last updated on SEPTEMBER 06, 2016

Applies to:

Oracle Payables - Version 12.0.1 and later
Information in this document applies to any platform.
XLAACCUP module: Accounting Program


Symptoms

Cannot create accounting for one of the payment batches. Accounting program finishes with error and Create Accounting Program finishes with warning.
The following information is displayed in the log file:
   ---------
   Internal problem in xla_ap_acct_hooks_pkg.main program.
   XLA-95103: An internal error occurred. Please inform your system administrator or support representative that:
   An internal error has occurred in the program xla_ap_acct_hooks_pkg.main.
   Technical problem : Error encountered in product API for extract"

   "Technical problem : Error encountered in product API for extract
    ORA-01400: cannot insert NULL into
    (""AP"".""AP_PAYMENT_HIST_DISTS"".""PAYMENT_HISTORY_ID"") occurred in
    AP_ACCTG_PAY_DIST_PKG.Pay_Dist_Insert<-
    AP_ACCTG_PAY_DIST_PKG.Pay_Dist_Proc<-
    AP_Acctg_Pay_Dist_Pkg.Primary_Pay_Events<-
    AP_Accounting_Pay_Pkg.Do_Pay_Accounting<- AP_SLA_PROCESSING_PKG.EXTRACT
    with parameters (&PARAMETERS)
    while performing the following operation:
    &DEBUG_INFO"
    ---------
    
Accounting status of all these Payments is Unprocessed. Online Accounting cannot be used with these Payments either as it gives error too:
  "Online accounting could not be created for this transaction. Please inform your system
   administrator that the Create Accounting program has encountered an internal error."

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