My Oracle Support Banner

ORA-01400: cannot insert NULL into ("AP"."AP_INVOICE_DISTRIBUTIONS_ALL"."ACCOUNTING_DATE") (Doc ID 1999039.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Financials for India - Version 12.1.3 and later
Information in this document applies to any platform.


On : 12.1.3 version, India AP Localizations

When attempting to match an invoice to a receipt,
the following error occurs.

FND Debug log file shows:
JAI.PLSQL.jai_ap_match_tax_proc_pkg.insert_ap_inv_dist().BEGIN 2 jai_ap_match_tax_proc_pkg: insert_ap_inv_dist()()+
JAI.PLSQL.jai_ap_match_tax_proc_pkg.insert_ap_inv_dist() 2 invoice line num: 5
JAI.PLSQL.jai_ap_match_tax_proc_pkg.insert_ap_inv_dist() 6 ORA-01400: cannot insert NULL into ("AP"."AP_INVOICE_DISTRIBUTIONS_ALL"."ACCOUNTING_DATE")
JAI.PLSQL.jai_ap_match_tax_proc_pkg.populate_tax_to_ap 6 ORA-20001:
JAI.PLSQL.jai_ap_match_tax_proc_pkg.copy_tax_from_po_rcv 6 ORA-20001:

The issue can be reproduced at will with the following steps:

1. Responsibility: Oracle Payables - India localization

2. Path: Invoices -> Entry -> Invoices
3. Create an invoice and save.
4. Match a receipt to the invoice (Before, Created a PO then receipt against that PO)

The invoice distributions were not created.

The issue can be reproduced for new invoices.
Tried cancelling the invoice and creating a new one, same issue.
There is no workaround.

The distribution should be populated first to validate the invoice.

The issue has the following business impact:
Due to this issue, users cannot see the invoice distribution lines created.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.