Free Fusion SQLGeneral LedgerRead-only

GL period status by ledger

Lists all GL accounting periods per ledger with their open/closed status. Use to confirm month-end close is complete before running trial balance.

Tables used

gl_period_statuses gl_ledgers

Bind parameters

None — the statement runs as written; edit the literals in the WHERE clause to narrow it.

How to run it

Paste it into a BI Publisher data model as a SQL data set, or into QueryWell's Query Studio and run it against your pod with a reporting account. Results come back to a grid you can profile, chart and export with a SHA-256 hash.

SQLdba-gl-period-status
SELECT
  led.name              AS ledger_name,
  led.currency_code,
  ps.period_name,
  ps.period_year,
  ps.period_num,
  ps.closing_status,
  ps.start_date,
  ps.end_date,
  ps.last_update_date
FROM gl_period_statuses ps
JOIN gl_ledgers         led ON led.ledger_id = ps.ledger_id
WHERE ps.application_id = 101  -- GL
  AND ps.period_year   >= EXTRACT(YEAR FROM SYSDATE) - 1
ORDER BY led.name, ps.period_year DESC, ps.period_num DESC

A single read-only SELECT against Oracle Fusion Cloud's supported reporting surface. Column names and views can differ by release and by the roles your reporting account holds, so validate the result against a report you already trust before relying on it.

glperiodclosemonth-end

Related

More General Ledger queries

Run it without the template cycle

QueryWell runs this and 81 other curated scripts against your own Fusion pod from one signed desktop app — grid, charts, profiling and hashed exports included. Perpetual licence, 14-day trial.