Page 1 of 1
Error occured after completing accounting options
Posted: Fri May 30, 2008 10:54 am
by Attiq.ahmed
Hi
iam implementing GL and AP.
i've completed all setup steps but iam getting this error when completing accounting options
Error
java.sql.SQLException: ORA-20001: HR_7220_INVALID_PRIMARY_KEY: ORA-06512: at "APPS.HR_ORGANIZATION_API", line 4872 ORA-06512: at "APPS.GL_LEDGERS_PKG", line 111 ORA-06512: at line 1
Posted: Mon Jun 02, 2008 7:40 am
by Attiq.ahmed
can somebody help me with this plz

Posted: Mon Jun 02, 2008 7:58 am
by admin
Nobody knows on which release you are working? thanks
Posted: Mon Jun 02, 2008 7:59 am
by Attiq.ahmed
R12
Posted: Mon Jun 02, 2008 8:02 am
by admin
The version is always like 12.0.3 but anyway check the following two metalink notes hope will resolve your issue,
Subject: R12: Attempting To Complete The Ledger Accounting Setup Errors Out: ORA-20001: HR_7220_INVALID_PRIMARY_KEY
Doc ID: Note:560692.1 Type: PROBLEM
Last Revision Date: 03-APR-2008 Status: MODERATED
Subject: R12 Complete Accounting Setup Fails With ORA-20001: Organization unit type is invalid, ORA-06512 At HR_ORGANIZATION_API And GL_LEDGERS_PKG
Doc ID: Note:560007.1 Type: PROBLEM
Last Revision Date: 30-MAR-2008 Status: MODERATED
Posted: Mon Jun 02, 2008 9:10 am
by k.khan
with the best of my knowledge you have not checked the profile option HR:Business group this is why you are getting this error
Posted: Tue Jun 03, 2008 2:46 am
by Attiq.ahmed
hey khan i've done that but still iam getting the same result
Posted: Tue Jun 03, 2008 6:27 am
by k.khan
as this is the profile option, to enable it you have to logout and then log in again.if probleum persists raise SR