My Oracle Support Banner

Post-Install Task for Patch 23044006 - ERROR At Line 2: ORA-01702: A View Is Not Appropriate Here (Doc ID 2365112.1)

Last updated on JANUARY 03, 2023

Applies to:

Oracle Advanced Collections - Version 12.1 and later
Information in this document applies to any platform.

Symptoms

Post-install tasks for patch 23044006:R12.IEX.C is giving below error message when creating an index:

SQL> create index IN_AR_PAYMENT_SCH_CUST_DIS on
AR_PAYMENT_SCHEDULES_ALL(CUSTOMER_ID, AMOUNT_IN_DISPUTE,
INVOICE_CURRENCY_CODE, RECEIPT_CONFIRMED_FLAG);

ERROR at line 2: ORA-01702: a view is not appropriate here

Changes

 Patch applied. Needs to follow following Post-install Tasks ,mentioned in readme of the patch 

Collections Custom Index Details [recommended]
These Custom Indexes are needed only when Advanced Collections module is used. Customer needs to create one of the custom indexes based on their business level if Aging tab in Collections Form takes time to load data.

a) If Collections Business level is: "Account", then create the following custom index:
create index IN_AR_PAYMENT_SCH_CUST_DIS on
AR_PAYMENT_SCHEDULES_ALL(CUSTOMER_ID, AMOUNT_IN_DISPUTE,
INVOICE_CURRENCY_CODE, RECEIPT_CONFIRMED_FLAG);
ANALYZE index IN_AR_PAYMENT_SCH_CUST_DIS COMPUTE STATISTICS;
ANALYZE index IN_AR_PAYMENT_SCH_CUST_DIS ESTIMATE STATISTICS;

b) If Collections business level is: "Bill To", then create the following custom index:
create index IN_AR_PAYMENT_SCH_SITE_DIS on
AR_PAYMENT_SCHEDULES_ALL(CUSTOMER_SITE_USE_ID,AMOUNT_IN_DISPUTE,
INVOICE_CURRENCY_CODE, RECEIPT_CONFIRMED_FLAG);
ANALYZE index IN_AR_PAYMENT_SCH_SITE_DIS COMPUTE STATISTICS;
ANALYZE index IN_AR_PAYMENT_SCH_SITE_DIS ESTIMATE STATISTICS;

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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