AD Code Levels – Oracle EBS SQL Report
Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™. Oracle EBS module: Applications DBA · all Applications DBA reports
Overview
Code level and baseline of each Oracle EBS product and product family, as maintained by the patching utilities in AD_TRACKABLE_ENTITIES.
Patch readme files and My Oracle Support notes state prerequisites as code levels, for example R12.AD.C.Delta.15 for AD code level C.15.
Run this report in Excel in seconds: download Blitz Report™ free (your first 30 reports are free) or try it in the online demo.
Report Parameters
Entity Type, Abbreviation
Oracle EBS Tables Used
Report Categories
Related Reports
INV Item Attribute Master/Child Conflicts, INV Items, INV Item Upload 11i, INV Item Upload
Running This SQL Without Blitz Report
The SQL source can be run in any SQL client. Some Oracle EBS SQL reports in this library use functions from the utility package xxen_util – install it first. Blitz Report™ adds parameters, Excel output with pivots, scheduling and security on top.
Download & Import Options
| Resource | Link |
|---|---|
| Excel Example Output | AD Code Levels 12-Oct-2026 061523.xlsx |
| Blitz Report™ XML Import | AD_Code_Levels.xml |
| SQL Source | AD Code Levels.sql |
| Full Report on Enginatics | www.enginatics.com/reports/ad-code-levels/ |
Case Study & Technical Analysis: AD Code Levels
Executive Summary
The AD Code Levels report lists the code level and baseline of every Oracle E-Business Suite product and product family as recorded by the patching utilities in AD_TRACKABLE_ENTITIES. It is written for Applications DBAs who must confirm which AD code level an R12 instance is actually running before a patch is applied, and for upgrade and audit teams who need a dated, reproducible record of the installed patch baseline. Patch readme files and My Oracle Support notes express prerequisites as code levels, for example R12.AD.C.Delta.15 for AD code level C.15, so the report turns a written prerequisite into a direct comparison against the database.
Business Challenge
- Patch prerequisite verification: Patch readmes state required code levels, and the DBA needs to confirm each one before the patch run rather than discovering a mismatch part way through.
- Inconsistent notation across products: Code levels are written in a release-product-letter-delta form, which is easy to misread when checked by hand against several products.
- Baseline evidence for upgrades: Cutover and upgrade projects need a reproducible listing of each product’s code level and baseline at a point in time.
- Support escalation: When Oracle Support asks which AD level is installed, the answer should come from the instance itself rather than from memory of the last patch session.
The Solution
- Single register read: The report reads one table,
AD_TRACKABLE_ENTITIES, which is the register the patching utilities maintain for each trackable entity. - Clear identification: Each row returns the entity abbreviation, its full name and its type, so a product family can be identified without knowing internal identifiers.
- Code level as stored: The
codelevelvalue is returned ascode_level, so it can be compared directly with the text of a patch prerequisite. - Baseline flag included: The
baselinecolumn is returned alongside the code level, so the listing shows both the current level and the baseline reference for each entity. - Spreadsheet comparison: Running the report in Excel through Blitz Report lets the DBA filter by type or abbreviation and compare several environments in one workbook.
Technical Architecture (High Level)
Primary Tables
AD_TRACKABLE_ENTITIES: the patching register of trackable products and product families, holding the abbreviation, name, type, code level and baseline of each entity.
Logical Relationships
- The report selects directly from
AD_TRACKABLE_ENTITIESunder an aliasate, with no join to any other table. - The
where 1=1clause is a placeholder, so the SQL text applies no row restriction of its own. - The result is ordered by
typeand then byabbreviation, which gives a stable order for comparison across instances.
Parameters & Filtering
- Entity Type: Intended to restrict the listing to one class of trackable entity, such as products or product families. The SQL text in the library does not reference this parameter, so it is not coded as a predicate in the query shown.
- Abbreviation: Intended to narrow the output to one entity, for example the single row for the Applications DBA code level. Like Entity Type, the parameter does not appear in the query text.
Because neither parameter is bound in the SQL, the report as written returns the complete register of trackable entities. Users who need a single product should filter the output in Excel by the abbreviation column.
Performance & Optimization
- Single-table access: The query touches one table with no joins, subqueries or analytic functions, so its cost is one table read followed by a sort.
- Register-sized data:
AD_TRACKABLE_ENTITIESholds the patching utilities’ register of entities rather than transactional history, so the full listing is compact. - Ordering only: The only non-trivial work is the
order byontypeandabbreviation, which is applied to the complete result set.
FAQ
Q: How do I find the AD code level of my Oracle EBS instance?
A: Run AD Code Levels and read the code_level value on the row whose abbreviation identifies the product, such as the Applications DBA entry.
Q: How should a code level such as R12.AD.C.Delta.15 be read? A: The Oracle EBS documentation uses this notation for prerequisites, and the code level for that entry is AD code level C.15, as stated in the report description. The report returns the value exactly as it is stored.
Q: Can this report confirm that a patch prerequisite is met?
A: The report lists the stored values for each entity, and the comparison with the prerequisite in a patch readme is made by the user against the returned code_level column.
Useful Links
- Blitz Report™ – World’s Fastest Oracle EBS Reporting Tool
- Oracle Discoverer Replacement – Import Worksheets into Blitz Report™
- Oracle EBS Reporting Toolkits by Blitz Report™
- Blitz Report™ FAQ & Community Q&A
- Supply Chain Hub by Blitz Report™
- Blitz Report™ Customer Case Studies
- Oracle EBS Reporting Blog
- Oracle EBS Reporting Resource Centre
© Enginatics GmbH