Page 1 of 1

General Ledger Accounting Setup Location Error

Posted: Fri Jan 28, 2011 3:54 am
by Anuj
Gurus,

Location Code not unique within scope and language of Location. (PROCEDURE= hr_loc_shd.constraint_error) (STEP=35)

I am getting the following error while creating the legal entity, What could be the possible error i have made while setup in GL. Also, please suggest the corrective action and the navigation.

Thanks & Regards,
Anuj

Posted: Sat Feb 12, 2011 6:51 am
by ata_rehman70
APP-PER-52507: Location Code unique within scope and language of Location
(PROCEDURE= hr_loc_shd.constraint_error) (STEP=35)

--- steps to reproduce
1. <global hrms manager>
2. work structures > location
3. create a location and save

Changes
There were existing locations in the system, you thought deleted the same as the data was incorrect.
Cause
The error indicates that the location_id still exists on an organization.
Solution
You can use below query to find the organization that still has the location linked to it.

Select name from hr_all_organization_units
WHERE LOCATION_ID=&location_id

Once you know organization, you can go to define organization form and remove the location
from the organization.

regards,
Ata ur Rehman