DBA Data[Home] [Help]

VIEW: APPS.OKX_GL_PERIODS_ORG_V

Source

View Text - Preformatted

SELECT oru.organization_id , oru.name , gpd.period_set_name , gpd.period_name , gpd.start_date , gpd.end_date , gpd.period_type , gpd.period_year , gpd.period_num , gpd.quarter_num FROM GL_PERIODS GPD,GL_SETS_OF_BOOKS SOB,HR_ALL_ORGANIZATION_UNITS ORU,HR_ORGANIZATION_INFORMATION ORI WHERE gpd.period_set_name = sob.period_set_name and gpd.period_type = sob.accounted_period_type and sob.set_of_books_id = ori.org_information3 and ori.org_information_context = 'Operating Unit Information' and ori.organization_id = oru.organization_id
View Text - HTML Formatted

SELECT ORU.ORGANIZATION_ID
, ORU.NAME
, GPD.PERIOD_SET_NAME
, GPD.PERIOD_NAME
, GPD.START_DATE
, GPD.END_DATE
, GPD.PERIOD_TYPE
, GPD.PERIOD_YEAR
, GPD.PERIOD_NUM
, GPD.QUARTER_NUM
FROM GL_PERIODS GPD
, GL_SETS_OF_BOOKS SOB
, HR_ALL_ORGANIZATION_UNITS ORU
, HR_ORGANIZATION_INFORMATION ORI
WHERE GPD.PERIOD_SET_NAME = SOB.PERIOD_SET_NAME
AND GPD.PERIOD_TYPE = SOB.ACCOUNTED_PERIOD_TYPE
AND SOB.SET_OF_BOOKS_ID = ORI.ORG_INFORMATION3
AND ORI.ORG_INFORMATION_CONTEXT = 'OPERATING UNIT INFORMATION'
AND ORI.ORGANIZATION_ID = ORU.ORGANIZATION_ID