IE Legislative Reports Generator Completes In Error For Supplementary Run

(Doc ID 2314469.1)

Last updated on OCTOBER 05, 2017

Applies to:

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

Symptoms

On : 12.1.3 version, Core Payroll - General

When attempting to run the IE Legislative Reports Generator , the following error occurs :

HR_6881_HRPROC_ORA_ERR
SQLERRMC ORA-20001: Dynamic SQL for DB item failed : ORA-20001: Database item re
quires context TAX_UNIT_ID to be set
ORA-06512: at "APPS.PAY_ARCHIVE", line 1207
ORA-06512: at line 3

SQL_NO 1108
TABLE_NAME pay_archive.process_employee
APP-PAY-06881: Error ORA-20001: Dynamic SQL for DB item failed : ORA-20001: Database item requires context TAX_UNIT_ID to be set
ORA-06512: at "APPS.PAY_ARCHIVE", line 1207
ORA-06512: at line 3
has occurred in table pay_archive.process_employee at location 1108

Cause: an oracle error has occurred. The failure was reported on table pay_archive.process_employee at location 1108 with the error text ORA-20001: Dynamic SQL for DB item failed : ORA-20001: Database item requires context TAX_UNIT_ID to be set
ORA-06512: at "APPS.PAY_ARCHIVE", line 1207
ORA-06512: at line 3


STEPS

The issue can be reproduced at will with the following steps:
1. Run a supplementary run for the same payroll, using another consolidation set than the main one attached to the payroll
2. Payroll Specialist then ran prepayments (Ran successfully)
3. Payroll Specialist then ran IE Legislative Report Generator (this process generated an error). The error states "APP-PAY-06881: Error ORA-20001: Dynamic SQL for DB item failed : ORA-20001: Database item requires context TAX_UNIT_ID to be set"

Cause

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