Period Status
Period Status
select fa.application_name,gl.name
ledger_name,gps.period_name,closing_status,period_year,gps.start_date
period_start_date,gps.end_date period_end_date
from gl_period_statuses gps,gl_ledgers gl,fnd_application_tl fa
where gps.application_id in (101,200,222)
and gps.set_of_books_id = gl.ledger_id
and LEDGER_CATEGORY_CODE = 'PRIMARY'
and PERIOD_YEAR = 2021
and gps.application_id = fa.application_id
and fa.language = 'US'
and CLOSING_STATUS = 'O'
order by 1,2,3