Get Operating Unit & Legal Entity

Posted by Jiltin     12 March, 2008    3,050 views   

Following script extracts the operating unit and legal entities from oracle applications

————————————————————————-
—     Author : Jay
————————————————————————-
SELECT
hr.name                                               operating_unit,
hr.organization_id                                    org_id,
le.name                                               legal_entity_name,
decode(ar.set_of_books_id,‘-1′,‘No’,NULL,‘No’,‘Yes’)  system_option_defined
FROM
hr_operating_units hr,
hr_all_organization_units_tl le,
ar_system_parameters_all ar
WHERE le.organization_id = to_number(hr.legal_entity_id)
AND   le.LANGUAGE = userenv(‘LANG’)
AND   hr.organization_id = ar.org_id(+)
ORDER BY 2;

Following Google Searches Lead To This Post: oracle r12 legal entity
oracle link organization_id to operating unit
Add Operating Units Oracle
oracle r12 get operating units name
r12 LEGAL ENTITIES TABLE
legal entity name
sql for responsibility and operating unit
function to get legal entity oracle
Report Access operating unit level in R12
function to get legal entity oracle R12
no organization_id for responsibility
how do you link operating unit and responsibility in oracle
sql script for linking operating unit and responsibility in oracle
oracle 11i link between legal entity and operating unit
legal entity based on operating unit
oracle R12 tables + legal entity
how to get operating unit code in apps
steps for creating a new operating unit in oracle
legal entity table name in r12
how to add an operating unit in oracle applications
operating units on oracle
r12 find table name
oracle role of legal entity in hrms
steps to create legal entity in 11i
how to create an operating unit
create Operating unit Name in Oracle
legal and operational entities
query to fetch org_id linked to a responsibility
oracle ebs operating unit legal entity
table for legal entity
Balancing entity in Oracle EBS
how to get legal entity name and org_id in apps example query
SQL query to get operating unit in oracle apps
ebs get org_id
changing operating unit + pl sql
R12 Operating Unit
find operating units query in oracle apps
set_of_books_id change in r12
how to create legal entity in oracle 11i
organization_id , org_id query
Organization_id and Org_id link
what is operating unit & LE in oracle EBS
oracle R12 2 legal entities 1 operating unit
steps to link operating unit with Legal Entity
operating unit table APPS
what is table name for legal entity in oracle apps
how to get the operating unit using pl sql
R12 LEGAL ENTITY TABLE
oracle 11i tutorial + legel entity + fields
which table should i find legal entity
operating unit vs org_id in R12
Table for legal Entity in R12
create a legal entity in oracle example
how to get operating unit wise data in india hrms using sql
link between legal entity and operating unit in R12
link between operating unit and legal entities in oracle apps
script extracts the operating unit and legal entities from oracle applications R12
query to find operating unit in oracle apps
creating legal entities in oracle apps 11i
oracle apps r12 legal entity query
oracle operating unit code table
how to join operating unit to organization_id + oracle apps
LEGAL ENTITY OPERATING UNIT
how to find legal entity in oracle?
oracle function get organization_id
get org_id from EBS
ORACLE LEGAL ENTITY TO OPERATING UNIT
which table legal entity is stored in R12
oracle r12 legal entity table

Post to Twitter  Post to Delicious  Post to Digg    Post to StumbleUpon

Categories : 11i Scripts Tags : , ,

Comments
February 9, 2010

This script does not work.

LEGAL_ENTITY_ID does not exist in HR_OPERATING_UNITS

Thanks
Tim

Posted by Tim
Leave a comment

(required)

(required)