Free Fusion SQLGeneral LedgerRead-only

Top 50 journals by absolute amount this period

Largest journals in the current period across all ledgers — useful for management review and substantive testing sampling.

Tables used

gl_je_headers gl_ledgers

Bind parameters

Supply values for :period_name when you run 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-top-journals
SELECT
  jh.je_header_id,
  jh.name              AS journal_name,
  led.name              AS ledger_name,
  jh.period_name,
  jh.je_source,
  jh.je_category,
  GREATEST(jh.running_total_dr, jh.running_total_cr) AS amount,
  jh.status,
  jh.creation_date,
  jh.created_by
FROM   gl_je_headers jh
JOIN   gl_ledgers    led ON led.ledger_id = jh.ledger_id
WHERE  jh.period_name = :period_name
ORDER  BY amount DESC
FETCH FIRST 50 ROWS ONLY

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.

gljournalsmaterialitytop-n

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.