(Doc ID 2015214.1)

Last updated on JUNE 26, 2017

Applies to:

Oracle HRMS (Mexico) - Version 12.1.3 and later
Information in this document applies to any platform.


On : 12.1.3 version, Payroll - General

When attempting to run the Payroll Archiver
the following error occurs.

ORA-20001: Error at step 15 IN pay_mx_payroll_arch.first_time_process
ORA-06512: at "APPS.PAY_ARCHIVE", line 1207
ORA-06512: at line 3

Entering pay_mx_payroll_arch.populate_hours_days_by_rate
p_xfr_action_id 1411203194
p_curr_pymt_action_id 1411182551
p_effective_date 14-MAY-15
p_ytd_sequence 1411180722
p_sepchk_flag N
pay_mx_payroll_arch.populate_hours_days_by_rate 10
pay_mx_payroll_arch.populate_hours_days_by_rate 15
Leaving pay_mx_payroll_arch.populate_hours_days_by_rate
pay_mx_payroll_arch.first_time_process 30
pay_mx_payroll_arch.first_time_process 50
Reporting Name = Profit Sharing PTU <<<<< Seems to be erroring on element Profit Sharing PTU
Primary Bal id = 11021390
JD Code =
Error at step 15 IN pay_mx_payroll_arch.first_time_process-ORA-06502: PL/SQL: numeric or value error <<<<<<<
Error IN step 8 of pay_mx_payroll_arch.process_actions-ORA-20001: Error at step 15 I
N pay_mx_payroll_arch.first_time_process
Error at step 21 IN pay_mx_payroll_arch.archive_code-ORA-20001: Error at step 15 IN pay_mx_payroll_arch.first_time_process

The issue can be reproduced at will with the following steps:
1. Run payroll and separate PTU run for 15-MAY-2015
2. All the employee's are paid correctly
3. Running the Payroll Archive Process
4. Ends in error
5. There were close to 1000 employees who were Paid PTU last week using the same seeded element. Payroll Archive completed normal for them.
6. So the error is NOT with all the employees who have PTU Payments, only some employees have the error.


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