Human Capital Management - EBS (MOSC)

MOSC Banner

HR_PERSON_ABSENCE_API.CREATE_PERSON_ABSENCE Error

edited Dec 8, 2011 3:47AM in Human Capital Management - EBS (MOSC) 3 comments
Hi,

I am using seeded Oracle API for creating absences. But I am getting an error

Error report:
ORA-20001: The primary key specified is invalid

Cause:        The primary key values specified are invalid and do not exist in the schema. 

Action:        Check the primary key values before attempting to carry out the operation again.
ORA-06512: at "APPS.HR_PERSON_ABSENCE_API", line 881
ORA-06512: at line 19

Please find below code which I am using to create the absences

SET serveroutput ON
SET verify OFF
SET feedback OFF

DECLARE

L_ABSENCE_DAYS NUMBER:= 5;
L_ABSENCE_HOURS NUMBER:= 0;
L_ABSENCE_ATTENDANCE_ID NUMBER;

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center