Generate Balance Forward Bills Completes with Error ORA-20000: ORA-01407: cannot update (AR.AR_PAYMENT_SCHEDULES_ALL.DUE_DATE) to NULL (Doc ID 2264439.1)

Last updated on MAY 12, 2017

Applies to:

Oracle Receivables - Version 12.1.1 to 12.2.6 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Symptoms

Attempting to run the Generate Balance Forward Bills program and it completes with the following error:

ORACLE error 20000 in FDPSTP
Cause: FDPSTP failed due to ORA-20000: ORA-20000: ORA-01407: cannot update ("AR"."AR_PAYMENT_SCHEDULES_ALL"."DUE_DATE") to NULL
ORA-06512: at "APPS.ARP_BF_BILL", line 3319
ORA-06512: at line 1'

 Below is the log message:

Start of log messages from FND_FILE
+---------------------------------------------------------------------------+
arp_bf_bill.Report1 (+)
arp_bf_bill.Report3(+)
And so it begins...
P_print_option : DRAFT
P_print_output : Y
P_billing_cycle_id : 10001
P_billing_date : XXXXX
P_currency : OMR
P_cust_name_low : XXXXXXXX
P_cust_name_high : XXXXXXXX
P_cust_num_low :
P_cust_num_high :
P_bill_site_low :
P_bill_site_high :
P_term_id :
P_print_status : PENDING
P_future_bill_date : N

........Loop C_inv_trx for site = XXXX
.........trx_id :1005
.........trx_date :XXXX
.........trx_number :XXXX
.........class :INV
.........term_id :1012
.........billing_date :30-APR-17
............override_terms = Y, term_id is different
...............OVERRIDE TERM ID
EXCEPTION: generate:
P_print_option : DRAFT
P_print_output : Y
P_billing_cycle_id : XXXX
P_billing_date : XXXX
P_currency : XXX
P_cust_num_low :
P_cust_num_high :
P_bill_site_low :
P_bill_site_high :
P_term_id :
P_print_status : PENDING
Exception: arp_bf_bill.Report3 :ORA-01407: cannot update ("AR"."AR_PAYMENT_SCHEDULES_ALL"."DUE_DATE") to NULL
Exception:arp_bf_bill.Report1:ORA-20000: ORA-01407: cannot update ("AR"."AR_PAYMENT_SCHEDULES_ALL"."DUE_DATE") to NULL

 Steps to Reproduce:

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

1. Responsibility: Receivables Manager
2. Navigation: View > Request >Submit New Request
3. Run the Request "Generate Balance Forward Bills"

 

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