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.
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
More General Ledger queries
Unposted GL journals
Returns journals that exist in the system but have not yet been posted to balances. Indicates close-readiness and stale entries.
Reversed journals last 90 days
Journals that have been reversed — common in error correction, but spikes can indicate process issues.
Trial balance — natural account totals
Aggregates posted activity per natural account for a given ledger and period. Confirms feed of subledger to GL.
Journal count and amount by source (period)
Journal volume and debit/credit totals grouped by source and category for a period. Quick feel for where postings originate (Manual vs subledger feeds).
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.