My Oracle Support Banner

In Self Service Absence Page, When Trying To Launch "Entitlement Balances" Tab, Error "ORA-20001: An error has occurred in a user defined function" Is Thrown For Some Users (Doc ID 3006676.1)

Last updated on FEBRUARY 26, 2024

Applies to:

Oracle Self-Service Human Resources - Version 12.2 HRMS RUP15 and later
Information in this document applies to any platform.

Symptoms

In Self Service Leave of Absence Page, When trying to launch the "Entitlement Balances" tab, following error and subsequent exception log appears

ERROR
-----------------------

You have encountered an unexpected error. Please contact the System Administrator for assistance.
Click here for exception details.

EXCEPTION LOG:
-------------------------------

Exception Details.
 oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-20001: An error has occurred in a user defined function at line 454 of the formula EHC_PTO_PAYROLL_BALANCE_CALCULATION. The error text associated with the
function call is: ORA-1858 occurred at line 106 of formula EHC_PTO_PAYROLL_PERIOD_ACCRUAL

Cause: Whilst executing PL/SQL, an Oracle error occurred. The line
number and line position, are given where available

Action: Please refer to your system administrat.

Please correct the problem with the function call, or contact your system
administrator or support representative.

ORA-06512: at "APPS.PER_FORMULA_FUNCTIONS", line 608
ORA-06512: at "APPS.HR_UTILITY", line 970
ORA-06512: at "APPS.FF_EXEC", line 2807
ORA-06512: at "APPS.PER_FORMULA_FUNCTIONS", line 582
ORA-06512: at "APPS.PER_ACCRUAL_CALC_FUNCTIONS", line 70
ORA-06512: at "APPS.PER_ACCRUAL_CALC_FUNCTIONS", line 129
ORA-06512: at "APPS.PER_ACCRUAL_CALC_FUNCTIONS", line 979
ORA-06512: at "APPS.PER_DISPLAY_ACCRUAL_BALANCE", line 359
ORA-06512: at line 2
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)

.............

....................

## Detail 0 ##
java.sql.SQLException: ORA-20001: An error has occurred in a user defined function at line 454 of the formula EHC_PTO_PAYROLL_BALANCE_CALCULATION. The error text associated with the
function call is: ORA-1858 occurred at line 106 of formula EHC_PTO_PAYROLL_PERIOD_ACCRUAL

Cause: Whilst executing PL/SQL, an Oracle error occurred. The line
number and line position, are given where available

Action: Please refer to your system administrat.

Please correct the problem with the function call, or contact your system
administrator or support representative.

ORA-06512: at "APPS.PER_FORMULA_FUNCTIONS", line 608
ORA-06512: at "APPS.HR_UTILITY", line 970
ORA-06512: at "APPS.FF_EXEC", line 2807
ORA-06512: at "APPS.PER_FORMULA_FUNCTIONS", line 582
ORA-06512: at "APPS.PER_ACCRUAL_CALC_FUNCTIONS", line 70
ORA-06512: at "APPS.PER_ACCRUAL_CALC_FUNCTIONS", line 129
ORA-06512: at "APPS.PER_ACCRUAL_CALC_FUNCTIONS", line 979
ORA-06512: at "APPS.PER_DISPLAY_ACCRUAL_BALANCE", line 359
ORA-06512: at line 2

.............

....................

STEPS FOR ISSUE REPRODUCTION:
-----------------------------------------------------

1. Login using "Employee Self Service" Responsibility.

2. Navigate to function "Absence Management".

3. In the opened up page, when visiting the tab "Entitlement Balances", got the above error message.

4. When opening the exception log using the "Click Here" link on the error message, got the above exception log displayed.

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
References


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