HR Organization Information
HR Organization Information
HR Organization Information
select ORGANIZATION_ID,
NAME,
BUSINESS_GROUP_ID,
LOCATION_ID,
DATE_FROM,
INTERNAL_EXTERNAL_FLAG,
INTERNAL_ADDRESS_LINE,
TYPE from HR_ALL_ORGANIZATION_UNITS where trunc(sysdate) = trunc(creation_date)
select ORG_INFORMATION_ID,
ORGANIZATION_ID,
ORG_INFORMATION_CONTEXT,
ORG_INFORMATION1 from HR_ORGANIZATION_INFORMATION where trunc(sysdate) =
trunc(creation_date)
select ORGANIZATION_ID,
BUSINESS_GROUP_ID ,
NAME ,
DATE_FROM ,
DATE_TO
from apps.HR_LEGAL_ENTITIES
select ORGANIZATION_ID,
BUSINESS_GROUP_ID,
NAME,
DATE_FROM,
DATE_TO,
SET_OF_BOOKS_ID from HR_OPERATING_UNITS
select ORGANIZATION_ID,
BUSINESS_GROUP_ID,
USER_DEFINITION_ENABLE_DATE,
DISABLE_DATE,
ORGANIZATION_CODE,
ORGANIZATION_NAME,
SET_OF_BOOKS_ID,
CHART_OF_ACCOUNTS_ID,
INVENTORY_ENABLED_FLAG,
OPERATING_UNIT,
LEGAL_ENTITY from ORG_ORGANIZATION_DEFINITIONS
select
business_group_id,name
from per_business_groups
where lower(name) like '%vision corporation%'
order by name
select
set_of_books_id,
name sob_name,
chart_of_accounts_id,
chart_of_accounts_name,
period_set_name calendar_period,
accounted_period_type,
user_period_type,
currency_code
from gl_sets_of_books_v
where set_of_books_id=1
A very important query to find out inventory organizations for an operating unit :
select
organization_id,
organization_code,
organization_name,
(select location_id from hr_all_organization_units ou
where od.organization_id=ou.organization_id) location_id,
user_definition_enable_date,
disable_date,
chart_of_accounts_id,
inventory_enabled_flag,
operating_unit,
legal_entity,
set_of_books_id,
business_group_id
from org_organization_definitions od
where operating_unit=204 and ORGANIZATION_ID = 9073
order by organization_code
select * from org_organization_definitions where ORGANIZATION_NAME like 'M12%'--
trunc(sysdate) = trunc(creation_date)
SELECT business_group_id,
organization_id,
NAME,
date_from,
date_to,
internal_address_line,
location_id,
comments,
default_start_time,
default_end_time,
working_hours,
frequency,
short_name,
method_of_generation_emp_num,
method_of_generation_apl_num,
grade_structure,
people_group_structure,
job_structure,
cost_allocation_structure,
position_structure,
legislation_code,
currency_code,
security_group_id,
enabled_flag,
competence_structure,
method_of_generation_cwk_num
FROM per_business_groups;
SELECT xle_firstpty.NAME,
xle_firstpty.activity_code,
xle_firstpty.sub_activity_code,
xle_firstpty.registration_number,
xle_firstpty.effective_from,
xle_firstpty.location_id,
xle_firstpty.address_line_1,
xle_firstpty.address_line_2,
xle_firstpty.address_line_3,
xle_firstpty.town_or_city,
xle_firstpty.region_1,
xle_firstpty.region_2,
xle_firstpty.region_3,
xle_firstpty.postal_code,
xle_firstpty.country,
xle_firstpty.address_style,
xle_cont.contact_name,
xle_cont.contact_legal_id,
xle_cont.title,
xle_cont.job_title,
xle_cont.role
FROM xle_firstparty_information_v xle_firstpty,
xle_legal_contacts_v xle_cont
WHERE 1 = 1
AND XLE_FIRSTPTY.LEGAL_ENTITY_ID = C_REP_ENTITY_ID
AND xle_firstpty.legal_entity_id = xle_cont.entity_id(+);