AI-POWERED BETA

Write Oracle Fusion SQL
in plain language.
Instantly.

FusionLens AI knows Oracle Fusion's schema — tables, joins, date filters, business rules. Describe what you need and get a working SQL query in seconds.

AI Text-to-SQL and AI Chat are in beta. AI Chat is continuously being trained on Oracle Fusion, module by module.
FusionLens AI Chat — sql.fusionlens.ai Connected
Show me all suppliers with overdue invoices in the last 60 days - include the supplier name, invoice amount, and days overdue
Here's the SQL to get overdue AP invoices from Oracle Fusion with supplier details:
WITH overdue_invoices AS (
    SELECT invoice_id,
           MIN(due_date) AS due_date
      FROM fusion.ap_payment_schedules_all
     WHERE payment_status_flag <> 'Y'
       AND NVL(amount_remaining, 0) <> 0
     GROUP BY invoice_id
)
SELECT hp.party_name AS supplier_name,
       ai.invoice_amount,
       TRUNC(SYSDATE) - TRUNC(oi.due_date) AS days_overdue
  FROM fusion.ap_invoices_all ai
  JOIN overdue_invoices oi
    ON oi.invoice_id = ai.invoice_id
  JOIN fusion.poz_suppliers ps
    ON ps.vendor_id = ai.vendor_id
  JOIN fusion.hz_parties hp
    ON hp.party_id = ps.party_id
 WHERE ai.cancelled_date IS NULL
   AND oi.due_date >= TRUNC(SYSDATE) - 60
   AND oi.due_date <  TRUNC(SYSDATE)
 ORDER BY days_overdue DESC;
Can you add a filter for only USD invoices?
Updating the query…
Powered by Claude Sonnet / Opus Gemini 2.0 Flash Llama 3.3 70B

How it works

From question to running query in 4 steps.

1

Connect your Oracle Fusion environment

Add your Oracle Fusion Cloud URL and credentials. FusionLens connects securely - no data is stored on our servers.

Encrypted connection
2

Type your question in plain language

No SQL knowledge required to get started. Ask anything: "Show me headcount by department for Q1" or "Which suppliers have pending invoices over $10,000?"

Natural language
3

AI generates Oracle Fusion SQL instantly

FusionLens knows Oracle Fusion's table structure - HCM, Financials, SCM and more. The AI picks the right views, joins, and filters automatically.

Knows Oracle Fusion tables
4

Send to editor and run - or refine with follow-up questions

One click sends the generated SQL to the editor. Run it, export to Excel, or ask the AI to adjust the query. The conversation continues.

One-click to editor

Two AI tools. One workflow.

Text-to-SQL for generating queries. AI Chat for understanding them.

AI Text-to-SQLBETA

Describe your business question. FusionLens generates the SQL - with correct Oracle Fusion table names, joins, and date logic. Review it, then run it directly in the editor.

  • Generates SELECT, JOIN, WHERE - automatically
  • Send to editor with one click
  • Refine with follow-up prompts
  • Works from within the SQL editor - no context switch
-- Prompt: "Active HCM employees hired this year, by department"
SELECT d.DEPARTMENT_NAME,
       COUNT(*) AS HEADCOUNT
  FROM FUSION.PER_ALL_ASSIGNMENTS_M a
  JOIN FUSION.HR_ALL_ORGANIZATION_UNITS d
         ON d.ORGANIZATION_ID = a.ORGANIZATION_ID
 WHERE a.PRIMARY_FLAG = 'Y'
   AND EXTRACT(YEAR FROM a.DATE_START) = EXTRACT(YEAR FROM SYSDATE)
 GROUP BY d.DEPARTMENT_NAME
 ORDER BY HEADCOUNT DESC

AI Chat AssistantBETA

Ask anything about Oracle Fusion data, tables, or business logic. The AI Chat keeps full conversation context - so you can ask follow-up questions, debug queries, and explore schemas interactively. It's continuously being trained on Oracle Fusion, module by module.

  • Persistent conversation history
  • Explains what a query does, step by step
  • Answers "which table holds X?" questions
  • Send any AI-generated SQL directly to the editor
Show me employees hired in the last 6 months in the Finance department
In Oracle Fusion HCM, salary information is primarily stored in CMP_SALARY. Key columns are SALARY_AMOUNT, SALARY_BASIS_CODE, and EFFECTIVE_START_DATE. Join it with PER_ALL_ASSIGNMENTS_M via ASSIGNMENT_ID to link to employee records.
Can you show me a sample query for the current salary of all active employees?
Generating…

Your choice of AI model.

Switch between providers at any time - same Oracle Fusion context, different models.

Claude
Anthropic — Sonnet & Opus
Best reasoning Long context Complex SQL
Gemini
Google — 2.0 Flash & 1.5 Pro
Fast responses Multimodal 1M token context
Llama 3.3
Meta — 70B via Groq
Fastest output Open weights Low latency

AI features by plan.

AI is available on our higher-tier plans. Core SQL editor is always free.

Basic
Premium
Enterprise
AI Text-to-SQL
AI Chat Assistant
Model selection
All models
Monthly AI quota
Extended
Send SQL to editor
Conversation history
SQL Editor (core)

Stop searching for Oracle Fusion table names.

Start your free account - core SQL editor forever free, AI on our higher-tier plans.