My Oracle Support Banner

Pyfkmisc.sql Fails with ORA-02298: Cannot Validate (HR.PAY_MONITOR_BAL_RETRIEVALS_FK2) - Parent Keys not found (Doc ID 2751485.1)

Last updated on NOVEMBER 12, 2023

Applies to:

Oracle Payroll - Version 12.2 and later
Information in this document applies to any platform.

Symptoms

Problem Statement:

Patch fails loading pyfkmisc.sql with the following error.

sqlplus -s APPS/***** @/.../fs1/EBSapps/appl/ad/12.0.0/patch/115/sql/adsqlwrapper.sql '/.../fs1/EBSapps/appl/pay/12.0.0/patch/115/sql/pyfkmisc.sql &un_per &pw_per &index_tspace'
Connected.

PL/SQL procedure successfully completed.

declare
*
ERROR at line 1:
ORA-02298: cannot validate (HR.PAY_MONITOR_BAL_RETRIEVALS_FK2) - parent keys
not found
ORA-06512: at "SYS.DBMS_SQL", line 1120
ORA-06512: at line 76

 

 

Steps to Reproduce:

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

  1.  Apply patch (e.g. 12.2.10 driver)
  2.  Worker job fails loading pyfkmisc.sql.

 

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
Cause
Solution


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