My Oracle Support Banner

Jai_ap_dtc_prepayments_pkg.allocate_prepay_section :ORA-01001: Invalid Cursor (Doc ID 2129390.1)

Last updated on JUNE 07, 2021

Applies to:

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


 On : 12.2.4 version, Tax Deducted at Source-Payables
 When attempting to apply a prepayment on an invoice,
 the following error occurs.

 Encountered an error in JAI_AP_IDA_TRIGGER_DTC_PKG.BRIUD_DTC_T1 Error on
 ap_invoice_distributions_all : ORA-20007: Error - trigger
 ja_in_ap_aida_before_trg on ap_invoice_distributions_all :
 jai_ap_dtc_prepayments_pkg.allocate_prepay_section :ORA-01001: invalid cursor
 The issue can be reproduced at will with the following steps:
 1. Create prepayment with 3 ITEM lines.
  1. Line 1 ==> TDS applied.
  2. Line 2 ==> No TDS
  3. Line 3 ==> No TDS
 2. Validate the invoice and make the prepayment "Available"
 3. Create the Standard Invoice (1 ITEM & 2 MISC. lines)
  1. Line 1 ==> With TDS (Amount = PP line 1 amount)
  2. MISC 1 ==> No TDS (Amount = PP line 2 amount)
  3. MISC 2 ==> No TDS (Amount = PP line 3 amount)
 4. Validated the invoice
 5. Try applying the prepayment onto the validated standard invoice.
 6. Observed the above error and could not able to apply the prepayment.

 The issue has the following business impact:
 Due to this issue, users cannot apply the prepayment.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.