Transactions Workbench: Query on a Completed Credit Memo Error - FRM-40350 Query Caused No Records to be Retrieved ORA-01400: On ARP_MAINTAIN_PS.maintain_payment_schedules (Doc ID 1665989.1)

Last updated on AUGUST 25, 2017

Applies to:

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

Symptoms

On : 12.1.2 version, Transactions Related

Attempting to query a completed Credit Memo and receive the following error:

Error
FRM-40350 Query caused no records to be retrieved

Steps to Reproduce:
Responsibility
Receivables
Navigation: Transactions > Transactions

You found that some of the Credit Memos are missing records in the AR_PAYMENT_SCHEDULES_ALL table.

You are using the script from Oracle, to recreate missing payment schedule, and it does work for most Credit Memos, but not for all.
When attempting to run the recreate script, for these Credit Memos, you receive the following error:

Error
ORA-01400 can not insert null in ("AR""AR_PAYMENT_SCHEDULES_ALL" "DUE_DATE")

or

Error
ORA-01400: On ARP_MAINTAIN_PS.maintain_payment_schedules

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