├── .gitignore ├── AD Applied Patches 11i ├── AD Applied Patches 11i.sql └── README.md ├── AD Applied Patches R12-2 ├── AD Applied Patches R12-2.sql └── README.md ├── AD Applied Patches ├── AD Applied Patches.sql └── README.md ├── ALR Alerts ├── ALR Alerts.sql └── README.md ├── AP Accounted Invoice Aging ├── AP Accounted Invoice Aging.sql └── README.md ├── AP Cash Requirement ├── AP Cash Requirement.sql └── README.md ├── AP Expenses ├── AP Expenses.sql └── README.md ├── AP Final Payment Register 11i ├── AP Final Payment Register 11i.sql └── README.md ├── AP Intercompany Invoice Details ├── AP Intercompany Invoice Details.sql └── README.md ├── AP Invoice Approval Status ├── AP Invoice Approval Status.sql └── README.md ├── AP Invoice Audit Listing ├── AP Invoice Audit Listing.sql └── README.md ├── AP Invoice Payments 11i ├── AP Invoice Payments 11i.sql └── README.md ├── AP Invoice Payments ├── AP Invoice Payments.sql └── README.md ├── AP Invoice Upload 11i ├── AP Invoice Upload 11i.sql └── README.md ├── AP Invoice Upload ├── AP Invoice Upload.sql └── README.md ├── AP Invoice on Hold 11i ├── AP Invoice on Hold 11i.sql └── README.md ├── AP Invoice on Hold ├── AP Invoice on Hold.sql └── README.md ├── AP Invoices and Lines 11i ├── AP Invoices and Lines 11i.sql └── README.md ├── AP Invoices and Lines ├── AP Invoices and Lines.sql └── README.md ├── AP Invoices with PO- Intercompany and SLA Details ├── AP Invoices with PO- Intercompany and SLA Details.sql └── README.md ├── AP Matched and Modified Receipts ├── AP Matched and Modified Receipts.sql └── README.md ├── AP Negative Supplier Balance ├── AP Negative Supplier Balance.sql └── README.md ├── AP Open Balances Revaluation ├── AP Open Balances Revaluation.sql └── README.md ├── AP Open Items Revaluation ├── AP Open Items Revaluation.sql └── README.md ├── AP Posted Invoice Register ├── AP Posted Invoice Register.sql └── README.md ├── AP Posted Payment Register ├── AP Posted Payment Register.sql └── README.md ├── AP Preliminary Payment Register 11i ├── AP Preliminary Payment Register 11i.sql └── README.md ├── AP Supplier Statement ├── AP Supplier Statement.sql └── README.md ├── AP Supplier Upload ├── AP Supplier Upload.sql └── README.md ├── AP Suppliers 11i ├── AP Suppliers 11i.sql └── README.md ├── AP Suppliers Revenue Summary 11i ├── AP Suppliers Revenue Summary 11i.sql └── README.md ├── AP Suppliers Revenue Summary ├── AP Suppliers Revenue Summary.sql └── README.md ├── AP Suppliers ├── AP Suppliers.sql └── README.md ├── AP Trial Balance Report Definitions ├── AP Trial Balance Report Definitions.sql └── README.md ├── AP Trial Balance ├── AP Trial Balance.sql └── README.md ├── AR Adjustment Register ├── AR Adjustment Register.sql └── README.md ├── AR Aging Buckets and Interest Tiers Setup ├── AR Aging Buckets and Interest Tiers Setup.sql └── README.md ├── AR Aging ├── AR Aging.sql └── README.md ├── AR Applied Receipts ├── AR Applied Receipts.sql └── README.md ├── AR Autoinvoice Interface Summary ├── AR Autoinvoice Interface Summary.sql └── README.md ├── AR Customer Credit Limits ├── AR Customer Credit Limits.sql └── README.md ├── AR Customer Credit Snapshot ├── AR Customer Credit Snapshot.sql └── README.md ├── AR Customer Open Balances Period Lookback ├── AR Customer Open Balances Period Lookback.sql └── README.md ├── AR Customer Statement ├── AR Customer Statement.sql └── README.md ├── AR Customer Upload ├── AR Customer Upload.sql └── README.md ├── AR Customers and Sites ├── AR Customers and Sites.sql └── README.md ├── AR Disputed Invoice ├── AR Disputed Invoice.sql └── README.md ├── AR European Sales Listing ├── AR European Sales Listing.sql └── README.md ├── AR Incomplete Transactions ├── AR Incomplete Transactions.sql └── README.md ├── AR Miscellaneous Receipts 11i ├── AR Miscellaneous Receipts 11i.sql └── README.md ├── AR Miscellaneous Receipts ├── AR Miscellaneous Receipts.sql └── README.md ├── AR Open Balances Revaluation ├── AR Open Balances Revaluation.sql └── README.md ├── AR Open Items Revaluation ├── AR Open Items Revaluation.sql └── README.md ├── AR Past Due Invoice ├── AR Past Due Invoice.sql └── README.md ├── AR Payment Terms ├── AR Payment Terms.sql └── README.md ├── AR Receipt Register ├── AR Receipt Register.sql └── README.md ├── AR Sales Journal By Customer ├── AR Sales Journal By Customer.sql └── README.md ├── AR Transaction Register ├── AR Transaction Register.sql └── README.md ├── AR Transaction Upload ├── AR Transaction Upload.sql └── README.md ├── AR Transactions and Lines 11i ├── AR Transactions and Lines 11i.sql └── README.md ├── AR Transactions and Lines ├── AR Transactions and Lines.sql └── README.md ├── AR Transactions and Payments 11i ├── AR Transactions and Payments 11i.sql └── README.md ├── AR Transactions and Payments ├── AR Transactions and Payments.sql └── README.md ├── AR Unaccounted Transaction Sweep ├── AR Unaccounted Transaction Sweep.sql └── README.md ├── AR Unapplied Receipts Register ├── AR Unapplied Receipts Register.sql └── README.md ├── AR to GL Reconciliation ├── AR to GL Reconciliation.sql └── README.md ├── Avalara VAT LinesData ├── Avalara VAT LinesData.sql └── README.md ├── BOM Bill of Material Structure ├── BOM Bill of Material Structure.sql └── README.md ├── BOM Bill of Materials Upload ├── BOM Bill of Materials Upload.sql └── README.md ├── BOM Calendar Exceptions ├── BOM Calendar Exceptions.sql └── README.md ├── BOM Calendars ├── BOM Calendars.sql └── README.md ├── BOM Common Bill of Materials Upload ├── BOM Common Bill of Materials Upload.sql └── README.md ├── BOM Item Where Used GUI ├── BOM Item Where Used GUI.sql └── README.md ├── BOM Routings ├── BOM Routings.sql └── README.md ├── Blitz Report Access Upload ├── Blitz Report Access Upload.sql └── README.md ├── Blitz Report Application Categories ├── Blitz Report Application Categories.sql └── README.md ├── Blitz Report Assignments and Responsibilities ├── Blitz Report Assignments and Responsibilities.sql └── README.md ├── Blitz Report Assignments ├── Blitz Report Assignments.sql └── README.md ├── Blitz Report Category Assignments ├── Blitz Report Category Assignments.sql └── README.md ├── Blitz Report Column Number Fomat Comparison between environments ├── Blitz Report Column Number Fomat Comparison between environments.sql └── README.md ├── Blitz Report Column Translation Comparison between environments ├── Blitz Report Column Translation Comparison between environments.sql └── README.md ├── Blitz Report Column Translations ├── Blitz Report Column Translations.sql └── README.md ├── Blitz Report Comparison between environments ├── Blitz Report Comparison between environments.sql └── README.md ├── Blitz Report Default Templates ├── Blitz Report Default Templates.sql └── README.md ├── Blitz Report Deletion History ├── Blitz Report Deletion History.sql └── README.md ├── Blitz Report Execution History ├── Blitz Report Execution History.sql └── README.md ├── Blitz Report Execution Summary ├── Blitz Report Execution Summary.sql └── README.md ├── Blitz Report History ├── Blitz Report History.sql └── README.md ├── Blitz Report LOV Comparison between environments ├── Blitz Report LOV Comparison between environments.sql └── README.md ├── Blitz Report LOV SQL Validation ├── Blitz Report LOV SQL Validation.sql └── README.md ├── Blitz Report LOVs ├── Blitz Report LOVs.sql └── README.md ├── Blitz Report License User History ├── Blitz Report License User History.sql └── README.md ├── Blitz Report License Users ├── Blitz Report License Users.sql └── README.md ├── Blitz Report Parameter Anchor Validation ├── Blitz Report Parameter Anchor Validation.sql └── README.md ├── Blitz Report Parameter Bind Variable Validation ├── Blitz Report Parameter Bind Variable Validation.sql └── README.md ├── Blitz Report Parameter Comparison between environments ├── Blitz Report Parameter Comparison between environments.sql └── README.md ├── Blitz Report Parameter Comparison between reports ├── Blitz Report Parameter Comparison between reports.sql └── README.md ├── Blitz Report Parameter Custom LOV Duplication Validation ├── Blitz Report Parameter Custom LOV Duplication Validation.sql └── README.md ├── Blitz Report Parameter DFF Table Validation ├── Blitz Report Parameter DFF Table Validation.sql └── README.md ├── Blitz Report Parameter Default Values ├── Blitz Report Parameter Default Values.sql └── README.md ├── Blitz Report Parameter Dependencies ├── Blitz Report Parameter Dependencies.sql └── README.md ├── Blitz Report Parameter Table Alias Validation ├── Blitz Report Parameter Table Alias Validation.sql └── README.md ├── Blitz Report Parameter Uniqueness Validation ├── Blitz Report Parameter Uniqueness Validation.sql └── README.md ├── Blitz Report Pivot Colums Validation ├── Blitz Report Pivot Colums Validation.sql └── README.md ├── Blitz Report RDF Import Validation ├── Blitz Report RDF Import Validation.sql └── README.md ├── Blitz Report Record History SQL Text Creation ├── Blitz Report Record History SQL Text Creation.sql └── README.md ├── Blitz Report SQL Validation ├── Blitz Report SQL Validation.sql └── README.md ├── Blitz Report Security ├── Blitz Report Security.sql └── README.md ├── Blitz Report Templates ├── Blitz Report Templates.sql └── README.md ├── Blitz Report Text Search ├── Blitz Report Text Search.sql └── README.md ├── Blitz Report Translations ├── Blitz Report Translations.sql └── README.md ├── Blitz Report User History ├── Blitz Report User History.sql └── README.md ├── Blitz Report VPD Policy Setup ├── Blitz Report VPD Policy Setup.sql └── README.md ├── Blitz Reports ├── Blitz Reports.sql └── README.md ├── Blitz Upload Data ├── Blitz Upload Data.sql └── README.md ├── Blitz Upload Dependencies ├── Blitz Upload Dependencies.sql └── README.md ├── Blitz Upload Example (API) ├── Blitz Upload Example (API).sql └── README.md ├── Blitz Upload Example (Interface Table) ├── Blitz Upload Example (Interface Table).sql └── README.md ├── Blitz Upload History ├── Blitz Upload History.sql └── README.md ├── CAC AP Accrual Accounts Setup ├── CAC AP Accrual Accounts Setup.sql └── README.md ├── CAC AP Accrual IR ISO Match Analysis ├── CAC AP Accrual IR ISO Match Analysis.sql └── README.md ├── CAC AP Accrual Reconciliation Load Request ├── CAC AP Accrual Reconciliation Load Request.sql └── README.md ├── CAC AP Accrual Reconciliation Summary by Match Type ├── CAC AP Accrual Reconciliation Summary by Match Type.sql └── README.md ├── CAC Accounting Period Status (Financials) ├── CAC Accounting Period Status (Financials).sql └── README.md ├── CAC Accounting Period Status ├── CAC Accounting Period Status.sql └── README.md ├── CAC Calculate Average Item Costs ├── CAC Calculate Average Item Costs.sql └── README.md ├── CAC Calculate ICP PII Item Costs by Where Used ├── CAC Calculate ICP PII Item Costs by Where Used.sql └── README.md ├── CAC Calculate ICP PII Item Costs ├── CAC Calculate ICP PII Item Costs.sql └── README.md ├── CAC Category Accounts Setup ├── CAC Category Accounts Setup.sql └── README.md ├── CAC Cost Group Accounts Setup ├── CAC Cost Group Accounts Setup.sql └── README.md ├── CAC Cost Type Costs Not in Period Close Inventory Snapshot ├── CAC Cost Type Costs Not in Period Close Inventory Snapshot.sql └── README.md ├── CAC Cost vs- Planning Item Controls ├── CAC Cost vs- Planning Item Controls.sql └── README.md ├── CAC Deferred COGS Out-of-Balance ├── CAC Deferred COGS Out-of-Balance.sql └── README.md ├── CAC Department Overhead Rates ├── CAC Department Overhead Rates.sql └── README.md ├── CAC Department Overhead Setup Errors ├── CAC Department Overhead Setup Errors.sql └── README.md ├── CAC Department Overhead Setup ├── CAC Department Overhead Setup.sql └── README.md ├── CAC ICP PII Inventory Pending Cost Adjustment ├── CAC ICP PII Inventory Pending Cost Adjustment.sql └── README.md ├── CAC ICP PII Inventory and Intransit Value (Period-End) ├── CAC ICP PII Inventory and Intransit Value (Period-End).sql └── README.md ├── CAC ICP PII Item Cost Summary ├── CAC ICP PII Item Cost Summary.sql └── README.md ├── CAC ICP PII Material Account Detail ├── CAC ICP PII Material Account Detail.sql └── README.md ├── CAC ICP PII Material Account Summary ├── CAC ICP PII Material Account Summary.sql └── README.md ├── CAC ICP PII WIP Material Usage Variance ├── CAC ICP PII WIP Material Usage Variance.sql └── README.md ├── CAC ICP PII WIP Pending Cost Adjustment ├── CAC ICP PII WIP Pending Cost Adjustment.sql └── README.md ├── CAC ICP PII vs- Item Costs ├── CAC ICP PII vs- Item Costs.sql └── README.md ├── CAC Inactive Items Set to Roll Up ├── CAC Inactive Items Set to Roll Up.sql └── README.md ├── CAC Intercompany Relationship Setup ├── CAC Intercompany Relationship Setup.sql └── README.md ├── CAC Intercompany SO Price List vs- Item Cost Comparison ├── CAC Intercompany SO Price List vs- Item Cost Comparison.sql └── README.md ├── CAC Intercompany SO Price List ├── CAC Intercompany SO Price List.sql └── README.md ├── CAC Intercompany SO Shipping Transaction vs- Invoice Price ├── CAC Intercompany SO Shipping Transaction vs- Invoice Price.sql └── README.md ├── CAC Internal Order Shipment Margin ├── CAC Internal Order Shipment Margin.sql └── README.md ├── CAC Intransit Value (Real-Time) ├── CAC Intransit Value (Real-Time).sql └── README.md ├── CAC Inventory Account Alias Setup ├── CAC Inventory Account Alias Setup.sql └── README.md ├── CAC Inventory Accounts Setup ├── CAC Inventory Accounts Setup.sql └── README.md ├── CAC Inventory Lot and Locator OPM Value (Period-End) ├── CAC Inventory Lot and Locator OPM Value (Period-End).sql └── README.md ├── CAC Inventory Organization Summary ├── CAC Inventory Organization Summary.sql └── README.md ├── CAC Inventory Out-of-Balance ├── CAC Inventory Out-of-Balance.sql └── README.md ├── CAC Inventory Pending Cost Adjustment - No Currencies ├── CAC Inventory Pending Cost Adjustment - No Currencies.sql └── README.md ├── CAC Inventory Pending Cost Adjustment ├── CAC Inventory Pending Cost Adjustment.sql └── README.md ├── CAC Inventory Periods Not Closed or Summarized ├── CAC Inventory Periods Not Closed or Summarized.sql └── README.md ├── CAC Inventory and Intransit Value (Period-End) - Discrete-OPM ├── CAC Inventory and Intransit Value (Period-End) - Discrete-OPM.sql └── README.md ├── CAC Inventory and Intransit Value (Period-End) ├── CAC Inventory and Intransit Value (Period-End).sql └── README.md ├── CAC Inventory to G-L Reconciliation (Restricted by Org Access) ├── CAC Inventory to G-L Reconciliation (Restricted by Org Access).sql └── README.md ├── CAC Inventory to G-L Reconciliation (Unrestricted by Org Access) ├── CAC Inventory to G-L Reconciliation (Unrestricted by Org Access).sql └── README.md ├── CAC Invoice Price Variance ├── CAC Invoice Price Variance.sql └── README.md ├── CAC Item Cost - Routing ├── CAC Item Cost - Routing.sql └── README.md ├── CAC Item Cost Break-Out by Activity ├── CAC Item Cost Break-Out by Activity.sql └── README.md ├── CAC Item Cost Comparison ├── CAC Item Cost Comparison.sql └── README.md ├── CAC Item Cost Out-of-Balance ├── CAC Item Cost Out-of-Balance.sql └── README.md ├── CAC Item Cost Summary ├── CAC Item Cost Summary.sql └── README.md ├── CAC Item List Price vs- Item Cost ├── CAC Item List Price vs- Item Cost.sql └── README.md ├── CAC Item Master Accounts Setup ├── CAC Item Master Accounts Setup.sql └── README.md ├── CAC Item vs- Component Include in Rollup Controls ├── CAC Item vs- Component Include in Rollup Controls.sql └── README.md ├── CAC Last Standard Item Cost ├── CAC Last Standard Item Cost.sql └── README.md ├── CAC Load More4Apps Buy Item Costs ├── CAC Load More4Apps Buy Item Costs.sql └── README.md ├── CAC Manufacturing Variance ├── CAC Manufacturing Variance.sql └── README.md ├── CAC Margin Analysis Account Summary ├── CAC Margin Analysis Account Summary.sql └── README.md ├── CAC Margin Analysis Summary ├── CAC Margin Analysis Summary.sql └── README.md ├── CAC Material Account Alias with Lot Numbers ├── CAC Material Account Alias with Lot Numbers.sql └── README.md ├── CAC Material Account Detail ├── CAC Material Account Detail.sql └── README.md ├── CAC Material Account Summary ├── CAC Material Account Summary.sql └── README.md ├── CAC Material Overhead Setup ├── CAC Material Overhead Setup.sql └── README.md ├── CAC Missing Material Accounting Transactions ├── CAC Missing Material Accounting Transactions.sql └── README.md ├── CAC Missing Receiving Accounting Transactions ├── CAC Missing Receiving Accounting Transactions.sql └── README.md ├── CAC Missing WIP Accounting Transactions ├── CAC Missing WIP Accounting Transactions.sql └── README.md ├── CAC New Items ├── CAC New Items.sql └── README.md ├── CAC New Standard Item Costs ├── CAC New Standard Item Costs.sql └── README.md ├── CAC Number of Item Costs by Cost Type ├── CAC Number of Item Costs by Cost Type.sql └── README.md ├── CAC OPM Batch Material Summary ├── CAC OPM Batch Material Summary.sql └── README.md ├── CAC OPM Costed Formula ├── CAC OPM Costed Formula.sql └── README.md ├── CAC OPM WIP Account Value ├── CAC OPM WIP Account Value.sql └── README.md ├── CAC Onhand Lot Value (Real-Time) ├── CAC Onhand Lot Value (Real-Time).sql └── README.md ├── CAC Open Internal ISO-IRO ├── CAC Open Internal ISO-IRO.sql └── README.md ├── CAC Open Purchase Orders ├── CAC Open Purchase Orders.sql └── README.md ├── CAC Order Type Setup ├── CAC Order Type Setup.sql └── README.md ├── CAC PO Price vs- Costing Method Comparison ├── CAC PO Price vs- Costing Method Comparison.sql └── README.md ├── CAC PO Receipt History for Actual Costing ├── CAC PO Receipt History for Actual Costing.sql └── README.md ├── CAC PO Receipt History for Item Costing ├── CAC PO Receipt History for Item Costing.sql └── README.md ├── CAC Purchase Price Variance ├── CAC Purchase Price Variance.sql └── README.md ├── CAC Receiving Account Detail ├── CAC Receiving Account Detail.sql └── README.md ├── CAC Receiving Account Summary ├── CAC Receiving Account Summary.sql └── README.md ├── CAC Receiving Activity Summary ├── CAC Receiving Activity Summary.sql └── README.md ├── CAC Receiving Value (Period-End) ├── CAC Receiving Value (Period-End).sql └── README.md ├── CAC Recost Cost of Goods Sold ├── CAC Recost Cost of Goods Sold.sql └── README.md ├── CAC Resource Costs ├── CAC Resource Costs.sql └── README.md ├── CAC Resources Associated with Overheads Setup ├── CAC Resources Associated with Overheads Setup.sql └── README.md ├── CAC Resources by Department Setup ├── CAC Resources by Department Setup.sql └── README.md ├── CAC Shipping Network (Inter-Org) Accounts Setup ├── CAC Shipping Network (Inter-Org) Accounts Setup.sql └── README.md ├── CAC Shipping Networks Missing Interco OU Relationships ├── CAC Shipping Networks Missing Interco OU Relationships.sql └── README.md ├── CAC Standard Cost Update Submissions ├── CAC Standard Cost Update Submissions.sql └── README.md ├── CAC Subinventory Accounts Setup ├── CAC Subinventory Accounts Setup.sql └── README.md ├── CAC User-Defined and Rolled Up Costs ├── CAC User-Defined and Rolled Up Costs.sql └── README.md ├── CAC WIP Account Detail ├── CAC WIP Account Detail.sql └── README.md ├── CAC WIP Account Summary ├── CAC WIP Account Summary.sql └── README.md ├── CAC WIP Account Value ├── CAC WIP Account Value.sql └── README.md ├── CAC WIP Accounts Setup ├── CAC WIP Accounts Setup.sql └── README.md ├── CAC WIP Jobs With Complete Status But Not Ready for Close ├── CAC WIP Jobs With Complete Status But Not Ready for Close.sql └── README.md ├── CAC WIP Jobs With Complete Status Which Are Ready for Close ├── CAC WIP Jobs With Complete Status Which Are Ready for Close.sql └── README.md ├── CAC WIP Material Relief ├── CAC WIP Material Relief.sql └── README.md ├── CAC WIP Material Usage Variance ├── CAC WIP Material Usage Variance.sql └── README.md ├── CAC WIP Pending Cost Adjustment ├── CAC WIP Pending Cost Adjustment.sql └── README.md ├── CAC WIP Period Balances to Accounting Activity Reconciliation ├── CAC WIP Period Balances to Accounting Activity Reconciliation.sql └── README.md ├── CAC WIP Resource Efficiency ├── CAC WIP Resource Efficiency.sql └── README.md ├── CAC Where Used by Cost Type ├── CAC Where Used by Cost Type.sql └── README.md ├── CAC Zero Item Costs ├── CAC Zero Item Costs.sql └── README.md ├── CE Bank Account Balances ├── CE Bank Account Balances.sql └── README.md ├── CE Bank Branches ├── CE Bank Branches.sql └── README.md ├── CE Bank Statement Import Execution ├── CE Bank Statement Import Execution.sql └── README.md ├── CE Bank Statement and Reconciliation ├── CE Bank Statement and Reconciliation.sql └── README.md ├── CE Bank Transaction Codes Listing ├── CE Bank Transaction Codes Listing.sql └── README.md ├── CE Cash in Transit ├── CE Cash in Transit.sql └── README.md ├── CE Cleared Transactions ├── CE Cleared Transactions.sql └── README.md ├── CE General Ledger Cash Account Usage ├── CE General Ledger Cash Account Usage.sql └── README.md ├── CE General Ledger Reconciliation ├── CE General Ledger Reconciliation.sql └── README.md ├── CE Transactions Available for Reconciliation ├── CE Transactions Available for Reconciliation.sql └── README.md ├── CNAME ├── CRP Available Resources ├── CRP Available Resources.sql └── README.md ├── CRP Resource Plan ├── CRP Resource Plan.sql └── README.md ├── CSI Customer Products Summary ├── CSI Customer Products Summary.sql └── README.md ├── CSI Installed Base Extended Attributes Summary ├── CSI Installed Base Extended Attributes Summary.sql └── README.md ├── CSI Installed Base Summary by Organization ├── CSI Installed Base Summary by Organization.sql └── README.md ├── CST AP and PO Accrual Reconciliation ├── CST AP and PO Accrual Reconciliation.sql └── README.md ├── CST COGS Revenue Matching ├── CST COGS Revenue Matching.sql └── README.md ├── CST Cost Groups ├── CST Cost Groups.sql └── README.md ├── CST Detailed Item Cost ├── CST Detailed Item Cost.sql └── README.md ├── CST Inventory Value - Multi-Organization (Element Costs) 11i ├── CST Inventory Value - Multi-Organization (Element Costs) 11i.sql └── README.md ├── CST Inventory Value - Multi-Organization (Item Costs) ├── CST Inventory Value - Multi-Organization (Item Costs).sql └── README.md ├── CST Inventory Value Report - by Subinventory (Item Cost) ├── CST Inventory Value Report - by Subinventory (Item Cost).sql └── README.md ├── CST Item Cost Reports ├── CST Item Cost Reports.sql └── README.md ├── CST Item Cost Upload ├── CST Item Cost Upload.sql └── README.md ├── CST Miscellaneous Accrual Reconciliation ├── CST Miscellaneous Accrual Reconciliation.sql └── README.md ├── CST Period Close Subinventory Value Summary ├── CST Period Close Subinventory Value Summary.sql └── README.md ├── CST Period Close Subinventory Value ├── CST Period Close Subinventory Value.sql └── README.md ├── CST Periodic Inventory Value ├── CST Periodic Inventory Value.sql └── README.md ├── CST Supply Chain Indented Bills of Material Cost ├── CST Supply Chain Indented Bills of Material Cost.sql └── README.md ├── CST Uninvoiced Receipts ├── CST Uninvoiced Receipts.sql └── README.md ├── DBA AWR Active Session History ├── DBA AWR Active Session History.sql └── README.md ├── DBA AWR Blocking Session Summary ├── DBA AWR Blocking Session Summary.sql └── README.md ├── DBA AWR Interconnect Traffic ├── DBA AWR Interconnect Traffic.sql └── README.md ├── DBA AWR Latch Summary ├── DBA AWR Latch Summary.sql └── README.md ├── DBA AWR Latch by Time ├── DBA AWR Latch by Time.sql └── README.md ├── DBA AWR PGA History ├── DBA AWR PGA History.sql └── README.md ├── DBA AWR SQL Execution Plan History ├── DBA AWR SQL Execution Plan History.sql └── README.md ├── DBA AWR SQL Performance Summary ├── DBA AWR SQL Performance Summary.sql └── README.md ├── DBA AWR Settings ├── DBA AWR Settings.sql └── README.md ├── DBA AWR System Metrics Summary ├── DBA AWR System Metrics Summary.sql └── README.md ├── DBA AWR System Time Percentages ├── DBA AWR System Time Percentages.sql └── README.md ├── DBA AWR System Time Summary ├── DBA AWR System Time Summary.sql └── README.md ├── DBA AWR System Wait Class by Time ├── DBA AWR System Wait Class by Time.sql └── README.md ├── DBA AWR System Wait Event Summary ├── DBA AWR System Wait Event Summary.sql └── README.md ├── DBA AWR System Wait Time Summary ├── DBA AWR System Wait Time Summary.sql └── README.md ├── DBA AWR Tablespace Usage ├── DBA AWR Tablespace Usage.sql └── README.md ├── DBA Alert Log ├── DBA Alert Log.sql └── README.md ├── DBA Archive - Redo Log Rate ├── DBA Archive - Redo Log Rate.sql └── README.md ├── DBA Automated Maintenance Tasks ├── DBA Automated Maintenance Tasks.sql └── README.md ├── DBA Blocking Sessions ├── DBA Blocking Sessions.sql └── README.md ├── DBA CPU Benchmark1 ├── DBA CPU Benchmark1.sql └── README.md ├── DBA CPU Benchmark2 ├── DBA CPU Benchmark2.sql └── README.md ├── DBA CPU Benchmark3 ├── DBA CPU Benchmark3.sql └── README.md ├── DBA DBMS Profiler Data ├── DBA DBMS Profiler Data.sql └── README.md ├── DBA Dependencies (used by) ├── DBA Dependencies (used by).sql └── README.md ├── DBA Dependencies (uses) ├── DBA Dependencies (uses).sql └── README.md ├── DBA External Table Creation ├── DBA External Table Creation.sql └── README.md ├── DBA Feature Usage Statistics ├── DBA Feature Usage Statistics.sql └── README.md ├── DBA Index Columns ├── DBA Index Columns.sql └── README.md ├── DBA Log Switches ├── DBA Log Switches.sql └── README.md ├── DBA Objects ├── DBA Objects.sql └── README.md ├── DBA Parameters ├── DBA Parameters.sql └── README.md ├── DBA Redo Log Files ├── DBA Redo Log Files.sql └── README.md ├── DBA Registry SQL Patch ├── DBA Registry SQL Patch.sql └── README.md ├── DBA Result Cache Objects and Dependencies ├── DBA Result Cache Objects and Dependencies.sql └── README.md ├── DBA Result Cache Statistics ├── DBA Result Cache Statistics.sql └── README.md ├── DBA SGA Active Session History ├── DBA SGA Active Session History.sql └── README.md ├── DBA SGA Blocking Session Summary ├── DBA SGA Blocking Session Summary.sql └── README.md ├── DBA SGA Buffer Cache Object Usage ├── DBA SGA Buffer Cache Object Usage.sql └── README.md ├── DBA SGA Memory Allocation ├── DBA SGA Memory Allocation.sql └── README.md ├── DBA SGA SQL Execution Plan History ├── DBA SGA SQL Execution Plan History.sql └── README.md ├── DBA SGA SQL Performance Summary ├── DBA SGA SQL Performance Summary.sql └── README.md ├── DBA SGA Target Advice ├── DBA SGA Target Advice.sql └── README.md ├── DBA SGA-PGA Memory Configuration ├── DBA SGA-PGA Memory Configuration.sql └── README.md ├── DBA Segments ├── DBA Segments.sql └── README.md ├── DBA Session Longops ├── DBA Session Longops.sql └── README.md ├── DBA Table Columns ├── DBA Table Columns.sql └── README.md ├── DBA Table Modifications ├── DBA Table Modifications.sql └── README.md ├── DBA Tablespace Usage ├── DBA Tablespace Usage.sql └── README.md ├── DBA Text Search ├── DBA Text Search.sql └── README.md ├── DBA Trace File Contents ├── DBA Trace File Contents.sql └── README.md ├── DIS Access Privileges ├── DIS Access Privileges.sql └── README.md ├── DIS Business Areas ├── DIS Business Areas.sql └── README.md ├── DIS Discoverer and Blitz Report Users ├── DIS Discoverer and Blitz Report Users.sql └── README.md ├── DIS End User Layers ├── DIS End User Layers.sql └── README.md ├── DIS Folders- Business Areas- Items and LOVs ├── DIS Folders- Business Areas- Items and LOVs.sql └── README.md ├── DIS Import Performance ├── DIS Import Performance.sql └── README.md ├── DIS Items- Folders and Formulas ├── DIS Items- Folders and Formulas.sql └── README.md ├── DIS Migration identify missing EulConditions ├── DIS Migration identify missing EulConditions.sql └── README.md ├── DIS Users ├── DIS Users.sql └── README.md ├── DIS Workbook Export Script ├── DIS Workbook Export Script.sql └── README.md ├── DIS Workbook Import Validation ├── DIS Workbook Import Validation.sql └── README.md ├── DIS Workbook Owner Export Script ├── DIS Workbook Owner Export Script.sql └── README.md ├── DIS Workbooks- Folders- Items and LOVs ├── DIS Workbooks- Folders- Items and LOVs.sql └── README.md ├── DIS Worksheet Execution History ├── DIS Worksheet Execution History.sql └── README.md ├── DIS Worksheet Execution Summary ├── DIS Worksheet Execution Summary.sql └── README.md ├── DIS Worksheet SQLs ├── DIS Worksheet SQLs.sql └── README.md ├── EAM Assets ├── EAM Assets.sql └── README.md ├── EAM Weekly Schedule ├── EAM Weekly Schedule.sql └── README.md ├── EAM Work Orders ├── EAM Work Orders.sql └── README.md ├── ECC Admin - Concurrent Programs ├── ECC Admin - Concurrent Programs.sql └── README.md ├── ECC Admin - Data Load Tracking ├── ECC Admin - Data Load Tracking.sql └── README.md ├── ECC Admin - Data Sets ├── ECC Admin - Data Sets.sql └── README.md ├── ECC Admin - Metadata Attributes ├── ECC Admin - Metadata Attributes.sql └── README.md ├── FA Additions By Source ├── FA Additions By Source.sql └── README.md ├── FA Asset Additions ├── FA Asset Additions.sql └── README.md ├── FA Asset Book Details 11i ├── FA Asset Book Details 11i.sql └── README.md ├── FA Asset Book Details ├── FA Asset Book Details.sql └── README.md ├── FA Asset Cost ├── FA Asset Cost.sql └── README.md ├── FA Asset Impairments ├── FA Asset Impairments.sql └── README.md ├── FA Asset Inventory Report ├── FA Asset Inventory Report.sql └── README.md ├── FA Asset Inventory ├── FA Asset Inventory.sql └── README.md ├── FA Asset Reclassification ├── FA Asset Reclassification.sql └── README.md ├── FA Asset Register ├── FA Asset Register.sql └── README.md ├── FA Asset Retirements ├── FA Asset Retirements.sql └── README.md ├── FA Asset Summary (Germany) ├── FA Asset Summary (Germany).sql └── README.md ├── FA CIP Cost ├── FA CIP Cost.sql └── README.md ├── FA Cost Adjustments ├── FA Cost Adjustments.sql └── README.md ├── FA Depreciation Projection ├── FA Depreciation Projection.sql └── README.md ├── FA Depreciation Reserve ├── FA Depreciation Reserve.sql └── README.md ├── FA Journal Entry Reserve Ledger ├── FA Journal Entry Reserve Ledger.sql └── README.md ├── FA Revaluation Reserve ├── FA Revaluation Reserve.sql └── README.md ├── FA Tax Reserve Ledger ├── FA Tax Reserve Ledger.sql └── README.md ├── FND Application Context File ├── FND Application Context File.sql └── README.md ├── FND Applications ├── FND Applications.sql └── README.md ├── FND Attached Documents ├── FND Attached Documents.sql └── README.md ├── FND Attachment Functions ├── FND Attachment Functions.sql └── README.md ├── FND Audit Setup ├── FND Audit Setup.sql └── README.md ├── FND Audit Table Changes by Column ├── FND Audit Table Changes by Column.sql └── README.md ├── FND Audit Table Changes by Record ├── FND Audit Table Changes by Record.sql └── README.md ├── FND Concurrent Managers ├── FND Concurrent Managers.sql └── README.md ├── FND Concurrent Program Incompatibilities ├── FND Concurrent Program Incompatibilities.sql └── README.md ├── FND Concurrent Programs and Executables 11i ├── FND Concurrent Programs and Executables 11i.sql └── README.md ├── FND Concurrent Programs and Executables ├── FND Concurrent Programs and Executables.sql └── README.md ├── FND Concurrent Request Conflicts ├── FND Concurrent Request Conflicts.sql └── README.md ├── FND Concurrent Requests 11i ├── FND Concurrent Requests 11i.sql └── README.md ├── FND Concurrent Requests Summary ├── FND Concurrent Requests Summary.sql └── README.md ├── FND Concurrent Requests ├── FND Concurrent Requests.sql └── README.md ├── FND Descriptive Flexfield Table Columns ├── FND Descriptive Flexfield Table Columns.sql └── README.md ├── FND Descriptive Flexfields ├── FND Descriptive Flexfields.sql └── README.md ├── FND FNDLOAD Object Transfer ├── FND FNDLOAD Object Transfer.sql └── README.md ├── FND Flex Hierarchies (Rollup Groups) ├── FND Flex Hierarchies (Rollup Groups).sql └── README.md ├── FND Flex Value Hierarchy ├── FND Flex Value Hierarchy.sql └── README.md ├── FND Flex Value Security Rules ├── FND Flex Value Security Rules.sql └── README.md ├── FND Flex Value Sets- Usages and Values ├── FND Flex Value Sets- Usages and Values.sql └── README.md ├── FND Flex Values ├── FND Flex Values.sql └── README.md ├── FND Form Functions ├── FND Form Functions.sql └── README.md ├── FND Forms Personalizations ├── FND Forms Personalizations.sql └── README.md ├── FND Help Documents and Targets ├── FND Help Documents and Targets.sql └── README.md ├── FND Key Flexfields ├── FND Key Flexfields.sql └── README.md ├── FND Languages ├── FND Languages.sql └── README.md ├── FND Lobs ├── FND Lobs.sql └── README.md ├── FND Log Messages ├── FND Log Messages.sql └── README.md ├── FND Lookup Search ├── FND Lookup Search.sql └── README.md ├── FND Lookup Upload ├── FND Lookup Upload.sql └── README.md ├── FND Lookup Values Comparison between environments ├── FND Lookup Values Comparison between environments.sql └── README.md ├── FND Lookup Values ├── FND Lookup Values.sql └── README.md ├── FND Menu Entries ├── FND Menu Entries.sql └── README.md ├── FND Messages ├── FND Messages.sql └── README.md ├── FND Nodes ├── FND Nodes.sql └── README.md ├── FND Profile Option Values ├── FND Profile Option Values.sql └── README.md ├── FND Profile Options ├── FND Profile Options.sql └── README.md ├── FND Request Groups ├── FND Request Groups.sql └── README.md ├── FND Responsibilities ├── FND Responsibilities.sql └── README.md ├── FND Responsibility Access 11i ├── FND Responsibility Access 11i.sql └── README.md ├── FND Responsibility Access ├── FND Responsibility Access.sql └── README.md ├── FND Responsibility Menu Exclusions ├── FND Responsibility Menu Exclusions.sql └── README.md ├── FND Role Hierarchy ├── FND Role Hierarchy.sql └── README.md ├── FND Roles ├── FND Roles.sql └── README.md ├── FND SOA Runtime Error ├── FND SOA Runtime Error.sql └── README.md ├── FND Tables and Columns ├── FND Tables and Columns.sql └── README.md ├── FND User Login History ├── FND User Login History.sql └── README.md ├── FND User Login Page Favorites ├── FND User Login Page Favorites.sql └── README.md ├── FND User Login Summary ├── FND User Login Summary.sql └── README.md ├── FND User Responsibilities ├── FND User Responsibilities.sql └── README.md ├── FND User Roles 11i ├── FND User Roles 11i.sql └── README.md ├── FND User Roles ├── FND User Roles.sql └── README.md ├── FND User Upload ├── FND User Upload.sql └── README.md ├── FND Users ├── FND Users.sql └── README.md ├── GL Account Analysis (Distributions) 11g ├── GL Account Analysis (Distributions) 11g.sql └── README.md ├── GL Account Analysis (Distributions) ├── GL Account Analysis (Distributions).sql └── README.md ├── GL Account Analysis (Drilldown) (with inventory and WIP) ├── GL Account Analysis (Drilldown) (with inventory and WIP).sql └── README.md ├── GL Account Analysis (Drilldown) ├── GL Account Analysis (Drilldown).sql └── README.md ├── GL Account Analysis 11g ├── GL Account Analysis 11g.sql └── README.md ├── GL Account Analysis 11i ├── GL Account Analysis 11i.sql └── README.md ├── GL Account Analysis ├── GL Account Analysis.sql └── README.md ├── GL Account Upload ├── GL Account Upload.sql └── README.md ├── GL Balance (pivot) ├── GL Balance (pivot).sql └── README.md ├── GL Balance by Account Hierarchy ├── GL Balance by Account Hierarchy.sql └── README.md ├── GL Balance ├── GL Balance.sql └── README.md ├── GL Budget Amounts Upload ├── GL Budget Amounts Upload.sql └── README.md ├── GL Code Combinations ├── GL Code Combinations.sql └── README.md ├── GL Daily Rates Upload ├── GL Daily Rates Upload.sql └── README.md ├── GL Daily Rates ├── GL Daily Rates.sql └── README.md ├── GL Data Access Sets ├── GL Data Access Sets.sql └── README.md ├── GL FSG Reports ├── GL FSG Reports.sql └── README.md ├── GL FSG Row Orders ├── GL FSG Row Orders.sql └── README.md ├── GL Financial Statement and Drilldown (FSG) ├── GL Financial Statement and Drilldown (FSG).sql └── README.md ├── GL Header Categories Summary ├── GL Header Categories Summary.sql └── README.md ├── GL Journal Upload ├── GL Journal Upload.sql └── README.md ├── GL Journals (Drilldown) 11g ├── GL Journals (Drilldown) 11g.sql └── README.md ├── GL Journals (Drilldown) ├── GL Journals (Drilldown).sql └── README.md ├── GL Journals 11i ├── GL Journals 11i.sql └── README.md ├── GL Journals ├── GL Journals.sql └── README.md ├── GL Ledger Sets ├── GL Ledger Sets.sql └── README.md ├── GL Ledgers and Legal Entities ├── GL Ledgers and Legal Entities.sql └── README.md ├── GL Ledgers and Organizations ├── GL Ledgers and Organizations.sql └── README.md ├── GL Oracle FSG Converter 11g ├── GL Oracle FSG Converter 11g.sql └── README.md ├── GL Oracle FSG Converter ├── GL Oracle FSG Converter.sql └── README.md ├── GL Rollup Groups ├── GL Rollup Groups.sql └── README.md ├── GL Summary Account Upload ├── GL Summary Account Upload.sql └── README.md ├── GL Summary Templates ├── GL Summary Templates.sql └── README.md ├── GL Trial Balance - Detail ├── GL Trial Balance - Detail.sql └── README.md ├── GMI Cycle Count Forms ├── GMI Cycle Count Forms.sql └── README.md ├── IBY Payment Process Request Details ├── IBY Payment Process Request Details.sql └── README.md ├── INV Aging ├── INV Aging.sql └── README.md ├── INV Cycle count entries and adjustments ├── INV Cycle count entries and adjustments.sql └── README.md ├── INV Cycle count hit-miss analysis ├── INV Cycle count hit-miss analysis.sql └── README.md ├── INV Cycle count listing ├── INV Cycle count listing.sql └── README.md ├── INV Cycle count open requests listing ├── INV Cycle count open requests listing.sql └── README.md ├── INV Cycle count schedule requests ├── INV Cycle count schedule requests.sql └── README.md ├── INV Cycle count unscheduled items ├── INV Cycle count unscheduled items.sql └── README.md ├── INV Cycle counts pending approval ├── INV Cycle counts pending approval.sql └── README.md ├── INV Default Category Sets ├── INV Default Category Sets.sql └── README.md ├── INV Intercompany Invoice Reconciliation 11i ├── INV Intercompany Invoice Reconciliation 11i.sql └── README.md ├── INV Intercompany Invoice Reconciliation ├── INV Intercompany Invoice Reconciliation.sql └── README.md ├── INV Item Category Assignment ├── INV Item Category Assignment.sql └── README.md ├── INV Item Category Sets ├── INV Item Category Sets.sql └── README.md ├── INV Item Default Transaction Locators ├── INV Item Default Transaction Locators.sql └── README.md ├── INV Item Default Transaction Subinventories ├── INV Item Default Transaction Subinventories.sql └── README.md ├── INV Item Demand History ├── INV Item Demand History.sql └── README.md ├── INV Item Import Performance ├── INV Item Import Performance.sql └── README.md ├── INV Item Relationships ├── INV Item Relationships.sql └── README.md ├── INV Item Statuses ├── INV Item Statuses.sql └── README.md ├── INV Item Supply-Demand ├── INV Item Supply-Demand.sql └── README.md ├── INV Item Templates ├── INV Item Templates.sql └── README.md ├── INV Item Upload ├── INV Item Upload.sql └── README.md ├── INV Items ├── INV Items.sql └── README.md ├── INV Lot Transaction Register ├── INV Lot Transaction Register.sql └── README.md ├── INV Material Account Distribution Detail ├── INV Material Account Distribution Detail.sql └── README.md ├── INV Material Movements ├── INV Material Movements.sql └── README.md ├── INV Material Transactions Summary ├── INV Material Transactions Summary.sql └── README.md ├── INV Material Transactions ├── INV Material Transactions.sql └── README.md ├── INV Onhand Quantities ├── INV Onhand Quantities.sql └── README.md ├── INV Organization Access ├── INV Organization Access.sql └── README.md ├── INV Organization Parameters ├── INV Organization Parameters.sql └── README.md ├── INV Period Close Pending Transactions ├── INV Period Close Pending Transactions.sql └── README.md ├── INV Physical Inventory Adjustments ├── INV Physical Inventory Adjustments.sql └── README.md ├── INV Physical Inventory Tag Count Upload ├── INV Physical Inventory Tag Count Upload.sql └── README.md ├── INV Physical Inventory Tags ├── INV Physical Inventory Tags.sql └── README.md ├── INV Physical inventory accuracy analysis ├── INV Physical inventory accuracy analysis.sql └── README.md ├── INV Print Cycle Count Entries Open Interface data ├── INV Print Cycle Count Entries Open Interface data.sql └── README.md ├── INV Safety Stock Upload ├── INV Safety Stock Upload.sql └── README.md ├── INV Safety Stocks ├── INV Safety Stocks.sql └── README.md ├── INV Stock Locators ├── INV Stock Locators.sql └── README.md ├── INV Subinventories ├── INV Subinventories.sql └── README.md ├── INV Transaction Historical Summary ├── INV Transaction Historical Summary.sql └── README.md ├── INV Transaction Register ├── INV Transaction Register.sql └── README.md ├── INV Transaction Source Types ├── INV Transaction Source Types.sql └── README.md ├── INV Transaction Types ├── INV Transaction Types.sql └── README.md ├── INV Unit Of Measure Conversion Upload ├── INV Unit Of Measure Conversion Upload.sql └── README.md ├── INV Unit Of Measure Upload ├── INV Unit Of Measure Upload.sql └── README.md ├── JA India - TDS Certificates ├── JA India - TDS Certificates.sql └── README.md ├── JA India GSTR-1 Return ├── JA India GSTR-1 Return.sql └── README.md ├── JA India GSTR-2 Return ├── JA India GSTR-2 Return.sql └── README.md ├── JA India GSTR-3B Return ├── JA India GSTR-3B Return.sql └── README.md ├── JTF Grid Datasources ├── JTF Grid Datasources.sql └── README.md ├── MRP End Assembly Pegging ├── MRP End Assembly Pegging.sql └── README.md ├── MRP Exceptions ├── MRP Exceptions.sql └── README.md ├── MRP Financial Analysis ├── MRP Financial Analysis.sql └── README.md ├── MRP Horizontal Plan ├── MRP Horizontal Plan.sql └── README.md ├── MRP Item Forecast Upload ├── MRP Item Forecast Upload.sql └── README.md ├── MRP Item Forecast ├── MRP Item Forecast.sql └── README.md ├── MRP Pegging ├── MRP Pegging.sql └── README.md ├── MRP Sourcing Rule Assignment Upload ├── MRP Sourcing Rule Assignment Upload.sql └── README.md ├── MRP Sourcing Rule Upload ├── MRP Sourcing Rule Upload.sql └── README.md ├── MRP Sourcing Rules and Bills of Distribution ├── MRP Sourcing Rules and Bills of Distribution.sql └── README.md ├── MSC Exceptions ├── MSC Exceptions.sql └── README.md ├── MSC Horizontal Plan ├── MSC Horizontal Plan.sql └── README.md ├── MSC Pegging Hierarchy 11i ├── MSC Pegging Hierarchy 11i.sql └── README.md ├── MSC Pegging Hierarchy ├── MSC Pegging Hierarchy.sql └── README.md ├── MSC Plan Order Upload ├── MSC Plan Order Upload.sql └── README.md ├── MSC Plan Orders ├── MSC Plan Orders.sql └── README.md ├── MSC Sourcing Rule Assignment Upload ├── MSC Sourcing Rule Assignment Upload.sql └── README.md ├── MSC Vertical Plan ├── MSC Vertical Plan.sql └── README.md ├── OKC Contract Lines Summary ├── OKC Contract Lines Summary.sql └── README.md ├── OKL Termination Quotes ├── OKL Termination Quotes.sql └── README.md ├── OKS Service Contracts Billing History ├── OKS Service Contracts Billing History.sql └── README.md ├── OKS Service Contracts Billing Schedule ├── OKS Service Contracts Billing Schedule.sql └── README.md ├── ONT Cancelled Orders ├── ONT Cancelled Orders.sql └── README.md ├── ONT Order Holds ├── ONT Order Holds.sql └── README.md ├── ONT Orders and Lines ├── ONT Orders and Lines.sql └── README.md ├── ONT Orders ├── ONT Orders.sql └── README.md ├── ONT Recurring Billing Plan ├── ONT Recurring Billing Plan.sql └── README.md ├── ONT System Parameters ├── ONT System Parameters.sql └── README.md ├── ONT Transaction Types Listing ├── ONT Transaction Types Listing.sql └── README.md ├── ONT Transaction Types and Line WF Processes ├── ONT Transaction Types and Line WF Processes.sql └── README.md ├── OPM Reconcilation ├── OPM Reconcilation.sql └── README.md ├── PA Capital Project Summary with Asset Detail ├── PA Capital Project Summary with Asset Detail.sql └── README.md ├── PA Project Budget Upload ├── PA Project Budget Upload.sql └── README.md ├── PA Project Budget ├── PA Project Budget.sql └── README.md ├── PA Project Event Upload ├── PA Project Event Upload.sql └── README.md ├── PA Project Transaction Upload ├── PA Project Transaction Upload.sql └── README.md ├── PA Revenue- Cost- Budgets by Resources ├── PA Revenue- Cost- Budgets by Resources.sql └── README.md ├── PA Revenue- Cost- Budgets by Work Breakdown Structure ├── PA Revenue- Cost- Budgets by Work Breakdown Structure.sql └── README.md ├── PA Task Schedule ├── PA Task Schedule.sql └── README.md ├── PAY Costing Detail ├── PAY Costing Detail.sql └── README.md ├── PAY Employee Payroll History ├── PAY Employee Payroll History.sql └── README.md ├── PAY Payroll Element Details ├── PAY Payroll Element Details.sql └── README.md ├── PER Employee Assignments ├── PER Employee Assignments.sql └── README.md ├── PER Employee Grade Changes ├── PER Employee Grade Changes.sql └── README.md ├── PER Employee Salary Change ├── PER Employee Salary Change.sql └── README.md ├── PER Information Type Security ├── PER Information Type Security.sql └── README.md ├── PER Organization Hierarchy ├── PER Organization Hierarchy.sql └── README.md ├── PER Organizations ├── PER Organizations.sql └── README.md ├── PER Payroll Element Entry Upload ├── PER Payroll Element Entry Upload.sql └── README.md ├── PER Security Profiles ├── PER Security Profiles.sql └── README.md ├── PN Billing-Payment Term Upload ├── PN Billing-Payment Term Upload.sql └── README.md ├── PN Billing-Payment Upload ├── PN Billing-Payment Upload.sql └── README.md ├── PN GL Reconciliation ├── PN GL Reconciliation.sql └── README.md ├── PN Generate Lease Analysis ├── PN Generate Lease Analysis.sql └── README.md ├── PN Generate Lease Details ├── PN Generate Lease Details.sql └── README.md ├── PN Generate Portfolio Detail ├── PN Generate Portfolio Detail.sql └── README.md ├── PN Generate Portfolio Summary ├── PN Generate Portfolio Summary.sql └── README.md ├── PN Schedule Approval Status Upload ├── PN Schedule Approval Status Upload.sql └── README.md ├── PO Acceptance Upload ├── PO Acceptance Upload.sql └── README.md ├── PO Approval Assignments ├── PO Approval Assignments.sql └── README.md ├── PO Approval Groups ├── PO Approval Groups.sql └── README.md ├── PO Approved Supplier List Upload ├── PO Approved Supplier List Upload.sql └── README.md ├── PO Approved Supplier List ├── PO Approved Supplier List.sql └── README.md ├── PO Cancelled Purchase Orders ├── PO Cancelled Purchase Orders.sql └── README.md ├── PO Cancelled Requisitions ├── PO Cancelled Requisitions.sql └── README.md ├── PO Document Types ├── PO Document Types.sql └── README.md ├── PO Headers 11i ├── PO Headers 11i.sql └── README.md ├── PO Headers and Lines 11i ├── PO Headers and Lines 11i.sql └── README.md ├── PO Headers and Lines ├── PO Headers and Lines.sql └── README.md ├── PO Headers ├── PO Headers.sql └── README.md ├── PO Internal Requisitions-Deliveries Discrepancy ├── PO Internal Requisitions-Deliveries Discrepancy.sql └── README.md ├── PO Invoice Price Variance ├── PO Invoice Price Variance.sql └── README.md ├── PO Purchase Price Variance ├── PO Purchase Price Variance.sql └── README.md ├── PO Purchase Requisitions with PO Details ├── PO Purchase Requisitions with PO Details.sql └── README.md ├── PO Purchasing Document Upload ├── PO Purchasing Document Upload.sql └── README.md ├── PO Requisition Template Upload ├── PO Requisition Template Upload.sql └── README.md ├── PO Requisition Upload ├── PO Requisition Upload.sql └── README.md ├── PPF_WP3_OM_DETAILS ├── PPF_WP3_OM_DETAILS.sql └── README.md ├── PSA Budgetary Control Transactions ├── PSA Budgetary Control Transactions.sql └── README.md ├── QP Customer Pricing Engine Request ├── QP Customer Pricing Engine Request.sql └── README.md ├── QP Modifier Details ├── QP Modifier Details.sql └── README.md ├── QP Price List Upload ├── QP Price List Upload.sql └── README.md ├── QP Price Lists ├── QP Price Lists.sql └── README.md ├── QP Pricing Agreements ├── QP Pricing Agreements.sql └── README.md ├── QP Qualifier Group Upload ├── QP Qualifier Group Upload.sql └── README.md ├── README.md ├── WF Activity Status Summary ├── README.md └── WF Activity Status Summary.sql ├── WF Business Events and Subscriptions ├── README.md └── WF Business Events and Subscriptions.sql ├── WF Notifications ├── README.md └── WF Notifications.sql ├── WIP Account Distribution ├── README.md └── WIP Account Distribution.sql ├── WIP Discrete Job Shortage ├── README.md └── WIP Discrete Job Shortage.sql ├── WIP Entities Summary ├── README.md └── WIP Entities Summary.sql ├── WIP Entities ├── README.md └── WIP Entities.sql ├── WIP Outside Processing ├── README.md └── WIP Outside Processing.sql ├── WIP Required Components ├── README.md └── WIP Required Components.sql ├── WIP Value Summary ├── README.md └── WIP Value Summary.sql ├── WIP Value ├── README.md └── WIP Value.sql ├── WMS Control Board Tasks ├── README.md └── WMS Control Board Tasks.sql ├── WSH Shipping-Delivery Transactions ├── README.md └── WSH Shipping-Delivery Transactions.sql ├── XDO Publisher Data Definitions ├── README.md └── XDO Publisher Data Definitions.sql ├── XLA Distribution Links Summary ├── README.md └── XLA Distribution Links Summary.sql ├── XLA Entity ID Mappings ├── README.md └── XLA Entity ID Mappings.sql ├── XLA Subledger Period Close Exceptions ├── README.md └── XLA Subledger Period Close Exceptions.sql ├── XLE Establishment and Legal Entity Associations ├── README.md └── XLE Establishment and Legal Entity Associations.sql ├── XLE Legal Entities ├── README.md └── XLE Legal Entities.sql ├── ZX Financial Tax Register ├── README.md └── ZX Financial Tax Register.sql ├── ZX Lines Summary ├── README.md └── ZX Lines Summary.sql ├── ZX Party Tax Profiles ├── README.md └── ZX Party Tax Profiles.sql ├── ZX Tax Accounts ├── README.md └── ZX Tax Accounts.sql ├── ZX Tax Regimes ├── README.md └── ZX Tax Regimes.sql ├── ZX US Sales Tax ├── README.md └── ZX US Sales Tax.sql ├── _config.yml ├── favicon.ico ├── sitemap.xml ├── style.css ├── xxen_discoverer_pivot_fields ├── README.md └── xxen_discoverer_pivot_fields.sql ├── xxen_util.pkb ├── xxen_util.pks └── xxen_util.sql /.gitignore: -------------------------------------------------------------------------------- 1 | /README_FOOTER.md 2 | /README_HEADER.md 3 | /main.py 4 | /REPORT_SQL.md 5 | /REPORT.md 6 | -------------------------------------------------------------------------------- /AD Applied Patches R12-2/AD Applied Patches R12-2.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: AD Applied Patches R12.2 8 | -- Description: Check if a specific patch is applied in 12.2 9 | -- Excel Examle Output: https://www.enginatics.com/example/ad-applied-patches-r12-2/ 10 | -- Library Link: https://www.enginatics.com/reports/ad-applied-patches-r12-2/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | decode(ad_patch.is_patch_applied(:ebs_release, :appltop_id, :patch_num &lang),'EXPLICIT','APPLIED','NOT_APPLIED','NOT APPLIED') applied_check 15 | from dual -------------------------------------------------------------------------------- /AP Invoice Audit Listing/AP Invoice Audit Listing.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: AP Invoice Audit Listing 8 | -- Description: Imported Oracle standard 'Invoice Audit Listing' report 9 | Application: Payables 10 | Source: Invoice Audit Listing 11 | Short Name: APXINLST 12 | -- Excel Examle Output: https://www.enginatics.com/example/ap-invoice-audit-listing/ 13 | -- Library Link: https://www.enginatics.com/reports/ap-invoice-audit-listing/ 14 | -- Run Report: https://demo.enginatics.com/ 15 | 16 | select 17 | haouv.name operating_unit, 18 | aia.invoice_num invoice_number, 19 | aia.invoice_date, 20 | aia.invoice_currency_code currency_code, 21 | aia.invoice_amount, 22 | aia.description, 23 | xxen_util.meaning(aia.invoice_type_lookup_code,'INVOICE TYPE',200) invoice_type, 24 | nvl(aps.vendor_name,hp.party_name) vendor_name, 25 | nvl(aps.segment1,hp.party_number) vendor_number, 26 | nvl(to_char(aia.doc_sequence_value),aia.voucher_num) voucher_number 27 | from 28 | hr_all_organization_units_vl haouv, 29 | ap_invoices_all aia, 30 | ap_suppliers aps, 31 | hz_parties hp 32 | where 33 | 1=1 and 34 | haouv.organization_id=aia.org_id and 35 | aia.vendor_id=aps.vendor_id(+) and 36 | aia.party_id=hp.party_id 37 | order by 38 | aia.invoice_date, 39 | aia.invoice_currency_code, 40 | aia.invoice_amount, 41 | upper(aps.vendor_name), 42 | upper(aia.invoice_num) -------------------------------------------------------------------------------- /AP Negative Supplier Balance/AP Negative Supplier Balance.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: AP Negative Supplier Balance 8 | -- Description: Application: Payables 9 | Source: Accounts Payable Negative Supplier Balance 10 | Short Name: APXNVBAL 11 | DB package: XLA_TB_AP_REPORT_PVT 12 | -- Excel Examle Output: https://www.enginatics.com/example/ap-negative-supplier-balance/ 13 | -- Library Link: https://www.enginatics.com/reports/ap-negative-supplier-balance/ 14 | -- Run Report: https://demo.enginatics.com/ 15 | 16 | select 17 | x.account liability_account 18 | ,x.third_party_name supplier_name 19 | &sum_or_detail_cols 20 | from 21 | (select 22 | xtb.account 23 | ,xtb.third_party_name 24 | ,xtb.user_trx_identifier_value_3 25 | ,xtb.user_trx_identifier_value_10 26 | ,xtb.user_trx_identifier_value_8 27 | ,xtb.ledger_currency_code 28 | ,xtb.src_acctd_rounded_orig_amt 29 | ,xtb.src_acctd_rounded_rem_amt 30 | ,sum(xtb.src_acctd_rounded_rem_amt) over(partition by xtb.account,xtb.third_party_name) sum_supp_liability 31 | from 32 | (&p_template_sql_statement 33 | &p_sql_statement 34 | ) xtb 35 | ) x 36 | where 37 | 1=1 38 | and x.sum_supp_liability < 0 39 | &summary_group_by -------------------------------------------------------------------------------- /AR Adjustment Register/AR Adjustment Register.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: AR Adjustment Register 8 | -- Description: Application: Receivables 9 | Source: Adjustment Register 10 | Short Name: ARRXARPB 11 | 12 | The report has now been enhanced to allow multiple accessible Ledgers or Operating Units to be selected in the Reporting Context parameter. Additionally, the Reporting Context parameter has been made optional. Leaving it null will allow the report to be run across all accessible Ledgers or Operating Units. 13 | -- Excel Examle Output: https://www.enginatics.com/example/ar-adjustment-register/ 14 | -- Library Link: https://www.enginatics.com/reports/ar-adjustment-register/ 15 | -- Run Report: https://demo.enginatics.com/ 16 | 17 | select 18 | rx.organization_name ledger, 19 | rx.functional_currency_code functional_currency, 20 | rx.debit_balancing "&bal_segment_p", 21 | rx.debit_balancing_desc "&bal_segment_d", 22 | rx.postable, 23 | rx.adj_currency_code currency, 24 | rx.adj_class adjustment_class, 25 | rx.trx_number invoice_number, 26 | rx.adj_name "Type", 27 | rx.customer_name, 28 | rx.customer_number, 29 | rx.trx_date invoice_date, 30 | rx.gl_date, 31 | rx.due_date, 32 | rx.adj_number adjustment_number, 33 | rx.adj_type_meaning adjustment_type, 34 | rx.adj_amount entered_adjustment_amount, 35 | rx.acctd_adj_amount functional_adjustment_amount, 36 | rx.d_or_i "D/I", 37 | rx.doc_sequence_name, 38 | rx.doc_sequence_value 39 | from 40 | ar_adjustments_rep_itf rx 41 | where 42 | 1=1 43 | and rx.request_id = fnd_global.conc_request_id 44 | order by 45 | rx.organization_name, 46 | rx.functional_currency_code, 47 | rx.debit_balancing, 48 | rx.postable, 49 | rx.adj_currency_code, 50 | rx.adj_class, 51 | rx.customer_name -------------------------------------------------------------------------------- /AR Aging Buckets and Interest Tiers Setup/AR Aging Buckets and Interest Tiers Setup.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: AR Aging Buckets and Interest Tiers Setup 8 | -- Description: AR Aging Buckets and Interest Tiers Setup 9 | -- Excel Examle Output: https://www.enginatics.com/example/ar-aging-buckets-and-interest-tiers-setup/ 10 | -- Library Link: https://www.enginatics.com/reports/ar-aging-buckets-and-interest-tiers-setup/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | aab.bucket_name 15 | , aab.aging_bucket_id bucket_id 16 | , xxen_util.meaning(nvl(aab.status,'A'),'ACTIVE_INACTIVE',3) bucket_status 17 | , xxen_util.meaning(aab.aging_type,'AGING_BUCKETS_TYPE',222) bucket_type 18 | , aab.description bucket_description 19 | , aabl.bucket_sequence_num bucket_line_sequence 20 | , xxen_util.meaning(aabl.type,'AGING_BUCKET_LINE_TYPE',222) bucket_line_type 21 | , aabl.days_start 22 | , aabl.days_to 23 | , aabl.report_heading1 24 | , aabl.report_heading2 25 | , aab.creation_date bucket_creation_date 26 | , xxen_util.user_name(aab.created_by) bucket_created_by 27 | , aab.last_update_date bucket_last_updated 28 | , xxen_util.user_name(aab.last_updated_by) bucket_last_updated_by 29 | , aabl.creation_date bucket_line_creation_date 30 | , xxen_util.user_name(aabl.created_by) bucket_line_created_by 31 | , aabl.last_update_date bucket_line_last_updated 32 | , xxen_util.user_name(aabl.last_updated_by) bucket_line_last_updated_by 33 | from 34 | ar_aging_bucket_lines aabl 35 | , ar_aging_buckets aab 36 | where 37 | 1=1 38 | and aabl.aging_bucket_id = aab.aging_bucket_id 39 | order by 40 | aab.bucket_name 41 | , aabl.bucket_sequence_num -------------------------------------------------------------------------------- /AR Autoinvoice Interface Summary/AR Autoinvoice Interface Summary.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: AR Autoinvoice Interface Summary 8 | -- Description: Summary of records in the autoinvoice interface, sorted by operating unit, and including order count, total orders value and currency code. 9 | -- Excel Examle Output: https://www.enginatics.com/example/ar-autoinvoice-interface-summary/ 10 | -- Library Link: https://www.enginatics.com/reports/ar-autoinvoice-interface-summary/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | haouv.name operating_unit, 15 | count(*) count, 16 | count(distinct decode(rila.interface_line_context,'ORDER ENTRY',rila.interface_line_attribute1)) order_count, 17 | &lp_columns 18 | sum(rila.amount) amount, 19 | rila.currency_code, 20 | riea.message_text, 21 | rila.batch_source_name, 22 | rila.interface_line_context, 23 | rila.request_id 24 | from 25 | hr_all_organization_units_vl haouv, 26 | ra_interface_lines_all rila, 27 | ra_interface_errors_all riea 28 | where 29 | 1=1 and 30 | haouv.organization_id in (select mgoat.organization_id from mo_glob_org_access_tmp mgoat union select fnd_global.org_id from dual where fnd_release.major_version=11) and 31 | haouv.organization_id=rila.org_id and 32 | rila.interface_line_id=riea.interface_line_id(+) 33 | group by 34 | haouv.name, 35 | &group_by 36 | rila.currency_code, 37 | riea.message_text, 38 | rila.interface_status, 39 | rila.batch_source_name, 40 | rila.interface_line_context, 41 | rila.request_id 42 | order by 43 | haouv.name, 44 | count(*) desc -------------------------------------------------------------------------------- /AR Payment Terms/AR Payment Terms.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: AR Payment Terms 8 | -- Description: Master data report showing the payment terms codes with their respective profile options. 9 | -- Excel Examle Output: https://www.enginatics.com/example/ar-payment-terms/ 10 | -- Library Link: https://www.enginatics.com/reports/ar-payment-terms/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | rtt.name term_name, 15 | rtt.description, 16 | decode(rtb.partial_discount_flag,'Y','Yes') partial_payment_discount, 17 | decode(rtb.prepayment_flag,'Y','Yes') prepayment, 18 | decode(rtb.credit_check_flag,'Y','Yes') credit_check, 19 | &billing_cycle_column 20 | rtb.base_amount, 21 | xxen_util.meaning(decode(rtb.calc_discount_on_lines_flag,'Y','L','N','I',rtb.calc_discount_on_lines_flag),'DISCOUNT_BASIS',222) discount_basis, 22 | rtb.printing_lead_days, 23 | xxen_util.meaning(rtb.first_installment_code,'INSTALLMENT_OPTION',222) installment_options, 24 | rtl.relative_amount, 25 | rtl.due_days, 26 | rtl.due_day_of_month day_of_month, 27 | rtl.due_months_forward months_ahead, 28 | (select distinct listagg(rtld.discount_percent||'%/'||nvl(rtld.discount_days,nvl(rtld.discount_day_of_month,rtld.discount_months_forward)),', ') within group (order by rtld.discount_days) over (partition by rtld.term_id) from ra_terms_lines_discounts rtld where rtb.term_id=rtld.term_id) cash_discount, 29 | xxen_util.user_name(rtb.created_by) created_by, 30 | xxen_util.client_time(rtb.creation_date) creation_date, 31 | xxen_util.user_name(rtb.last_updated_by) last_updated_by, 32 | xxen_util.client_time(rtb.last_update_date) last_update_date 33 | from 34 | ra_terms_b rtb, 35 | ra_terms_tl rtt, 36 | &billing_cycle_table 37 | ra_terms_lines rtl 38 | where 39 | 1=1 and 40 | rtb.term_id=rtt.term_id and 41 | rtt.language=userenv('lang') and 42 | &billing_cycle_joins 43 | rtb.term_id=rtl.term_id 44 | order by 45 | rtt.name, 46 | rtl.sequence_num -------------------------------------------------------------------------------- /BOM Calendar Exceptions/BOM Calendar Exceptions.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: BOM Calendar Exceptions 8 | -- Description: Master data report showing bill of material exceptions dates, exception types and organization code. 9 | -- Excel Examle Output: https://www.enginatics.com/example/bom-calendar-exceptions/ 10 | -- Library Link: https://www.enginatics.com/reports/bom-calendar-exceptions/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | bce.calendar_code, 15 | bce.exception_date, 16 | to_char(bce.exception_date,'Day') weekday, 17 | xxen_util.meaning(bce.exception_type,'BOM_ON_OFF',700) exception_type, 18 | mp.organization_code, 19 | haouv.name organization 20 | from 21 | hr_all_organization_units_vl haouv, 22 | mtl_parameters mp, 23 | bom_calendar_exceptions bce 24 | where 25 | 1=1 and 26 | mp.organization_code in (select oav.organization_code from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id) and 27 | haouv.organization_id=mp.organization_id and 28 | mp.calendar_code=bce.calendar_code 29 | order by 30 | bce.calendar_code, 31 | mp.organization_code, 32 | bce.exception_date -------------------------------------------------------------------------------- /BOM Calendars/BOM Calendars.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: BOM Calendars 8 | -- Description: Bill of material calendars and calendar dates 9 | -- Excel Examle Output: https://www.enginatics.com/example/bom-calendars/ 10 | -- Library Link: https://www.enginatics.com/reports/bom-calendars/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select distinct 14 | bc.calendar_code, 15 | bc.description, 16 | xxen_util.meaning(bc.quarterly_calendar_type,'BOM_CALENDAR_QT',700) quarterly_calendar_type, 17 | bc.calendar_start_date, 18 | bc.calendar_end_date, 19 | &calendar_date 20 | min(bcd.calendar_date) over (partition by bcd.calendar_code) min_calendar_date, 21 | max(bcd.calendar_date) over (partition by bcd.calendar_code) max_calendar_date, 22 | &organization_code 23 | xxen_util.user_name(bc.created_by) created_by, 24 | xxen_util.client_time(bc.creation_date) creation_date, 25 | xxen_util.user_name(bc.last_updated_by) last_updated_by, 26 | xxen_util.client_time(bc.last_update_date) last_update_date 27 | from 28 | bom_calendars bc, 29 | bom_calendar_dates bcd, 30 | (select mp.* from mtl_parameters mp where '&show_organizations'='Y') mp, 31 | hr_all_organization_units_vl haouv 32 | where 33 | 1=1 and 34 | bc.calendar_code=bcd.calendar_code(+) and 35 | bc.calendar_code=mp.calendar_code(+) and 36 | mp.organization_id=haouv.organization_id(+) 37 | order by 38 | bc.calendar_code -------------------------------------------------------------------------------- /Blitz Report Application Categories/Blitz Report Application Categories.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Application Categories 8 | -- Description: Oracle application -> Blitz Report assignment via lookup XXEN_REPORT_APPS_CATEGORIES. 9 | 10 | This setup controls how automatically imported BI publisher reports and concurrent programs are assigned to Blitz Report categories. 11 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-application-categories/ 12 | -- Library Link: https://www.enginatics.com/reports/blitz-report-application-categories/ 13 | -- Run Report: https://demo.enginatics.com/ 14 | 15 | select 16 | trim(regexp_substr(flv.description,'[^,]+',1,rowgen.column_value)) category, 17 | fav.application_name, 18 | flv.lookup_code application_short_name 19 | from 20 | fnd_lookup_values flv, 21 | table(xxen_util.rowgen(regexp_count(flv.description,',')+1)) rowgen, 22 | fnd_application_vl fav 23 | where 24 | flv.language=userenv('lang') and 25 | flv.description is not null and 26 | flv.lookup_code not like 'ALL%' and 27 | flv.lookup_type='XXEN_REPORT_APPS_CATEGORIES' and 28 | flv.view_application_id=0 and 29 | flv.security_group_id=0 and 30 | flv.lookup_code=fav.application_short_name(+) 31 | order by 32 | category, 33 | fav.application_name 34 | -------------------------------------------------------------------------------- /Blitz Report Assignments/Blitz Report Assignments.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Assignments 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-assignments/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-assignments/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select distinct 14 | xrav.report_name, 15 | xrv.type_dsp type, 16 | xrv.category, 17 | xxen_util.meaning(xrv.enabled,'YES_NO',0) enabled, 18 | xxen_util.meaning(xrav.include_exclude,'INCLUDE_EXCLUDE',0) include_exclude, 19 | xrav.assignment_level_desc level_name, 20 | xrav.level_value value, 21 | xrav.description, 22 | xrav.block_name form_block, 23 | &columns 24 | xxen_util.user_name(xrav.created_by) created_by, 25 | xxen_util.client_time(xrav.creation_date) creation_date, 26 | xxen_util.user_name(xrav.last_updated_by) last_updated_by, 27 | xxen_util.client_time(xrav.last_update_date) last_update_date, 28 | xrav.report_id, 29 | xrav.id1, 30 | xrav.id2 31 | from 32 | xxen_reports_v xrv, 33 | xxen_report_assignments_v xrav, 34 | (select xrzpvv.* from xxen_report_zoom_param_vals_v xrzpvv where '&show_form_parameter_defaults'='Y') xrzpvv 35 | where 36 | 1=1 and 37 | xrv.report_id=xrav.report_id and 38 | xrav.assignment_id=xrzpvv.assignment_id(+) 39 | order by 40 | xrav.report_name, 41 | xrav.assignment_level_desc, 42 | xrav.level_value, 43 | xrav.block_name 44 | &order_by -------------------------------------------------------------------------------- /Blitz Report Category Assignments/Blitz Report Category Assignments.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Category Assignments 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-category-assignments/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-category-assignments/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xrv.report_name, 15 | xrcv.category, 16 | xxen_util.user_name(xrca.created_by) created_by, 17 | xrca.creation_date 18 | from 19 | xxen_reports_v xrv, 20 | xxen_report_category_assigns xrca, 21 | xxen_report_categories_v xrcv 22 | where 23 | 1=1 and 24 | xrv.report_id=xrca.report_id and 25 | xrca.category_id=xrcv.category_id 26 | order by 27 | xrv.report_name, 28 | xrcv.category -------------------------------------------------------------------------------- /Blitz Report Column Number Fomat Comparison between environments/Blitz Report Column Number Fomat Comparison between environments.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Column Number Fomat Comparison between environments 8 | -- Description: Shows differences in Blitz Report column translations between the local and a remote database server 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-column-number-fomat-comparison-between-environments/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-column-number-fomat-comparison-between-environments/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | nvl(xrc.column_name,xrc2.column_name) column_name, 15 | xrc.number_format, 16 | xrc2.number_format number_format_remote, 17 | xxen_util.user_name(xrc.last_updated_by) last_updated_by, 18 | xrc.last_update_date, 19 | xxen_util.user_name@&database_link(xrc2.last_updated_by) last_updated_by_remote, 20 | xrc2.last_update_date last_update_date_remote, 21 | xxen_util.user_name(xrc.created_by) created_by, 22 | xrc.creation_date, 23 | xxen_util.user_name@&database_link(xrc2.created_by) created_by_remote, 24 | xrc2.creation_date creation_date_remote 25 | from 26 | (select xrc.* from xxen_report_columns xrc where xrc.number_format is not null) xrc 27 | full join 28 | (select xrc.* from xxen_report_columns@&database_link xrc where xrc.number_format is not null) xrc2 29 | on 30 | xrc.column_name=xrc2.column_name 31 | where 32 | 1=1 -------------------------------------------------------------------------------- /Blitz Report Column Translation Comparison between environments/Blitz Report Column Translation Comparison between environments.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Column Translation Comparison between environments 8 | -- Description: Shows differences in Blitz Report column translations between the local and a remote database server 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-column-translation-comparison-between-environments/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-column-translation-comparison-between-environments/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | nvl(xrct.column_name,xrct2.column_name) column_name, 15 | nvl(xrct.language,xrct2.language) language, 16 | xrct.translation, 17 | xrct2.translation translation_remote 18 | from 19 | ( 20 | select 21 | xrc.column_name, 22 | xrct.language, 23 | xrct.translation 24 | from 25 | xxen_report_columns xrc, 26 | xxen_report_columns_tl xrct 27 | where 28 | 1=1 and 29 | xrc.column_id=xrct.column_id 30 | ) xrct 31 | full join 32 | ( 33 | select 34 | xrc.column_name, 35 | xrct.language, 36 | xrct.translation 37 | from 38 | xxen_report_columns@&database_link xrc, 39 | xxen_report_columns_tl@&database_link xrct 40 | where 41 | 1=1 and 42 | xrc.column_id=xrct.column_id 43 | ) xrct2 44 | on 45 | xrct.column_name=xrct2.column_name and 46 | xrct.language=xrct2.language 47 | where 48 | 2=2 -------------------------------------------------------------------------------- /Blitz Report Column Translations/Blitz Report Column Translations.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Column Translations 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-column-translations/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-column-translations/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xrc.column_name, 15 | xrc.number_format, 16 | xrct.language_desc language, 17 | xrct.translation, 18 | xrct.language language_code, 19 | xxen_util.user_name(xrc.created_by) column_created_by, 20 | xxen_util.client_time(xrc.creation_date) column_creation_date, 21 | xxen_util.user_name(xrc.last_updated_by) column_last_updated_by, 22 | xxen_util.client_time(xrc.last_update_date) column_last_update_date, 23 | xxen_util.user_name(xrct.created_by) translation_created_by, 24 | xxen_util.client_time(xrct.creation_date) translation_creation_date, 25 | xxen_util.user_name(xrct.last_updated_by) translation_last_updated_by, 26 | xxen_util.client_time(xrct.last_update_date) translation_last_update_date 27 | from 28 | xxen_report_columns xrc, 29 | (select flv.description language_desc, xrct.* from xxen_report_columns_tl xrct, fnd_languages_vl flv where 2=2 and xrct.language=flv.language_code) xrct 30 | where 31 | 1=1 and 32 | xrc.column_id=xrct.column_id(+) 33 | order by 34 | xrc.column_name, 35 | xrct.language_desc -------------------------------------------------------------------------------- /Blitz Report Default Templates/Blitz Report Default Templates.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Default Templates 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-default-templates/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-default-templates/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xrv.report_name, 15 | xrv.type_dsp type, 16 | xrv.category, 17 | xrt.template_name, 18 | xxen_util.meaning(nvl2(xrdt.user_id,null,'Y'),'YES_NO',0) global_default, 19 | xxen_util.user_name(xrdt.user_id) user_name, 20 | xxen_util.user_name(xrdt.created_by) created_by, 21 | xxen_util.client_time(xrdt.creation_date) creation_date, 22 | xxen_util.user_name(xrdt.last_updated_by) last_updated_by, 23 | xxen_util.client_time(xrdt.last_update_date) last_update_date 24 | from 25 | xxen_reports_v xrv, 26 | xxen_report_default_templates xrdt, 27 | xxen_report_templates xrt 28 | where 29 | 1=1 and 30 | xrv.report_id=xrdt.report_id and 31 | xrdt.template_id=xrt.template_id(+) 32 | order by 33 | xrv.report_name, 34 | nvl2(xrdt.user_id,null,'Y'), 35 | user_name -------------------------------------------------------------------------------- /Blitz Report Deletion History/Blitz Report Deletion History.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Deletion History 8 | -- Description: Shows deleted Blitz Reports and can be used to recover accidentally deleted reports. 9 | The history of deleted reports can be purged completely by running concurrent 'Blitz Report Monitor' with parameter 'Purge delete reports SQL history' set to Yes 10 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-deletion-history/ 11 | -- Library Link: https://www.enginatics.com/reports/blitz-report-deletion-history/ 12 | -- Run Report: https://demo.enginatics.com/ 13 | 14 | select 15 | xrh.report_name, 16 | xrh.version, 17 | xxen_util.user_name(xrh.min_created_by) created_by, 18 | xxen_util.client_time(xrh.min_creation_date) creation_date, 19 | xxen_util.user_name(xrh.created_by) last_updated_by, 20 | xxen_util.client_time(xrh.creation_date) last_update_date, 21 | xrh.sql_text, 22 | xrh.guid 23 | from 24 | ( 25 | select 26 | count(*) over (partition by xrh.report_id) version, 27 | max(xrh.creation_date) over (partition by xrh.report_id) max_creation_date, 28 | min(xrh.creation_date) over (partition by xrh.report_id) min_creation_date, 29 | min(xrh.created_by) keep (dense_rank first order by xrh.creation_date) over (partition by xrh.report_id) min_created_by, 30 | xrh.* 31 | from 32 | xxen_reports_h xrh 33 | ) xrh 34 | where 35 | xrh.creation_date=xrh.max_creation_date and 36 | not exists (select null from xxen_reports xr where xrh.report_id=xr.report_id) 37 | order by 38 | xrh.creation_date desc -------------------------------------------------------------------------------- /Blitz Report LOV SQL Validation/Blitz Report LOV SQL Validation.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report LOV SQL Validation 8 | -- Description: Validates Blitz Report LOV SQLs for valid syntax. 9 | This can be useful after mass migrating reports from other tools such as Discoverer, Excl4apps, splashBI or Polaris Reporting Workbench into Blitz Report. 10 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-lov-sql-validation/ 11 | -- Library Link: https://www.enginatics.com/reports/blitz-report-lov-sql-validation/ 12 | -- Run Report: https://demo.enginatics.com/ 13 | 14 | select 15 | z.* 16 | from 17 | ( 18 | select 19 | y.*, 20 | nvl2(y.error_message,'Error','Valid') validation_result 21 | from 22 | ( 23 | select 24 | x.lov_name, 25 | x.report_name, 26 | x.parameter_name, 27 | xxen_report.validate_sql(replace(x.lov_query,':$flex$.',':'),'parse') error_message, 28 | x.lov_query 29 | from 30 | ( 31 | select 32 | xrpl.lov_name, 33 | null report_name, 34 | null parameter_name, 35 | xrpl.lov_query 36 | from 37 | xxen_report_parameter_lovs xrpl 38 | where 39 | 1=1 40 | union all 41 | select 42 | null lov_name, 43 | xrpv.report_name, 44 | xrpv.parameter_name, 45 | xrpv.lov_query 46 | from 47 | xxen_report_parameters_v xrpv 48 | where 49 | 2=2 and 50 | xrpv.parameter_type='LOV' and 51 | xrpv.lov_id is null 52 | ) x 53 | ) y 54 | ) z 55 | where 56 | 3=3 57 | order by 58 | z.lov_name -------------------------------------------------------------------------------- /Blitz Report LOVs/Blitz Report LOVs.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report LOVs 8 | -- Description: Blitz Report list of values 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-lovs/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-lovs/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xrplv.lov_name, 15 | xrplv.description, 16 | xxen_util.meaning(xrplv.validate_from_list,'YES_NO',0) validate_from_list, 17 | xxen_util.meaning(xrplv.filter_before_display,'YES_NO',0) filter_before_display, 18 | decode(xrplv.usage_count,0,to_number(null),xrplv.usage_count) usage_count, 19 | xrplv.version, 20 | (select max(xrplh.creation_date) from xxen_report_parameter_lovs_h xrplh where xrplv.lov_id=xrplh.lov_id) last_sql_update_date, 21 | xxen_util.user_name(xrplv.created_by) created_by, 22 | xxen_util.client_time(xrplv.creation_date) creation_date, 23 | xxen_util.user_name(xrplv.last_updated_by) last_updated_by, 24 | xxen_util.client_time(xrplv.last_update_date) last_update_date, 25 | xrplv.lov_query, 26 | length(xrplv.lov_query) lov_query_size 27 | from 28 | ( 29 | select 30 | (select count(*) from xxen_report_parameters xrp where xrp.parameter_type='LOV' and xrplv.lov_id=xrp.lov_id) usage_count, 31 | xrplv.* 32 | from 33 | xxen_report_parameter_lovs_v xrplv 34 | ) xrplv 35 | where 36 | 1=1 -------------------------------------------------------------------------------- /Blitz Report License Users/Blitz Report License Users.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report License Users 8 | -- Description: Currently active Blitz Report users (running reports within the past 60 days) and their most frequently executeds reports. 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-license-users/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-license-users/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xxen_util.user_name(xrlu.user_id) user_name, 15 | fu.start_date user_start_date, 16 | xxen_util.client_time(y.first_run_date) first_run_date, 17 | xxen_util.client_time(xrlu.last_run_date) last_run_date, 18 | y.run_count, 19 | y.distinct_reports, 20 | xrv.report_name most_popular, 21 | y.most_popular_count 22 | from 23 | xxen_report_license_users xrlu, 24 | fnd_user fu, 25 | ( 26 | select distinct 27 | x.created_by, 28 | x.first_run_date, 29 | x.run_count, 30 | x.distinct_reports, 31 | max(x.report_id) keep (dense_rank last order by x.count) over (partition by x.created_by) most_popular, 32 | max(x.count) keep (dense_rank last order by x.count) over (partition by x.created_by) most_popular_count 33 | from 34 | ( 35 | select distinct 36 | xrr.created_by, 37 | xrr.first_run_date, 38 | xrr.report_id, 39 | count(*) over (partition by xrr.created_by) run_count, 40 | count(distinct xrr.report_id) over (partition by xrr.created_by) distinct_reports, 41 | count(*) over (partition by xrr.created_by, xrr.report_id) count 42 | from 43 | (select min(xrr.creation_date) over (partition by xrr.created_by) first_run_date, xrr.* from xxen_report_runs xrr) xrr 44 | where 45 | nvl(xrr.type,'x')<>'S' and 46 | xrr.creation_date>sysdate-60 47 | ) x 48 | ) y, 49 | xxen_reports_v xrv 50 | where 51 | xrlu.last_run_date>sysdate-60 and 52 | xrlu.user_id=fu.user_id and 53 | nvl(fu.end_date,sysdate)>=sysdate and 54 | xrlu.user_id=y.created_by(+) and 55 | y.most_popular=xrv.report_id(+) 56 | order by 57 | xrlu.last_run_date desc -------------------------------------------------------------------------------- /Blitz Report Parameter Anchor Validation/Blitz Report Parameter Anchor Validation.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Parameter Anchor Validation 8 | -- Description: Checks if all parameter anchors exist in the xxen_report_parameter_anchors table. 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-parameter-anchor-validation/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-parameter-anchor-validation/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xrpv.report_name, 15 | xrpv.category, 16 | xrpv.display_sequence, 17 | xrpv.parameter_name, 18 | xrpv.anchor, 19 | xrpv.sql_text, 20 | (select count(*) from xxen_report_parameter_anchors xrpa where xrpv.report_id=xrpa.report_id) report_anchor_count, 21 | xxen_util.user_name(xrpv.created_by) created_by, 22 | xxen_util.client_time(xrpv.creation_date) creation_date, 23 | xxen_util.user_name(xrpv.last_updated_by) last_updated_by, 24 | xxen_util.client_time(xrpv.last_update_date) last_update_date, 25 | xrpv.report_id, 26 | xrpv.parameter_id 27 | from 28 | xxen_report_parameters_v xrpv 29 | where 30 | 1=1 and 31 | (xrpv.report_id,xrpv.anchor) not in (select xrpa.report_id, xrpa.anchor from xxen_report_parameter_anchors xrpa) 32 | order by 33 | xrpv.report_name, 34 | xrpv.sort_order -------------------------------------------------------------------------------- /Blitz Report Parameter Bind Variable Validation/Blitz Report Parameter Bind Variable Validation.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Parameter Bind Variable Validation 8 | -- Description: This report can be used to check which :bind variables were assigned to which Blitz Report parameter, in case there are more than one :binds in the parameter sql text, or in case the same :bind variable name is incorrectly used in different parameters. 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-parameter-bind-variable-validation/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-parameter-bind-variable-validation/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select z.* from ( 14 | select 15 | xrpv.report_name, 16 | xrpv.category, 17 | xrpv.display_sequence, 18 | xrpv.parameter_name, 19 | xrpv.anchor, 20 | xxen_api.bindvar_name(xrpv.parameter_id) bindvar_name, 21 | xxen_report.is_select_(xrpv.sql_text) is_dynamic_sql_text, 22 | xrpv.sql_text, 23 | y.binds, 24 | y.bind_count, 25 | xrpv.parameter_id 26 | from 27 | xxen_report_parameters_v xrpv, 28 | ( 29 | select distinct 30 | x.parameter_id_display, 31 | count(*) over (partition by x.parameter_id_display) bind_count, 32 | listagg(x.bind,', ') within group (order by x.bind) over (partition by x.parameter_id_display) binds 33 | from 34 | ( 35 | select distinct 36 | xrplv.parameter_id_display, 37 | lower(dbms_lob.substr(regexp_substr(xrplv.sql_text,':\w+',1,rowgen.column_value))) bind 38 | from 39 | (select xrplv.parameter_id_display, xxen_report.clear_text(xrplv.sql_text) sql_text from xxen_report_parameters_link_v xrplv where 1=1) xrplv, 40 | table(xxen_util.rowgen(regexp_count(xrplv.sql_text,':\w+'))) rowgen 41 | ) x 42 | ) y 43 | where 44 | 2=2 and 45 | xrpv.display_sequence is not null and 46 | xrpv.parameter_id=y.parameter_id_display 47 | ) z 48 | where 49 | 3=3 50 | order by 51 | z.report_name, 52 | z.display_sequence -------------------------------------------------------------------------------- /Blitz Report Parameter Custom LOV Duplication Validation/Blitz Report Parameter Custom LOV Duplication Validation.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Parameter Custom LOV Duplication Validation 8 | -- Description: Blitz report parameters using custom LOVs with the same query more than once so that they should be set up as a shared LOV instead 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-parameter-custom-lov-duplication-validation/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-parameter-custom-lov-duplication-validation/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | x.* 15 | from 16 | ( 17 | select 18 | count(*) over (partition by dbms_lob.substr(xrpv.lov_query_dsp,4000,1)) dupl_count, 19 | count(nvl2(xrpv.lov_id,null,1)) over (partition by dbms_lob.substr(xrpv.lov_query_dsp,4000,1)) custom_count, 20 | xrpv.report_name, 21 | xrpv.category, 22 | xrpv.display_sequence, 23 | xrpv.parameter_name, 24 | xrpv.parameter_type_dsp, 25 | xrpv.lov_name, 26 | dbms_lob.substr(xrpv.lov_query_dsp,4000,1) lov_query_dsp 27 | from 28 | xxen_report_parameters_v xrpv 29 | where 30 | 1=1 and 31 | xrpv.parameter_type='LOV' 32 | ) x 33 | where 34 | x.dupl_count>1 and 35 | x.custom_count>0 36 | order by 37 | x.dupl_count desc, 38 | x.lov_query_dsp -------------------------------------------------------------------------------- /Blitz Report Parameter DFF Table Validation/Blitz Report Parameter DFF Table Validation.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Parameter DFF Table Validation 8 | -- Description: Shows any parameters using the xxen_util.dff_columns function, which reference an incorrect DFF table name. 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-parameter-dff-table-validation/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-parameter-dff-table-validation/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | y.* 15 | from 16 | ( 17 | select 18 | xrpv.report_name, 19 | xrpv.display_sequence, 20 | xrpv.parameter_name, 21 | dbms_lob.substr(regexp_substr(xrpv.sql_text,'xxen_util\.dff_columns\((p_table_name=>)?''(\w+)''',1,x.column_value,'i',2)) dff_table_name, 22 | dbms_lob.substr(xrpv.sql_text) sql_text, 23 | xxen_util.user_name(xrpv.created_by) created_by, 24 | xxen_util.client_time(xrpv.creation_date) creation_date, 25 | xxen_util.user_name(xrpv.last_updated_by) last_updated_by, 26 | xxen_util.client_time(xrpv.last_update_date) last_update_date, 27 | xrpv.sort_order 28 | from 29 | xxen_report_parameters_v xrpv, 30 | table(xxen_util.rowgen(regexp_count(xrpv.sql_text,'xxen_util\.dff_columns\((p_table_name=>)?''(\w+)'''))) x 31 | where 32 | lower(xrpv.sql_text) like '%xxen_util.dff_columns%' 33 | ) y 34 | where 35 | upper(y.dff_table_name) not in (select fdfv.application_table_name from fnd_descriptive_flexs_vl fdfv where fdfv.descriptive_flexfield_name not like '$SRS$%') 36 | order by 37 | y.report_name, 38 | y.parameter_name, 39 | y.sort_order -------------------------------------------------------------------------------- /Blitz Report Parameter Default Values/Blitz Report Parameter Default Values.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Parameter Default Values 8 | -- Description: Blitz Report's user or template specific parameter default values 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-parameter-default-values/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-parameter-default-values/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xrpv.report_name, 15 | xrpv.category, 16 | nvl2(xrpdv.user_id,'User','Template') type, 17 | xxen_util.user_name(xrpdv.user_id) user_name, 18 | xrtv.template_name, 19 | xrpv.display_sequence, 20 | xrpv.parameter_name, 21 | xrpdv.default_value, 22 | xxen_util.user_name(xrpdv.created_by) created_by, 23 | xxen_util.client_time(xrpdv.creation_date) creation_date, 24 | xxen_util.user_name(xrpdv.last_updated_by) last_updated_by, 25 | xxen_util.client_time(xrpdv.last_update_date) last_update_date 26 | from 27 | xxen_report_parameters_v xrpv, 28 | xxen_report_param_default_vals xrpdv, 29 | xxen_report_templates_v xrtv 30 | where 31 | 1=1 and 32 | xrpv.parameter_id=xrpdv.parameter_id and 33 | xrpdv.template_id=xrtv.template_id(+) 34 | order by 35 | user_name, 36 | xrpv.report_name, 37 | xrpv.display_sequence -------------------------------------------------------------------------------- /Blitz Report Parameter Dependencies/Blitz Report Parameter Dependencies.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Parameter Dependencies 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-parameter-dependencies/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-parameter-dependencies/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xrpv1.report_name, 15 | xrpv1.category, 16 | xrpv1.parameter_name, 17 | xrpv2.parameter_name dependent_parameter_name, 18 | xrpd.flex_bind, 19 | xrpv1.display_sequence, 20 | xrpv2.display_sequence dependent_display_sequence, 21 | xxen_util.user_name(xrpd.created_by) created_by, 22 | xxen_util.client_time(xrpd.creation_date) creation_date, 23 | xxen_util.user_name(xrpd.last_updated_by) last_updated_by, 24 | xxen_util.client_time(xrpd.last_update_date) last_update_date, 25 | xrpd.report_id, 26 | xrpd.parameter_id, 27 | xrpd.dependent_parameter_id 28 | from 29 | xxen_report_param_dependencies xrpd, 30 | xxen_report_parameters_v xrpv1, 31 | xxen_report_parameters_v xrpv2 32 | where 33 | 1=1 and 34 | xrpd.parameter_id=xrpv1.parameter_id and 35 | xrpd.dependent_parameter_id=xrpv2.parameter_id -------------------------------------------------------------------------------- /Blitz Report Parameter Uniqueness Validation/Blitz Report Parameter Uniqueness Validation.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Parameter Uniqueness Validation 8 | -- Description: Validates if there are any duplicate blitz report parameters 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-parameter-uniqueness-validation/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-parameter-uniqueness-validation/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | x.* 15 | from 16 | ( 17 | select 18 | case 19 | when xrpv.dupl_matching_value>1 then 'Duplicate matching value' 20 | when xrpv.dupl_parameter_name>1 then 'Duplicate parameter name' 21 | when xrpv.dupl_bind_anchor>1 then 'Duplicate bind anchor' 22 | when xrpv.dupl_parameter>1 then 'Duplicated parameter sql text with the same anchor' 23 | end problem, 24 | xrpv.* 25 | from 26 | ( 27 | select 28 | xrpv.report_name, 29 | xrpv.category, 30 | xrpv.display_sequence, 31 | xrpv.parameter_name, 32 | xrpv.anchor, 33 | xrpv.matching_value, 34 | xrpv.sort_order, 35 | count(nvl2(xrpv.matching_value,xrpv.parameter_id,null)) over (partition by xrpv.report_id, xrpv.parameter_name, xrpv.anchor, xrpv.matching_value) dupl_matching_value, 36 | count(nvl2(xrpv.display_sequence,xrpv.parameter_id,null)) over (partition by xrpv.report_id, xrpv.parameter_name) dupl_parameter_name, 37 | count(case when xrpv.anchor like ':%' then xrpv.parameter_id end) over (partition by xrpv.report_id, xrpv.anchor) dupl_bind_anchor, 38 | count(*) over (partition by xrpv.report_id, xrpv.parameter_name, xrpv.anchor, xrpv.matching_value) dupl_parameter, 39 | xrpv.report_id, 40 | xrpv.parameter_id 41 | from 42 | xxen_report_parameters_v xrpv 43 | ) xrpv 44 | ) x 45 | where 46 | 1=1 47 | order by 48 | x.report_name, 49 | x.sort_order -------------------------------------------------------------------------------- /Blitz Report Pivot Colums Validation/Blitz Report Pivot Colums Validation.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Pivot Colums Validation 8 | -- Description: Checks if records in xxen_report_template_pivot have a corresponding record in xxen_report_template_columns 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-pivot-colums-validation/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-pivot-colums-validation/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xrtv.report_name, 15 | xrtv.category, 16 | xrtv.template_name, 17 | nvl2(xrtc.template_id,'column exists','corrupt') template_column_check, 18 | xrtp.column_name, 19 | xrtp.field_type, 20 | xrtp.display_sequence, 21 | xrtp.aggregation, 22 | xxen_util.user_name(xrtp.created_by) created_by, 23 | xxen_util.client_time(xrtp.creation_date) creation_date, 24 | xxen_util.user_name(xrtp.last_updated_by) last_updated_by, 25 | xxen_util.client_time(xrtp.last_update_date) last_update_date, 26 | xrtp.template_id 27 | from 28 | xxen_report_templates_v xrtv, 29 | xxen_report_template_pivot xrtp, 30 | xxen_report_template_columns xrtc 31 | where 32 | 1=1 and 33 | xrtv.template_id=xrtp.template_id and 34 | xrtp.template_id=xrtc.template_id(+) and 35 | xrtp.column_name=xrtc.column_name(+) 36 | order by 37 | xrtv.category, 38 | xrtv.report_name, 39 | xrtv.template_name, 40 | xrtp.column_name -------------------------------------------------------------------------------- /Blitz Report Record History SQL Text Creation/Blitz Report Record History SQL Text Creation.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Record History SQL Text Creation 8 | -- Description: Creates a string for the record history columns, based on a table alias. 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-record-history-sql-text-creation/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-record-history-sql-text-creation/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | 'xxen_util.user_name('||:table_alias||'.created_by) '||nvl2(:prefix,:prefix||'_',null)||'created_by, 15 | xxen_util.client_time('||:table_alias||'.creation_date) '||nvl2(:prefix,:prefix||'_',null)||'creation_date, 16 | xxen_util.user_name('||:table_alias||'.last_updated_by) '||nvl2(:prefix,:prefix||'_',null)||'last_updated_by, 17 | xxen_util.client_time('||:table_alias||'.last_update_date) '||nvl2(:prefix,:prefix||'_',null)||'last_update_date,' sql_text 18 | from 19 | dual -------------------------------------------------------------------------------- /Blitz Report SQL Validation/Blitz Report SQL Validation.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report SQL Validation 8 | -- Description: Validates Blitz Reports for valid SQL syntax. 9 | This can be useful after mass migrating reports from other tools such as Discoverer, Excl4apps, splashBI or Polaris Reporting Workbench into Blitz Report. 10 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-sql-validation/ 11 | -- Library Link: https://www.enginatics.com/reports/blitz-report-sql-validation/ 12 | -- Run Report: https://demo.enginatics.com/ 13 | 14 | select 15 | y.* 16 | from 17 | ( 18 | select 19 | x.*, 20 | nvl2(x.error_message,'Error','Valid') validation_result 21 | from 22 | ( 23 | select 24 | xrv.report_name, 25 | xxen_report.validate_sql(&sql_text_full,'parse') error_message, 26 | xrv.type_dsp type, 27 | xrv.category, 28 | xrv.sql_text, 29 | regexp_substr(xrv.description,'Report ID: (\d+)',1,1,null,1) orig_report_id 30 | from 31 | xxen_reports_v xrv 32 | where 33 | 1=1 34 | ) x 35 | ) y 36 | where 37 | 2=2 38 | order by 39 | y.report_name -------------------------------------------------------------------------------- /Blitz Report Translations/Blitz Report Translations.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Report Translations 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-report-translations/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-report-translations/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | x.* 15 | from 16 | ( 17 | select 18 | max(case when length(xrt.report_name)<>lengthb(xrt.report_name) or length(xrt.description)<>lengthb(xrt.description) or length(xrt.required_parameters_message)<>lengthb(xrt.required_parameters_message) then 'Y' end) over (partition by xrt.report_id) has_multibyte, 19 | xrt.source_lang, 20 | max(decode(xrt.language,'US',xrt.report_name)) over (partition by xrt.report_id) report_name_us, 21 | xrt.report_name, 22 | xrt.description, 23 | max(decode(xrt.language,'US',xrt.description)) over (partition by xrt.report_id) description_us, 24 | xrt.required_parameters_message, 25 | max(decode(xrt.language,'US',xrt.required_parameters_message)) over (partition by xrt.report_id) required_parameters_message_us, 26 | xxen_util.user_name(xrt.created_by) created_by, 27 | xxen_util.client_time(xrt.creation_date) creation_date, 28 | xxen_util.user_name(xrt.last_updated_by) last_updated_by, 29 | xxen_util.client_time(xrt.last_update_date) last_update_date 30 | from 31 | xxen_reports_tl xrt 32 | ) x 33 | where 34 | 1=1 35 | order by 36 | x.report_name_us, 37 | x.source_lang -------------------------------------------------------------------------------- /Blitz Upload Data/Blitz Upload Data.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Upload Data 8 | -- Description: History of uploaded data, which is kept for profile option Blitz Upload Data Retention Days number of days. 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-upload-data/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-upload-data/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xrr.request_id, 15 | xrr.creation_date, 16 | xxen_util.user_name(xrr.created_by) user_name, 17 | frt.responsibility_name responsibility, 18 | xrv.report_name, 19 | 'begin xxen_upload.g_run_id:='||xud.run_id||'; end;' init_sql, 20 | xud.* 21 | from 22 | xxen_upload_data xud, 23 | xxen_report_runs xrr, 24 | xxen_reports_v xrv, 25 | fnd_responsibility_tl frt 26 | where 27 | 1=1 and 28 | xud.run_id=xrr.run_id(+) and 29 | xrr.report_id=xrv.report_id and 30 | xrr.responsibility_application_id=frt.application_id(+) and 31 | xrr.responsibility_id=frt.responsibility_id(+) and 32 | frt.language(+)=userenv('lang') 33 | order by 34 | xud.run_id desc, 35 | xud.upload_row -------------------------------------------------------------------------------- /Blitz Upload Example (API)/Blitz Upload Example (API).sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Upload Example (API) 8 | -- Description: Example upload, which can be used as a template by copying (Tools>Copy Report) to create new uploads using an API. 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-upload-example-api/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-upload-example-api/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | null action_, 15 | null status_, 16 | null message_, 17 | null modified_columns_, 18 | xue.id, 19 | xue.name, 20 | xue.date_of_birth 21 | from 22 | xxen_upload_example xue 23 | where 24 | 1=1 -------------------------------------------------------------------------------- /Blitz Upload Example (Interface Table)/Blitz Upload Example (Interface Table).sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: Blitz Upload Example (Interface Table) 8 | -- Description: Sample upload to be used as a template by copying (Tools>Copy Report) to create new uploads using Interface Table. 9 | -- Excel Examle Output: https://www.enginatics.com/example/blitz-upload-example-interface-table/ 10 | -- Library Link: https://www.enginatics.com/reports/blitz-upload-example-interface-table/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | null action_, 15 | null status_, 16 | null message_, 17 | null modified_columns_, 18 | xue.rowid row_id_, 19 | xue.id, 20 | xue.name, 21 | xue.date_of_birth, 22 | xue.created_by, 23 | xue.creation_date, 24 | to_number(null) last_updated_by, 25 | to_date(null) last_update_date 26 | from 27 | xxen_upload_example xue 28 | where 29 | 1=1 -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | oraclereporting.com -------------------------------------------------------------------------------- /CRP Available Resources/CRP Available Resources.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: CRP Available Resources 8 | -- Description: Detail report showing the date range availability of each resource, as well as daily hours and unit capacity of the resource. 9 | -- Excel Examle Output: https://www.enginatics.com/example/crp-available-resources/ 10 | -- Library Link: https://www.enginatics.com/reports/crp-available-resources/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | car.compile_designator plan, 15 | mp.organization_code, 16 | bd.department_code, 17 | br.resource_code, 18 | br.description, 19 | car.resource_hours, 20 | car.resource_units, 21 | car.resource_start_date, 22 | car.resource_end_date 23 | from 24 | mtl_parameters mp, 25 | crp_available_resources car, 26 | bom_departments bd, 27 | bom_resources br 28 | where 29 | 1=1 and 30 | car.organization_id in (select oav.organization_id from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id) and 31 | mp.organization_id=car.organization_id and 32 | car.department_id=bd.department_id(+) and 33 | car.resource_id=br.resource_id(+) 34 | order by 35 | car.compile_designator, 36 | mp.organization_code, 37 | bd.department_code, 38 | br.resource_code, 39 | car.resource_start_date desc -------------------------------------------------------------------------------- /CSI Installed Base Extended Attributes Summary/CSI Installed Base Extended Attributes Summary.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: CSI Installed Base Extended Attributes Summary 8 | -- Description: Master data report of extended Installed Base attribute levels and names 9 | -- Excel Examle Output: https://www.enginatics.com/example/csi-installed-base-extended-attributes-summary/ 10 | -- Library Link: https://www.enginatics.com/reports/csi-installed-base-extended-attributes-summary/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | count(*) count, 15 | initcap(ciea.attribute_level) attribute_level, 16 | ciea.attribute_name, 17 | ciea.description, 18 | ciea.attribute_category 19 | from 20 | csi_iea_values civ, 21 | csi_i_extended_attribs ciea 22 | where 23 | ciea.attribute_id=civ.attribute_id 24 | group by 25 | ciea.attribute_level, 26 | ciea.attribute_name, 27 | ciea.description, 28 | ciea.attribute_category 29 | order by 30 | count(*) desc -------------------------------------------------------------------------------- /DBA AWR Interconnect Traffic/DBA AWR Interconnect Traffic.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA AWR Interconnect Traffic 8 | -- Description: Displays information about the usage of an interconnect device by instance in a RAC configuration. 9 | 10 | ipq - Parallel query communications 11 | dlm - Database lock management 12 | cache - Global cache communications 13 | 14 | All other values are internal to Oracle and are not expected to have high usage. 15 | -- Excel Examle Output: https://www.enginatics.com/example/dba-awr-interconnect-traffic/ 16 | -- Library Link: https://www.enginatics.com/reports/dba-awr-interconnect-traffic/ 17 | -- Run Report: https://demo.enginatics.com/ 18 | 19 | select 20 | to_char(xxen_util.client_time(dhs.end_interval_time),'Day') day_of_week, 21 | xxen_util.client_time(dhs.end_interval_time) end_interval_time, 22 | dhs.instance_number, 23 | dhics.name, 24 | decode(dhics.name,'ipq','Parallel query communications','dlm','Database lock management','cache','Global cache communications') description, 25 | (dhics.bytes_sent-lag(dhics.bytes_sent) over (partition by dhs.instance_number, dhics.name order by dhs.snap_id))/dhs.seconds/1000000 mb_sent_sec, 26 | (dhics.bytes_received-lag(dhics.bytes_received) over (partition by dhs.instance_number, dhics.name order by dhs.snap_id))/dhs.seconds/1000000 mb_received_sec 27 | from 28 | (select (cast(dhs.end_interval_time as date)-cast(dhs.begin_interval_time as date))*86400 seconds, dhs.* from dba_hist_snapshot dhs) dhs, 29 | dba_hist_ic_client_stats dhics 30 | where 31 | 1=1 and 32 | dhs.dbid=dhics.dbid and 33 | dhs.instance_number=dhics.instance_number and 34 | dhs.snap_id=dhics.snap_id 35 | order by 36 | dhs.instance_number, 37 | dhics.name, 38 | dhs.end_interval_time desc -------------------------------------------------------------------------------- /DBA AWR Latch by Time/DBA AWR Latch by Time.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA AWR Latch by Time 8 | -- Description: Latch contention wait time history. 9 | Each row shows the system-wide latch contention wait time per latch name of one AWR snapshot interval to identify high latch contention at specific times. 10 | -- Excel Examle Output: https://www.enginatics.com/example/dba-awr-latch-by-time/ 11 | -- Library Link: https://www.enginatics.com/reports/dba-awr-latch-by-time/ 12 | -- Run Report: https://demo.enginatics.com/ 13 | 14 | select 15 | x.day_of_week, 16 | x.end_interval_time, 17 | x.instance_number, 18 | &columns 19 | from 20 | ( 21 | select 22 | to_char(xxen_util.client_time(dhs.end_interval_time),'Day') day_of_week, 23 | xxen_util.client_time(dhs.end_interval_time) end_interval_time, 24 | dhs.instance_number, 25 | dhl.latch_name, 26 | case when dhl.time_delta<0 then dhl.wait_time else dhl.time_delta end/1000000 seconds 27 | from 28 | dba_hist_snapshot dhs, 29 | ( 30 | select 31 | dhl.wait_time-lag(dhl.wait_time) over (partition by dhl.dbid, dhl.instance_number, dhl.latch_name order by dhl.snap_id) time_delta, 32 | dhl.* 33 | from 34 | dba_hist_latch dhl 35 | ) dhl 36 | where 37 | 1=1 and 38 | dhs.dbid=dhl.dbid and 39 | dhs.instance_number=dhl.instance_number and 40 | dhs.snap_id=dhl.snap_id 41 | ) 42 | pivot ( 43 | sum(case when seconds>0 then seconds end) 44 | for 45 | latch_name in ( 46 | &pivot_columns 47 | ) 48 | ) x 49 | order by 50 | x.end_interval_time desc, 51 | x.instance_number -------------------------------------------------------------------------------- /DBA AWR PGA History/DBA AWR PGA History.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA AWR PGA History 8 | -- Description: History of database PGA size and other statistics from v$pgastat in megabytes 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-awr-pga-history/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-awr-pga-history/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select * from ( 14 | select 15 | xxen_util.client_time(dhs.end_interval_time) end_interval_time, 16 | dhs.instance_number, 17 | dhp.name, 18 | case when dhp.name in ( 19 | 'recompute count (total)', 20 | 'cache hit percentage', 21 | 'max processes count', 22 | 'process count' 23 | ) then dhp.value else dhp.value/1000000 end value_ 24 | from 25 | dba_hist_snapshot dhs, 26 | dba_hist_pgastat dhp 27 | where 28 | 1=1 and 29 | dhs.dbid=dhp.dbid and 30 | dhs.instance_number=dhp.instance_number and 31 | dhs.snap_id=dhp.snap_id 32 | ) 33 | pivot ( 34 | sum(value_) val 35 | for 36 | name in ( 37 | 'aggregate PGA target parameter' aggr_pga_target, 38 | 'aggregate PGA auto target' aggr_pga_auto_target, 39 | 'bytes processed' bytes_processed, 40 | 'global memory bound' glob_mem_bound, 41 | 'total PGA allocated' total_pga_alloc, 42 | 'maximum PGA allocated' max_pga_alloc, 43 | 'PGA memory freed back to OS' pga_freed_back, 44 | 'total PGA inuse' total_pga_inuse, 45 | 'total freeable PGA memory' total_freeable_pga, 46 | 'maximum PGA used for auto workareas' max_pga_used_auto_workareas, 47 | 'recompute count (total)' recompute_count, 48 | 'cache hit percentage' "CACHE_HIT_%", 49 | 'max processes count' max_process_count, 50 | 'process count' process_count 51 | ) 52 | ) 53 | order by 54 | end_interval_time desc, 55 | instance_number -------------------------------------------------------------------------------- /DBA AWR SQL Execution Plan History/DBA AWR SQL Execution Plan History.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA AWR SQL Execution Plan History 8 | -- Description: Execution plan history for a particular SQL id from the automatic workload repository 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-awr-sql-execution-plan-history/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-awr-sql-execution-plan-history/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | dhsp.sql_id, 15 | dhsp.plan_hash_value, 16 | xxen_util.client_time(dhsp.timestamp) timestamp, 17 | lpad(' ',dhsp.depth*2)||dhsp.operation|| 18 | case when dhsp.options is not null then ' '||dhsp.options end|| 19 | case when dhsp.object_name is not null then ' '||dhsp.object_type||' '||dhsp.object_owner||'.'||dhsp.object_name end operation, 20 | dhsp.qblock_name query_block, 21 | lpad(' ',dhsp.depth)||dhsp.depth depth, 22 | dhsp.cardinality, 23 | dhsp.bytes/1000000 mb, 24 | dhsp.time, 25 | dhsp.cost, 26 | dhsp.cpu_cost, 27 | dhsp.io_cost, 28 | dhsp.id, 29 | dhsp.parent_id, 30 | ds.object_size 31 | from 32 | dba_hist_sql_plan dhsp, 33 | ( 34 | select 35 | ds.owner, 36 | ds.segment_type, 37 | ds.segment_name, 38 | sum(ds.blocks)*(select vp.value from v$parameter vp where vp.name like 'db_block_size')/1000000 object_size 39 | from 40 | dba_segments ds 41 | group by 42 | ds.owner, 43 | ds.segment_type, 44 | ds.segment_name 45 | ) ds 46 | where 47 | 1=1 and 48 | dhsp.object_owner=ds.owner(+) and 49 | case when dhsp.object_type like '% %' then substr(dhsp.object_type,1,instr(dhsp.object_type,' ')) else dhsp.object_type end=ds.segment_type(+) and 50 | dhsp.object_name=ds.segment_name(+) 51 | order by 52 | dhsp.sql_id, 53 | dhsp.sql_id, 54 | dhsp.timestamp desc, 55 | dhsp.plan_hash_value, 56 | dhsp.id, 57 | dhsp.position -------------------------------------------------------------------------------- /DBA AWR Tablespace Usage/DBA AWR Tablespace Usage.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA AWR Tablespace Usage 8 | -- Description: Tablespace usage over time from the AWR 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-awr-tablespace-usage/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-awr-tablespace-usage/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | x.* 15 | from 16 | ( 17 | select 18 | to_char(xxen_util.client_time(to_date(dhtsu.rtime,'MM/DD/YYYY HH24:MI:SS')),'Day') day_of_week, 19 | xxen_util.client_time(to_date(dhtsu.rtime,'MM/DD/YYYY HH24:MI:SS')) end_interval_time, 20 | decode(ts.contents$,0,(decode(bitand (ts.flags, 16),16,'UNDO','PERMANENT')),1,'TEMPORARY') contents, 21 | ts.name tablespace, 22 | dhtsu.tablespace_usedsize*vp.value/1000000 used_size, 23 | dhtsu.tablespace_size*vp.value/1000000 size_, 24 | dhtsu.tablespace_maxsize*vp.value/1000000 max_size, 25 | sys_context('userenv','db_name') db_name 26 | from 27 | (select vp.value from v$parameter vp where vp.name like 'db_block_size') vp, 28 | v$database vd, 29 | dba_hist_tbspc_space_usage dhtsu, 30 | sys.ts$ ts 31 | where 32 | dhtsu.tablespace_id=ts.ts# and 33 | 2=2 34 | ) x 35 | where 36 | 1=1 37 | order by 38 | x.contents desc, 39 | x.tablespace, 40 | x.end_interval_time desc -------------------------------------------------------------------------------- /DBA Alert Log/DBA Alert Log.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Alert Log 8 | -- Description: V$DIAG_ALERT_EXT shows the contents of the XML-based alert log in the Automatic Diagnostic Repository (ADR) for the current container (PDB). 9 | You could schedule it, for example, in incremental mode to send an email with errors that occured since the last scheduled report run. 10 | -- Excel Examle Output: https://www.enginatics.com/example/dba-alert-log/ 11 | -- Library Link: https://www.enginatics.com/reports/dba-alert-log/ 12 | -- Run Report: https://demo.enginatics.com/ 13 | 14 | select 15 | decode(vdae.message_type,1,'Unknown',2,'Incident_Error',3,'Error',4,'Warning',5,'Notification',6,'Trace',vdae.message_type) message_type_desc, 16 | decode(vdae.message_level,1,'Critical',2,'Severe',8,'Important',16,'Normal',vdae.message_level) message_level_desc, 17 | xxen_util.module_type(vdae.module_id) module_type, 18 | xxen_util.module_name(vdae.module_id) module_name, 19 | vdae.* 20 | from 21 | v$diag_alert_ext vdae 22 | where 23 | 1=1 24 | order by 25 | vdae.record_id -------------------------------------------------------------------------------- /DBA CPU Benchmark2/DBA CPU Benchmark2.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA CPU Benchmark2 8 | -- Description: Benchmark report to measure a database server's CPU speed, mainly for PLSQL processing. 9 | This report generates an output file of 200000 records from dual. 10 | As the query itself should complete in less than a second, most of the execution time is spend in PLSQL code to generate the Blitz Report output file. 11 | To measure meaningful results, there should be enough SGA memory assigned to ensure that the execution time is entirely spent on CPU and not IO related wait events (to be confirmed using the DBA SGA Active Session History report). 12 | 13 | example performance for different CPU types: 14 | seconds rows/s CPU 15 | 8 25000 AMD Ryzen 9 5950X 16-Core Processor 16 | 11 18182 17 | 12 16667 AMD EPYC 7742 64-Core Processor 18 | 13 15385 Exadata CS X8M 19 | 18 11111 Intel(R) Xeon(R) Gold 6252 CPU @ 2.10GHz 20 | 20 10000 Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz 21 | 18 11111 Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 22 | 24 8333 Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz 23 | 22 9091 Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz 24 | 24 8333 Intel(R) Xeon(R) Platinum 8167M CPU @ 2.00GHz 25 | 21 9524 Intel(R) Xeon(R) Platinum 8167M CPU @ 2.00GHz 26 | 65 3077 SPARC-T5, chipid 1, clock 3600 MHz 27 | 28 | -- Excel Examle Output: https://www.enginatics.com/example/dba-cpu-benchmark2/ 29 | -- Library Link: https://www.enginatics.com/reports/dba-cpu-benchmark2/ 30 | -- Run Report: https://demo.enginatics.com/ 31 | 32 | select 33 | rownum||'SADSA' col1, 34 | rownum||'9873265498743265' col2, 35 | rownum||'fdsgerer' col3, 36 | rownum num1, 37 | sqrt(rownum) num2, 38 | sysdate+mod(rownum,100) dat1, 39 | sysdate+mod(rownum,100) dat2 40 | from dual connect by level<=:row_number -------------------------------------------------------------------------------- /DBA CPU Benchmark3/DBA CPU Benchmark3.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA CPU Benchmark3 8 | -- Description: This Benchmark report measures a database server's CPU performance for arithmetic calculations by calculating about 40 million square roots. 9 | 10 | example performance for different CPU types: 11 | seconds rows/s CPU 12 | 7 285714 AMD Ryzen 9 5950X 16-Core Processor 13 | 13 153846 14 | 12 166667 AMD EPYC 7742 64-Core Processor 15 | 31 64516 Exadata CS X8M 16 | 42 47619 Intel(R) Xeon(R) Gold 6252 CPU @ 2.10GHz 17 | 42 47619 Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz 18 | 41 48780 Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 19 | 41 48780 Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz 20 | 43 46512 Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz 21 | 49 40816 Intel(R) Xeon(R) Platinum 8167M CPU @ 2.00GHz 22 | 47 42553 Intel(R) Xeon(R) Platinum 8167M CPU @ 2.00GHz 23 | 115 17391 SPARC-T5, chipid 1, clock 3600 MHz 24 | -- Excel Examle Output: https://www.enginatics.com/example/dba-cpu-benchmark3/ 25 | -- Library Link: https://www.enginatics.com/reports/dba-cpu-benchmark3/ 26 | -- Run Report: https://demo.enginatics.com/ 27 | 28 | select 29 | avg(sqrt(rownum-0.243)+sqrt(rownum+0.873)) num1, 30 | avg(sqrt(rownum-0.123)+sqrt(rownum+0.537)) num2, 31 | avg(sqrt(rownum-0.211)+sqrt(rownum+0.764)) num3, 32 | avg(sqrt(rownum-0.742)+sqrt(rownum+0.372)) num4, 33 | avg(sqrt(rownum-0.850)+sqrt(rownum+0.683)) num5, 34 | avg(sqrt(rownum-0.563)+sqrt(rownum+0.787)) num6, 35 | avg(sqrt(rownum-0.333)+sqrt(rownum+0.543)) num7, 36 | avg(sqrt(rownum-0.985)+sqrt(rownum+0.481)) num8, 37 | avg(sqrt(rownum-0.122)+sqrt(rownum+0.250)) num9, 38 | avg(sqrt(rownum-0.547)+sqrt(rownum+0.434)) num10 39 | from 40 | dual connect by level<=2000000 -------------------------------------------------------------------------------- /DBA Dependencies (used by)/DBA Dependencies (used by).sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Dependencies (used by) 8 | -- Description: Hierarchical report showing all database objects using the specified object, e.g. a certain table and the report shows all the views or packages that are refrencing or depending on the specified table (bottom to top) 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-dependencies-used-by/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-dependencies-used-by/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | '0' level_, 15 | lower(do.owner||'.'||do.object_name) object, 16 | do.owner, 17 | do.object_name, 18 | do.object_type, 19 | lower(do.owner||'.'||do.object_name) path 20 | from 21 | dba_objects do 22 | where 23 | do.owner=:owner and 24 | do.object_name=:object_name and 25 | do.object_type=:object_type and 26 | 1=1 27 | union all 28 | select 29 | lpad(' ',2*(level))||level level_, 30 | lower(lpad(' ',2*(level))||dd.owner||'.'||dd.name) object, 31 | dd.owner owner, 32 | dd.name object_name, 33 | dd.type object_type, 34 | substr(lower(xxen_util.reverse(sys_connect_by_path(dd.owner||'.'||dd.name,' > '),' > ')||' > '||:owner||'.'||:object_name),4) path 35 | from 36 | dba_dependencies dd 37 | where 38 | dd.owner not in ('SYS','SYSTEM','PUBLIC') and 39 | dd.referenced_owner not in ('SYS','SYSTEM','PUBLIC') and 40 | dd.referenced_type<>'NON-EXISTENT' 41 | connect by nocycle 42 | prior dd.owner=dd.referenced_owner and 43 | prior dd.name=dd.referenced_name and 44 | prior dd.type=dd.referenced_type 45 | start with 46 | dd.referenced_owner=:owner and 47 | dd.referenced_name=:object_name and 48 | dd.referenced_type=:object_type -------------------------------------------------------------------------------- /DBA Dependencies (uses)/DBA Dependencies (uses).sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Dependencies (uses) 8 | -- Description: Hierarchical report showing all dependent database objects that a specified object, e.g. a view or package name uses or depends on (top to bottom) 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-dependencies-uses/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-dependencies-uses/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | '0' level_, 15 | lower(do.owner||'.'||do.object_name) object, 16 | do.owner, 17 | do.object_name, 18 | do.object_type, 19 | lower(do.owner||'.'||do.object_name) path 20 | from 21 | dba_objects do 22 | where 23 | do.owner=:owner and 24 | do.object_name=:object_name and 25 | do.object_type=:object_type and 26 | 1=1 27 | union all 28 | select 29 | lpad(' ',2*(level))||level level_, 30 | lower(lpad(' ',2*(level))||dd.referenced_owner||'.'||dd.referenced_name) object, 31 | dd.referenced_owner owner, 32 | dd.referenced_name object_name, 33 | dd.referenced_type object_type, 34 | lower(:owner||'.'||:object_name||sys_connect_by_path(dd.referenced_owner||'.'||dd.referenced_name,' > ')) path 35 | from 36 | dba_dependencies dd 37 | where 38 | dd.owner not in ('SYS','SYSTEM','PUBLIC') and 39 | dd.referenced_owner not in ('SYS','SYSTEM','PUBLIC') and 40 | dd.referenced_type<>'NON-EXISTENT' 41 | connect by nocycle 42 | prior dd.referenced_owner=dd.owner and 43 | prior dd.referenced_name=dd.name and 44 | prior dd.referenced_type=dd.type 45 | start with 46 | dd.owner=:owner and 47 | dd.name=:object_name and 48 | dd.type=:object_type -------------------------------------------------------------------------------- /DBA External Table Creation/DBA External Table Creation.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA External Table Creation 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-external-table-creation/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-external-table-creation/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | 'drop table '||:external_table||'; 15 | create table '||:external_table||' 16 | ( 17 | '||z.text1|| 18 | ' 19 | ) 20 | organization external 21 | ( 22 | default directory '||:default_directory||' 23 | access parameters ( 24 | records delimited by ''\r\n'' characterset we8mswin1252 25 | skip 1 26 | &write_log 27 | nodiscardfile 28 | fields terminated by '','' optionally enclosed by ''"'' 29 | missing field values are null 30 | ( 31 | '||z.text2|| 32 | ' 33 | ) 34 | ) 35 | location ('''||:file_name||''') 36 | );' text 37 | from 38 | ( 39 | select distinct 40 | listagg(y.text1,chr(10)) within group (order by y.column_id) over () text1, 41 | listagg(y.text2,chr(10)) within group (order by y.column_id) over () text2 42 | from 43 | ( 44 | select 45 | x.column_id, 46 | lower(x.column_name||' '||x.data_type)||decode(x.data_type,'VARCHAR2','('||x.data_length||')')||decode(max(x.column_id) over (),x.column_id,null,',') text1, 47 | lower(x.column_name)||case when x.data_type='DATE' then ' date "DD-MON-RR HH24:MI:SS"' when x.data_type='VARCHAR2' then ' char('||x.data_length||')' when x.data_type in ('LONG','CLOB') then ' char(60000)' end||decode(max(x.column_id) over (),x.column_id,null,',') text2 48 | from 49 | table(xxen_util.sql_columns(:sql_statement)) x 50 | ) y 51 | ) z 52 | where 53 | 1=1 -------------------------------------------------------------------------------- /DBA Feature Usage Statistics/DBA Feature Usage Statistics.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Feature Usage Statistics 8 | -- Description: Database license feature usage statistics, such as the number of times that an AWR HTML report was run 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-feature-usage-statistics/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-feature-usage-statistics/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | dfus.* 15 | from 16 | dba_feature_usage_statistics dfus 17 | where 18 | dfus.dbid in (select vd.dbid from v$database vd) 19 | order by 20 | dfus.name -------------------------------------------------------------------------------- /DBA Index Columns/DBA Index Columns.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Index Columns 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-index-columns/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-index-columns/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | dic.table_owner, 15 | dic.table_name, 16 | dic.index_owner, 17 | decode(di.index_type,'NORMAL',null,di.index_type) index_type, 18 | dic.index_name, 19 | xxen_util.meaning(decode(di.uniqueness,'UNIQUE','Y'),'YES_NO',0) unique_, 20 | dic.column_name, 21 | dic.column_position, 22 | do.created 23 | from 24 | dba_indexes di, 25 | dba_ind_columns dic, 26 | dba_objects do 27 | where 28 | 1=1 and 29 | di.owner=dic.index_owner and 30 | di.index_name=dic.index_name and 31 | di.owner=do.owner(+) and 32 | di.index_name=do.object_name(+) and 33 | do.object_type(+)='INDEX' 34 | order by 35 | dic.table_name, 36 | dic.index_name, 37 | dic.column_position -------------------------------------------------------------------------------- /DBA Objects/DBA Objects.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Objects 8 | -- Description: All database objects 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-objects/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-objects/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | do.owner, 15 | do.object_name, 16 | do.subobject_name, 17 | do.object_type, 18 | do.status, 19 | do.created, 20 | to_date(substr(do.timestamp,1,16),'YYYY-MM-DD HH24:MI:SS') timestamp, 21 | do.last_ddl_time, 22 | do.temporary, 23 | do.generated, 24 | do.secondary, 25 | do.namespace, 26 | do.edition_name, 27 | do.sharing, 28 | do.editionable, 29 | do.oracle_maintained, 30 | do.object_id, 31 | do.data_object_id 32 | from 33 | dba_objects do 34 | where 35 | 1=1 36 | order by 37 | do.owner, 38 | do.object_type, 39 | do.object_name -------------------------------------------------------------------------------- /DBA Parameters/DBA Parameters.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Parameters 8 | -- Description: To validate recommended settings validate following notes: 9 | Database Initialization Parameters for Oracle E-Business Suite Release 12 (Doc ID 396009.1) 10 | EBS Database Performance and Statistics Analyzer (Doc ID 2126712.1) 11 | Get Proactive with Oracle E-Business Suite - Product Support Analyzer Index (Doc ID 1545562.1) 12 | -- Excel Examle Output: https://www.enginatics.com/example/dba-parameters/ 13 | -- Library Link: https://www.enginatics.com/reports/dba-parameters/ 14 | -- Run Report: https://demo.enginatics.com/ 15 | 16 | select 17 | x.* 18 | from 19 | ( 20 | select 21 | gp.*, 22 | count(distinct gp.value) over (partition by gp.name) dupl_count 23 | from 24 | gv$parameter gp 25 | ) x 26 | where 27 | 1=1 28 | order by 29 | x.name, 30 | x.inst_id -------------------------------------------------------------------------------- /DBA Redo Log Files/DBA Redo Log Files.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Redo Log Files 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-redo-log-files/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-redo-log-files/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | gl.inst_id, 15 | gl.group#, 16 | gl.members, 17 | gl.status, 18 | gl.first_time, 19 | gl.next_time, 20 | glf.member, 21 | glf.type file_type, 22 | glf.is_recovery_dest_file 23 | from 24 | gv$log gl, 25 | gv$logfile glf 26 | where 27 | gl.inst_id=glf.inst_id and 28 | gl.group#=glf.group# 29 | order by 30 | gl.inst_id, 31 | gl.group# -------------------------------------------------------------------------------- /DBA Registry SQL Patch/DBA Registry SQL Patch.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Registry SQL Patch 8 | -- Description: DBA_REGISTRY_SQLPATCH contains information about the SQL patches that have been installed in the database. 9 | A SQL patch is a patch that contains SQL scripts which need to be run after OPatch completes. DBA_REGISTRY_SQLPATCH is updated by the datapatch utility. Each row contains information about an installation attempt (apply or roll back) for a given patch. 10 | -- Excel Examle Output: https://www.enginatics.com/example/dba-registry-sql-patch/ 11 | -- Library Link: https://www.enginatics.com/reports/dba-registry-sql-patch/ 12 | -- Run Report: https://demo.enginatics.com/ 13 | 14 | select 15 | drs.patch_id, 16 | drs.description, 17 | drs.action, 18 | cast(drs.action_time as date) action_date 19 | from 20 | dba_registry_sqlpatch drs 21 | where 22 | 1=1 23 | order by 24 | drs.action_time desc -------------------------------------------------------------------------------- /DBA Result Cache Objects and Dependencies/DBA Result Cache Objects and Dependencies.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Result Cache Objects and Dependencies 8 | -- Description: Shows result cache objects with the current number cached results and their dependency on objects causing the most frequent invalidations. 9 | 10 | Warning !!! 11 | Don't run this on a prod system during business hours as prior to DB version 12.2, selecting from v$result_cache_objects apparently blocks all result cache objects (see note 2143739.1, section 4.). 12 | You may end up with all server sessions waiting on 'latch free' for 'Result Cache: RC Latch' while the report is running. 13 | -- Excel Examle Output: https://www.enginatics.com/example/dba-result-cache-objects-and-dependencies/ 14 | -- Library Link: https://www.enginatics.com/reports/dba-result-cache-objects-and-dependencies/ 15 | -- Run Report: https://demo.enginatics.com/ 16 | 17 | select distinct 18 | count(*) over (partition by grco.cache_id) results_count, 19 | grco.name result_name, 20 | &object_columns 21 | grco.cache_id 22 | from 23 | gv$result_cache_objects grco, 24 | ( 25 | select 26 | grcd.inst_id, 27 | grcd.result_id, 28 | grcd.depend_id, 29 | do.object_type, 30 | nvl(do.owner||nvl2(do.object_id,'.',null)||do.object_name,grco2.name) object, 31 | grco2.invalidations 32 | from 33 | gv$result_cache_dependency grcd, 34 | dba_objects do, 35 | (select grco2.* from gv$result_cache_objects grco2) grco2 36 | where 37 | 1=1 and 38 | '&show_dependencies'='Y' and 39 | grcd.object_no=do.object_id(+) and 40 | grcd.inst_id=grco2.inst_id(+) and 41 | grcd.depend_id=grco2.id(+) 42 | ) x 43 | where 44 | grco.status='Published' and 45 | grco.type='Result' and 46 | grco.inst_id=x.inst_id(+) and 47 | grco.id=x.result_id(+) 48 | order by 49 | &order_by1 50 | results_count desc, 51 | grco.name 52 | &order_by2 -------------------------------------------------------------------------------- /DBA SGA Memory Allocation/DBA SGA Memory Allocation.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA SGA Memory Allocation 8 | -- Description: Current SGA memory usage in gigabytes, showing the split between buffer cache and shared pool 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-sga-memory-allocation/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-sga-memory-allocation/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | gsi.inst_id, 15 | gsi.name, 16 | decode(gsi.name,'Maximum SGA Size',null,gsi.bytes)/sum(decode(gsi.name,'Maximum SGA Size',null,gsi.bytes)) over (partition by gsi.inst_id)*100 percentage, 17 | gsi.bytes/1000000000 memory_size 18 | from 19 | gv$sgainfo gsi 20 | order by 21 | gsi.inst_id, 22 | gsi.bytes desc -------------------------------------------------------------------------------- /DBA SGA SQL Execution Plan History/DBA SGA SQL Execution Plan History.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA SGA SQL Execution Plan History 8 | -- Description: Execution plan history for a particular SQL id from the SGA 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-sga-sql-execution-plan-history/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-sga-sql-execution-plan-history/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | gsp.inst_id, 15 | gsp.sql_id, 16 | gsp.plan_hash_value, 17 | gsp.timestamp, 18 | lpad(' ',gsp.depth*2)||gsp.operation|| 19 | case when gsp.options is not null then ' '||gsp.options end|| 20 | case when gsp.object_name is not null then ' '||gsp.object_type||' '||gsp.object_owner||'.'||gsp.object_name end operation, 21 | gsp.qblock_name query_block, 22 | lpad(' ',gsp.depth)||gsp.depth depth, 23 | gsp.cardinality, 24 | gsp.bytes/1000000 mb, 25 | gsp.time, 26 | gsp.cost, 27 | gsp.cpu_cost, 28 | gsp.io_cost, 29 | gsp.id, 30 | gsp.parent_id, 31 | ds.object_size 32 | from 33 | gv$sql_plan gsp, 34 | ( 35 | select 36 | ds.owner, 37 | ds.segment_type, 38 | ds.segment_name, 39 | sum(ds.blocks)*(select vp.value from v$parameter vp where vp.name like 'db_block_size')/1000000 object_size 40 | from 41 | dba_segments ds 42 | group by 43 | ds.owner, 44 | ds.segment_type, 45 | ds.segment_name 46 | ) ds 47 | where 48 | 1=1 and 49 | gsp.object_owner=ds.owner(+) and 50 | case when gsp.object_type like '% %' then substr(gsp.object_type,1,instr(gsp.object_type,' ')) else gsp.object_type end=ds.segment_type(+) and 51 | gsp.object_name=ds.segment_name(+) 52 | order by 53 | gsp.sql_id, 54 | gsp.timestamp desc, 55 | gsp.plan_hash_value, 56 | gsp.inst_id, 57 | gsp.id, 58 | gsp.position -------------------------------------------------------------------------------- /DBA SGA Target Advice/DBA SGA Target Advice.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA SGA Target Advice 8 | -- Description: Orace's SGA target advice view. 9 | It shows an estimation of how an SGA resize would affect overall database time and IO. 10 | -- Excel Examle Output: https://www.enginatics.com/example/dba-sga-target-advice/ 11 | -- Library Link: https://www.enginatics.com/reports/dba-sga-target-advice/ 12 | -- Run Report: https://demo.enginatics.com/ 13 | 14 | select 15 | gsta.inst_id, 16 | gsta.sga_size_factor, 17 | gsta.sga_size/1024 sga_size, 18 | gsta.estd_db_time_factor*100 estd_db_time_percent, 19 | gsta.estd_physical_reads_factor*100 estd_physical_reads_percent 20 | from 21 | ( 22 | select 23 | gsta.*, 24 | gsta.estd_physical_reads/max(decode(gsta.sga_size_factor,1,gsta.estd_physical_reads)) over (partition by gsta.inst_id) estd_physical_reads_factor 25 | from 26 | gv$sga_target_advice gsta 27 | ) gsta -------------------------------------------------------------------------------- /DBA Segments/DBA Segments.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Segments 8 | -- Description: Database segments such as tables, indexes, lob segments by size and total database size summary 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-segments/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-segments/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | &column2 15 | 100*x.bytes/x.total_bytes percentage, 16 | x.bytes/1000000 mb, 17 | x.total_bytes/1000000 total_mb 18 | &column3 19 | from 20 | ( 21 | select distinct 22 | &column1 23 | sum(ds.bytes) over (partition by &partition_by) bytes, 24 | sum(ds.bytes) over () total_bytes 25 | from 26 | dba_segments ds, 27 | (select di.owner, di.index_name, di.table_owner, di.table_name from dba_indexes di where '&show_table'='Y') di, 28 | ( 29 | select 30 | dl.segment_name, 31 | nvl(di.table_owner,dl.owner) table_owner, 32 | nvl(di.table_name,dl.table_name) table_name 33 | from 34 | dba_lobs dl, 35 | dba_secondary_objects dso, 36 | dba_indexes di 37 | where 38 | '&show_table'='Y' and 39 | dl.owner=dso.secondary_object_owner(+) and 40 | dl.table_name=dso.secondary_object_name(+) and 41 | dso.index_owner=di.owner(+) and 42 | dso.index_name=di.index_name(+) 43 | ) dl 44 | where 45 | 1=1 and 46 | case when ds.segment_type in ('INDEX','INDEX PARTITION','INDEX SUBPARTITION') then ds.owner end=di.owner(+) and 47 | case when ds.segment_type in ('INDEX','INDEX PARTITION','INDEX SUBPARTITION') then ds.segment_name end=di.index_name(+) and 48 | case when ds.segment_type in ('LOBSEGMENT','LOB PARTITION','LOB SUBPARTITION') then ds.segment_name end=dl.segment_name(+) 49 | ) x 50 | &dba_tables 51 | where 52 | 2=2 53 | order by 54 | x.bytes desc -------------------------------------------------------------------------------- /DBA Session Longops/DBA Session Longops.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Session Longops 8 | -- Description: Estimated time to completion for long running sessions based on gv$session_longops 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-session-longops/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-session-longops/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | gsl.inst_id, 15 | gsl.sid||' - '||gsl.serial# sid_serial#, 16 | xxen_util.user_name(gs.module,gs.action,gs.client_identifier) user_name, 17 | xxen_util.responsibility(gs.module,gs.action) responsibility, 18 | xxen_util.module_type(gs.module,gs.action) module_type, 19 | xxen_util.module_name(gs.module,gs.program) module_name, 20 | gsl.start_time, 21 | gsl.last_update_time, 22 | xxen_util.time(gsl.elapsed_seconds) elapsed_time, 23 | xxen_util.time(gsl.time_remaining) time_remaining, 24 | gsl.sofar/xxen_util.zero_to_null(gsl.totalwork)*100 percentage, 25 | gsl.sofar, 26 | gsl.totalwork, 27 | gsl.units, 28 | gsl.message, 29 | gsl.opname, 30 | gsl.target, 31 | gsl.target_desc, 32 | gsl.sql_id, 33 | gsl.sql_plan_hash_value, 34 | gsl.sql_exec_start, 35 | gsl.sql_plan_operation, 36 | gsl.sql_plan_options, 37 | gsl.username, 38 | gs.module, 39 | gs.machine, 40 | gs.action, 41 | gs.module, 42 | gs.program 43 | from 44 | gv$session_longops gsl, 45 | gv$session gs 46 | where 47 | 1=1 and 48 | gsl.inst_id=gs.inst_id(+) and 49 | gsl.sid=gs.sid(+) and 50 | gsl.serial#=gs.serial#(+) 51 | order by 52 | gsl.start_time desc -------------------------------------------------------------------------------- /DBA Table Columns/DBA Table Columns.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Table Columns 8 | -- Description: Report with all table column names based on dba_tab_columns, as finding tables by column names is a frequent task during SQL development 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-table-columns/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-table-columns/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | dtc.owner, 15 | dtc.table_name, 16 | dtc.column_name, 17 | dtc.data_type||case when dtc.data_type like '%CHAR%' then ' ('||dtc.data_length||')' end data_type, 18 | decode(dtc.nullable,'N',xxen_util.meaning(dtc.nullable,'YES_NO',0)) nullable, 19 | dtc.column_id 20 | from 21 | dba_tab_columns dtc 22 | where 23 | 1=1 24 | order by 25 | dtc.owner, 26 | dtc.table_name, 27 | dtc.column_id -------------------------------------------------------------------------------- /DBA Table Modifications/DBA Table Modifications.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Table Modifications 8 | -- Description: If table monitoring is activated, dba_tab_modifications shows the number of rows modified since the last time a table was analyzed. 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-table-modifications/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-table-modifications/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | dtm.table_owner owner, 15 | dtm.table_name, 16 | xxen_util.client_time(dtm.timestamp) last_dml_date, 17 | xxen_util.client_time(dt.last_analyzed) last_analyzed, 18 | dt.num_rows, 19 | dtm.inserts/(sysdate-dt.last_analyzed) inserts_day, 20 | dtm.updates/(sysdate-dt.last_analyzed) updates_day, 21 | dtm.deletes/(sysdate-dt.last_analyzed) deletes_day, 22 | dtm.total_changes/(sysdate-dt.last_analyzed) total_changes_day, 23 | dtm.total_changes/xxen_util.zero_to_null(dt.num_rows)/(sysdate-dt.last_analyzed)*100 percent_day, 24 | dtm.inserts, 25 | dtm.updates, 26 | dtm.deletes, 27 | dtm.total_changes, 28 | dtm.total_changes/xxen_util.zero_to_null(dt.num_rows)*100 percent 29 | from 30 | (select dtm.inserts+dtm.deletes+dtm.updates total_changes, dtm.* from dba_tab_modifications dtm) dtm, 31 | dba_tables dt 32 | where 33 | 1=1 and 34 | dtm.table_owner=dt.owner(+) and 35 | dtm.table_name=dt.table_name(+) and 36 | dtm.partition_name is null and 37 | dtm.subpartition_name is null 38 | order by 39 | total_changes_day desc nulls last, 40 | dtm.table_owner, 41 | dtm.table_name -------------------------------------------------------------------------------- /DBA Tablespace Usage/DBA Tablespace Usage.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Tablespace Usage 8 | -- Description: Tablespace usage including currently active undo and temp tablepace usage in Megabytes 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-tablespace-usage/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-tablespace-usage/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | dt.contents, 15 | dtum.tablespace_name, 16 | vp.value*dtum.used_space/1000000 data_size, 17 | ddf.bytes/1000000 file_size, 18 | (ddf.bytes-vp.value*dtum.used_space)/1000000 unused_file_size, 19 | vp.value*dtum.used_space/ddf.bytes*100 file_used_percent, 20 | vp.value*dtum.tablespace_size/1000000 max_extensible_size, 21 | dtum.used_percent max_used_percent, 22 | nvl(due.active,(select vp.value*vss.used_blocks/1000000 from v$sort_segment vss where dt.tablespace_name=vss.tablespace_name)) active, 23 | due.unexpired_undo, 24 | due.expired_undo 25 | from 26 | dba_tablespaces dt, 27 | (select vp.value from v$parameter vp where vp.name like 'db_block_size') vp, 28 | dba_tablespace_usage_metrics dtum, 29 | ( 30 | select distinct ddf.tablespace_name, sum(ddf.bytes) over (partition by ddf.tablespace_name) bytes from dba_data_files ddf union all 31 | select distinct dtf.tablespace_name, sum(dtf.bytes) over (partition by dtf.tablespace_name) bytes from dba_temp_files dtf 32 | ) ddf, 33 | ( 34 | select 35 | * 36 | from 37 | (select distinct due.tablespace_name, due.status, sum(due.blocks) over (partition by due.tablespace_name,due.status)*8192/1000000 space from dba_undo_extents due) due 38 | pivot ( 39 | sum(due.space) 40 | for status in ( 41 | 'ACTIVE' active, 42 | 'UNEXPIRED' unexpired_undo, 43 | 'EXPIRED' expired_undo 44 | ) 45 | ) 46 | ) due 47 | where 48 | dt.tablespace_name=dtum.tablespace_name and 49 | dt.tablespace_name=ddf.tablespace_name(+) and 50 | dt.tablespace_name=due.tablespace_name(+) 51 | order by 52 | dt.contents, 53 | dtum.used_space desc -------------------------------------------------------------------------------- /DBA Text Search/DBA Text Search.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Text Search 8 | -- Description: Full text search through database source code objects such as packages, procedures, functions, triggers etc. 9 | -- Excel Examle Output: https://www.enginatics.com/example/dba-text-search/ 10 | -- Library Link: https://www.enginatics.com/reports/dba-text-search/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | ds.owner, 15 | ds.type, 16 | ds.name, 17 | ds.line, 18 | ds.text 19 | from 20 | dba_source ds 21 | where 22 | 1=1 23 | order by 24 | ds.name, 25 | ds.line -------------------------------------------------------------------------------- /DBA Trace File Contents/DBA Trace File Contents.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DBA Trace File Contents 8 | -- Description: V$DIAG_TRACE_FILE_CONTENTS contains trace data that is present in the trace files that are part of the current Automatic Diagnostic Repository (ADR). 9 | Supported starting from Oracle Database 12.2. 10 | -- Excel Examle Output: https://www.enginatics.com/example/dba-trace-file-contents/ 11 | -- Library Link: https://www.enginatics.com/reports/dba-trace-file-contents/ 12 | -- Run Report: https://demo.enginatics.com/ 13 | 14 | select 15 | vdtfc.payload trace_contents 16 | from 17 | v$diag_trace_file_contents vdtfc 18 | where 19 | 1=1 20 | order by 21 | vdtfc.line_number -------------------------------------------------------------------------------- /DIS Business Areas/DIS Business Areas.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DIS Business Areas 8 | -- Description: Summary report showing Discoverer business areas, with an access account showing how many times a business area's folder was used within the past x number of days. 9 | -- Excel Examle Output: https://www.enginatics.com/example/dis-business-areas/ 10 | -- Library Link: https://www.enginatics.com/reports/dis-business-areas/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | eb.ba_name business_area, 15 | eb.ba_description business_area_description, 16 | eb.ba_developer_key business_area_identifier, 17 | eqs.access_count, 18 | eqs.last_accessed, 19 | (select count(*) from &eul.eul5_ba_obj_links ebol where eb.ba_id=ebol.bol_ba_id) folder_count, 20 | xxen_util.dis_user_name(eb.ba_created_by) created_by, 21 | xxen_util.client_time(eb.ba_created_date) creation_date, 22 | xxen_util.dis_user_name(eb.ba_updated_by) last_updated_by, 23 | xxen_util.client_time(eb.ba_updated_date) last_update_date 24 | from 25 | &eul.eul5_bas eb, 26 | ( 27 | select 28 | eqs.bol_ba_id, 29 | count(*) access_count, 30 | max(eqs.qs_created_date) last_accessed 31 | from 32 | ( 33 | select distinct 34 | eqs.qs_id, 35 | ebol.bol_ba_id, 36 | eqs.qs_created_date 37 | from 38 | ( 39 | select 40 | trim(regexp_substr(eqs.qs_object_use_key,'[^\.]+',1,rowgen.column_value)) obj_id, 41 | eqs.* 42 | from 43 | &eul.eul5_qpp_stats eqs, 44 | table(xxen_util.rowgen(regexp_count(eqs.qs_object_use_key,'\.')+1)) rowgen 45 | where 46 | 2=2 47 | ) eqs, 48 | &eul.eul5_ba_obj_links ebol 49 | where 50 | translate(eqs.obj_id,'x0123456789','x') is null and 51 | eqs.obj_id=ebol.bol_obj_id 52 | ) eqs 53 | group by 54 | eqs.bol_ba_id 55 | ) eqs 56 | where 57 | 1=1 and 58 | eb.ba_id=eqs.bol_ba_id(+) 59 | order by 60 | eb.ba_id -------------------------------------------------------------------------------- /DIS Import Performance/DIS Import Performance.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DIS Import Performance 8 | -- Description: Query to review Discoverer to Blitz Report import performance, after running the 'Blitz Report Discoverer Import' concurrent program or mass migration script. 9 | https://www.enginatics.com/user-guide/#Discoverer_Worksheet 10 | -- Excel Examle Output: https://www.enginatics.com/example/dis-import-performance/ 11 | -- Library Link: https://www.enginatics.com/reports/dis-import-performance/ 12 | -- Run Report: https://demo.enginatics.com/ 13 | 14 | select 15 | x.*, 16 | xxen_util.time(x.seconds) time 17 | from 18 | ( 19 | select 20 | xrv.report_name, 21 | regexp_substr(xrv.description,'Object IDs: (.+)',1,1,null,1) object_use_key, 22 | xrv.category, 23 | xxen_util.user_name(xrv.created_by) created_by, 24 | xxen_util.client_time(xrv.creation_date) creation_date, 25 | (xrv.creation_date-lag(xrv.creation_date) over (order by xrv.report_id))*86400 seconds 26 | from 27 | xxen_reports_v xrv 28 | where 29 | 1=1 30 | order by 31 | xrv.report_id desc 32 | ) x -------------------------------------------------------------------------------- /DIS Users/DIS Users.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DIS Users 8 | -- Description: Discoverer end user layer users of different types (application user, responsibility, database user) 9 | -- Excel Examle Output: https://www.enginatics.com/example/dis-users/ 10 | -- Library Link: https://www.enginatics.com/reports/dis-users/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | eeu.eu_id, 15 | xxen_util.dis_user_type(eeu.eu_username) type, 16 | xxen_util.dis_user_name(eeu.eu_username) name, 17 | eqs.access_count, 18 | eqs.last_accessed, 19 | xxen_util.dis_user_name(eeu.eu_created_by) created_by, 20 | eeu.eu_created_date creation_date, 21 | xxen_util.dis_user_name(eeu.eu_updated_by) last_updated_by, 22 | eeu.eu_updated_date last_update_date 23 | from 24 | &eul.eul5_eul_users eeu, 25 | ( 26 | select 27 | eqs.qs_created_by, 28 | count(*) access_count, 29 | max(eqs.qs_created_date) last_accessed 30 | from 31 | &eul.eul5_qpp_stats eqs 32 | where 33 | 2=2 34 | group by 35 | eqs.qs_created_by 36 | ) eqs 37 | where 38 | 1=1 and 39 | eeu.eu_username=eqs.qs_created_by(+) 40 | order by 41 | eeu.eu_updated_date desc -------------------------------------------------------------------------------- /DIS Workbook Owner Export Script/DIS Workbook Owner Export Script.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DIS Workbook Owner Export Script 8 | -- Description: This export of workbook owners is required to remotely export workbook XMLs on the Enginatics environments for customers requiring support when migrating from Discoverer to Blitz Report. 9 | -- Excel Examle Output: https://www.enginatics.com/example/dis-workbook-owner-export-script/ 10 | -- Library Link: https://www.enginatics.com/reports/dis-workbook-owner-export-script/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | 'insert into xxen_discoverer_fnd_user (eul,user_id,user_name) values ('''||:eul||''','||fu.user_id||','''||fu.user_name||''');' insert_sql 15 | from 16 | fnd_user fu 17 | where 18 | fu.user_id in 19 | ( 20 | select distinct 21 | case when eeu.eu_username like '#%' and eeu.eu_username not like '#%#%' then to_number(substr(eeu.eu_username,2)) end user_id 22 | from 23 | &eul.eul5_documents ed, 24 | &eul.eul5_eul_users eeu 25 | where 26 | ed.doc_eu_id=eeu.eu_id 27 | ) 28 | union all 29 | select 'commit;' insert_sql from dual -------------------------------------------------------------------------------- /DIS Worksheet Execution History/DIS Worksheet Execution History.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: DIS Worksheet Execution History 8 | -- Description: Discoverer worksheet access statistics from table eul5_qpp_stats, including folder objects used. 9 | Parameter 'Show Folder Details' switches between aggregate and list view of used folder objects. 10 | -- Excel Examle Output: https://www.enginatics.com/example/dis-worksheet-execution-history/ 11 | -- Library Link: https://www.enginatics.com/reports/dis-worksheet-execution-history/ 12 | -- Run Report: https://demo.enginatics.com/ 13 | 14 | select distinct 15 | eqs.qs_id id, 16 | xxen_util.dis_user_name(eqs.qs_created_by) user_name, 17 | eqs.qs_doc_name workbook, 18 | ed.doc_developer_key workbook_identifier, 19 | eqs.qs_doc_details sheet, 20 | eqs.qs_doc_owner owner, 21 | xxen_util.client_time(eqs.qs_created_date) start_date, 22 | xxen_util.time(eqs.seconds) time, 23 | eqs.seconds, 24 | eqs.qs_num_rows row_count, 25 | &object_columns 26 | length(eqs.qs_object_use_key)-length(translate(eqs.qs_object_use_key,'x.','x'))+1 folder_count, 27 | eqs.qs_object_use_key object_use_key, 28 | eqs.qs_doc_name||': '||eqs.qs_doc_details||' ('||eqs.qs_doc_owner_||')' workbook_sheet, 29 | eqs.qs_created_by created_by 30 | from 31 | ( 32 | select 33 | trim(regexp_substr(eqs.qs_object_use_key,'[^\.]+',1,rowgen.column_value)) obj_id, 34 | greatest(nvl(eqs.qs_act_cpu_time,0),nvl(eqs.qs_act_elap_time,0)) seconds, 35 | upper(eqs.qs_doc_owner) qs_doc_owner_, 36 | eqs.* 37 | from 38 | &restrict_to_latest_workbook1 39 | &eul.eul5_qpp_stats eqs 40 | &restrict_to_latest_workbook2 41 | ,table(xxen_util.rowgen(regexp_count(eqs.qs_object_use_key,'\.')+1)) rowgen 42 | where 43 | 1=1 44 | ) eqs, 45 | &eul.eul5_objs eo, 46 | &eul.eul5_documents ed 47 | where 48 | 2=2 and 49 | translate(eqs.obj_id,'x0123456789','x') is null and 50 | eqs.obj_id=eo.obj_id(+) and 51 | eqs.qs_doc_name=ed.doc_name(+) and 52 | eqs.qs_doc_owner_=xxen_util.dis_user_name(ed.doc_eu_id(+),:eul,'N') 53 | order by 54 | eqs.qs_id desc -------------------------------------------------------------------------------- /FA Depreciation Projection/FA Depreciation Projection.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FA Depreciation Projection 8 | -- Description: Based on Oracle's 'Depreciation Projection Report' FASPRJ 9 | 10 | Uses custom DB package call XXEN_FA_FAS_XMLP to launch Oracle standard Depreciation Projection concurrent FAPROJ. The data generation is explained in note: 11 | How Does FA Depreciation Projections Handle Table FA_PROJ_INTERIM_XXX or FA_PROJ_INTERIM_REP ? (Doc ID 1607626.1) 12 | https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1607626.1 13 | -- Excel Examle Output: https://www.enginatics.com/example/fa-depreciation-projection/ 14 | -- Library Link: https://www.enginatics.com/reports/fa-depreciation-projection/ 15 | -- Run Report: https://demo.enginatics.com/ 16 | 17 | select distinct 18 | gl.name ledger, 19 | fpiv.book_type_code book, 20 | &segment_columns 21 | &asset_columns 22 | fpiv.period_name period, 23 | sum(fpiv.depreciation) over (partition by fpiv.request_id, fpiv.book_type_code, &segment_columns2 &asset_number fpiv.period_name, fpiv.fiscal_year) depreciation, 24 | fpiv.fiscal_year, 25 | fpiv.period_index, 26 | &segment_columns3 27 | fpiv.request_id 28 | from 29 | gl_ledgers gl, 30 | fa_book_controls fbc, 31 | fa_proj_interim_v fpiv, 32 | fa_additions_vl fav, 33 | fa_categories_b_kfv fcbk, 34 | fa_asset_keywords_kfv fakk, 35 | gl_code_combinations gcc 36 | where 37 | 1=1 and 38 | gl.ledger_id=fbc.set_of_books_id and 39 | fbc.book_type_code=fpiv.book_type_code and 40 | fpiv.asset_id=fav.asset_id and 41 | fav.asset_category_id=fcbk.category_id(+) and 42 | fav.asset_key_ccid=fakk.code_combination_id(+) and 43 | fpiv.code_combination_id=gcc.code_combination_id 44 | order by 45 | fpiv.request_id, 46 | gl.name, 47 | fpiv.book_type_code, 48 | &segment_columns2 49 | &asset_number 50 | fpiv.fiscal_year, 51 | fpiv.period_index -------------------------------------------------------------------------------- /FND Application Context File/FND Application Context File.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Application Context File 8 | -- Description: Context XML files retrieved from the database 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-application-context-file/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-application-context-file/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | focf.name, 15 | focf.version, 16 | focf.path, 17 | focf.last_synchronized, 18 | decode(focf.ctx_type,'D','Database','A','Application') type, 19 | focf.edit_comments, 20 | focf.text 21 | from 22 | fnd_oam_context_files focf 23 | where 24 | focf.status='S' and 25 | focf.name not in ('TEMPLATE','METADATA') 26 | order by 27 | focf.ctx_type -------------------------------------------------------------------------------- /FND Audit Table Changes by Record/FND Audit Table Changes by Record.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Audit Table Changes by Record 8 | -- Description: Reports all changes to an audited application table. 9 | 10 | The report has one row per audit transaction showing the old and new values for all audited columns in a single row. 11 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-audit-table-changes-by-record/ 12 | -- Library Link: https://www.enginatics.com/reports/fnd-audit-table-changes-by-record/ 13 | -- Run Report: https://demo.enginatics.com/ 14 | 15 | select 16 | :audit_table audit_table, 17 | xxen_util.client_time(aud_a.audit_timestamp) audit_timestamp, 18 | xxen_util.meaning(aud_ac1.audit_transaction_type,'FND_AUDIT_TRANS_TYPE',0) audit_transaction_type, 19 | xxen_util.user_name(aud_ac1.audit_user_name) audit_transaction_user, 20 | &sel_xinfo_table_user_cols 21 | &sel_table_user_cols 22 | &sel_audit_key_cols 23 | &sel_audit_cols 24 | to_char(aud_a.row_key) audit_row_key, 25 | aud_a.audit_session_id, 26 | aud_a.audit_sequence_id, 27 | aud_a.audit_commit_id 28 | from 29 | &from_tables 30 | where 31 | aud_a.row_key=aud_ac1.row_key and 32 | &join_audit_tab_key_cols 33 | &join_xinfo_table_key_cols 34 | 1=1 35 | order by 36 | aud_a.row_key desc 37 | /*&dummy*/ -------------------------------------------------------------------------------- /FND Concurrent Program Incompatibilities/FND Concurrent Program Incompatibilities.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Concurrent Program Incompatibilities 8 | -- Description: Concurrent Program Incompatibilities 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-concurrent-program-incompatibilities/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-concurrent-program-incompatibilities/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | fav.application_name, 15 | fcpv.user_concurrent_program_name program, 16 | fcpv.concurrent_program_name short_name, 17 | fav2.application_name incompatible_application_name, 18 | fcpv2.user_concurrent_program_name incompatible_program, 19 | fcpv2.concurrent_program_name incompatible_short_name, 20 | decode(fcps.to_run_type,'P', 'Program', 'S', 'Set') scope, 21 | decode(fcps.incompatibility_type,'G','Global','D','Domain') type, 22 | xxen_util.user_name(fcps.created_by) created_by, 23 | xxen_util.client_time(fcps.creation_date) creation_date, 24 | xxen_util.user_name(fcps.last_updated_by) last_updated_by, 25 | xxen_util.client_time(fcps.last_update_date) last_update_date 26 | from 27 | fnd_concurrent_program_serial fcps, 28 | fnd_concurrent_programs_vl fcpv, 29 | fnd_concurrent_programs_vl fcpv2, 30 | fnd_application_vl fav, 31 | fnd_application_vl fav2 32 | where 33 | 1=1 and 34 | fcps.running_application_id=fcpv.application_id and 35 | fcps.running_concurrent_program_id=fcpv.concurrent_program_id and 36 | fcps.to_run_application_id=fcpv2.application_id and 37 | fcps.to_run_concurrent_program_id=fcpv2.concurrent_program_id and 38 | fcps.running_application_id=fav.application_id and 39 | fcps.to_run_application_id=fav2.application_id 40 | order by 41 | fav.application_name, 42 | fcpv.user_concurrent_program_name, 43 | fcpv.concurrent_program_name, 44 | fav2.application_name, 45 | fcpv2.user_concurrent_program_name -------------------------------------------------------------------------------- /FND Descriptive Flexfield Table Columns/FND Descriptive Flexfield Table Columns.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Descriptive Flexfield Table Columns 8 | -- Description: Shows all active descriptive flexfield table columns. 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-descriptive-flexfield-table-columns/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-descriptive-flexfield-table-columns/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | fav.application_name application, 15 | fdfv.descriptive_flexfield_name name, 16 | fdfv.title, 17 | fdfv.application_table_name table_name, 18 | fdfv.application_id, 19 | fdfv.descriptive_flexfield_name, 20 | fc.column_name, 21 | fc.description, 22 | xxen_util.user_name(fc.created_by) created_by, 23 | xxen_util.client_time(fc.creation_date) creation_date, 24 | xxen_util.user_name(fc.last_updated_by) last_updated_by, 25 | xxen_util.client_time(fc.last_update_date) last_update_date 26 | from 27 | fnd_application_vl fav, 28 | fnd_descriptive_flexs_vl fdfv, 29 | fnd_tables ft, 30 | fnd_columns fc 31 | where 32 | fdfv.title='Enter Journals: Lines' and 33 | 1=1 and 34 | fdfv.descriptive_flexfield_name not like '$SRS$.%' and 35 | fav.application_id=fdfv.application_id and 36 | fdfv.table_application_id=ft.application_id and 37 | fdfv.application_table_name=ft.table_name and 38 | ft.application_id=fc.application_id(+) and 39 | ft.table_id=fc.table_id(+) and 40 | fc.flexfield_usage_code(+)='D' and 41 | fdfv.application_id=fc.flexfield_application_id(+) and 42 | fdfv.descriptive_flexfield_name=fc.flexfield_name(+) 43 | order by 44 | fav.application_name, 45 | fdfv.title, 46 | fc.column_name -------------------------------------------------------------------------------- /FND Flex Hierarchies (Rollup Groups)/FND Flex Hierarchies (Rollup Groups).sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Flex Hierarchies (Rollup Groups) 8 | -- Description: Flex value sets with rollup groups 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-flex-hierarchies-rollup-groups/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-flex-hierarchies-rollup-groups/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | ffvs.flex_value_set_name, 15 | ffhv.hierarchy_code, 16 | ffhv.hierarchy_name, 17 | ffhv.description, 18 | xxen_util.user_name(ffhv.created_by) created_by, 19 | ffhv.creation_date, 20 | xxen_util.user_name(ffhv.last_updated_by) last_updated_by, 21 | ffhv.last_update_date, 22 | ffvs.flex_value_set_id 23 | from 24 | fnd_flex_value_sets ffvs, 25 | fnd_flex_hierarchies_vl ffhv 26 | where 27 | ffvs.flex_value_set_id=ffhv.flex_value_set_id 28 | order by 29 | ffvs.flex_value_set_name, 30 | ffhv.hierarchy_code -------------------------------------------------------------------------------- /FND Form Functions/FND Form Functions.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Form Functions 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-form-functions/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-form-functions/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | fffv.function_name function, 15 | fffv.user_function_name, 16 | nvl(xxen_util.meaning(fffv.type,'FORM_FUNCTION_TYPE',0),fffv.type) type, 17 | fav.application_name form_application, 18 | ffv.form_name, 19 | ffv.user_form_name, 20 | fffv.parameters, 21 | fffv.web_html_call html_call, 22 | xxen_util.user_name(fffv.created_by) created_by, 23 | xxen_util.client_time(fffv.creation_date) creation_date, 24 | xxen_util.user_name(fffv.last_updated_by) last_updated_by, 25 | xxen_util.client_time(fffv.last_update_date) last_update_date 26 | from 27 | fnd_form_functions_vl fffv, 28 | fnd_application_vl fav, 29 | fnd_form_vl ffv 30 | where 31 | 1=1 and 32 | ffv.application_id=fav.application_id(+) and 33 | fffv.application_id=ffv.application_id(+) and 34 | fffv.form_id=ffv.form_id(+) 35 | order by 36 | ffv.form_name, 37 | fffv.function_name -------------------------------------------------------------------------------- /FND Help Documents and Targets/FND Help Documents and Targets.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Help Documents and Targets 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-help-documents-and-targets/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-help-documents-and-targets/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | fav.application_name, 15 | fhd.application application_short_name, 16 | fhd.file_name, 17 | fhd.title, 18 | fhd.language, 19 | &target_name 20 | fhd.custom_level, 21 | fl.file_name full_file_name, 22 | fl.program_tag, 23 | &file_data 24 | fl.file_content_type, 25 | fl.upload_date, 26 | fhd.file_id 27 | from 28 | fnd_application_vl fav, 29 | fnd_help_documents fhd, 30 | fnd_lobs fl, 31 | (select fht.* from fnd_help_targets fht where '&show_targets'='Y') fht 32 | where 33 | 1=1 and 34 | xxen_util.application_short_name_trans(fav.application_short_name)=fhd.application and 35 | fhd.file_id=fl.file_id(+) and 36 | fhd.file_id=fht.file_id(+) 37 | order by 38 | application_name, 39 | fhd.file_name, 40 | fht.target_name -------------------------------------------------------------------------------- /FND Languages/FND Languages.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Languages 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-languages/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-languages/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | flv.description language, 15 | flv.language_code, 16 | decode(flv.installed_flag,'I','Installed','B','Base Language') installed_flag, 17 | flv.last_update_date 18 | from 19 | fnd_languages_vl flv 20 | where 21 | 1=1 22 | order by 23 | flv.description -------------------------------------------------------------------------------- /FND Lobs/FND Lobs.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Lobs 8 | -- Description: Generic file manager lob data, such as attachments, help files, imported and exported Blitz Report files etc. 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-lobs/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-lobs/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | fl.file_id, 15 | fl.file_name, 16 | fl.file_content_type, 17 | &file_data 18 | fl.upload_date, 19 | fl.expiration_date, 20 | fl.program_name, 21 | fl.program_tag, 22 | fl.language, 23 | fl.oracle_charset, 24 | fl.file_format, 25 | length(fl.file_data) file_size, 26 | 'select fl.* from fnd_lobs fl where fl.file_id='||fl.file_id sql_text 27 | from 28 | fnd_lobs fl 29 | where 30 | 1=1 31 | order by 32 | fl.upload_date desc nulls last, 33 | fl.file_id desc -------------------------------------------------------------------------------- /FND Log Messages/FND Log Messages.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Log Messages 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-log-messages/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-log-messages/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xxen_util.user_name(flm.user_id) user_name, 15 | xxen_util.meaning(flm.log_level,'AFLOG_LEVELS',0) log_level_name, 16 | flm.* 17 | from 18 | fnd_log_messages flm 19 | where 20 | 1=1 21 | order by 22 | flm.log_sequence desc -------------------------------------------------------------------------------- /FND Lookup Values Comparison between environments/FND Lookup Values Comparison between environments.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Lookup Values Comparison between environments 8 | -- Description: Compares lookup values between the local and a remote database environment 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-lookup-values-comparison-between-environments/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-lookup-values-comparison-between-environments/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | nvl(flv.lookup_type,flv2.lookup_type) lookup_type, 15 | nvl(flv.lookup_code,flv2.lookup_code) lookup_code, 16 | nvl(flv.language,flv2.language) language, 17 | flv.source_lang, 18 | flv2.source_lang source_lang_remote, 19 | decode(nvl(flv.source_lang,'x'),nvl(flv2.source_lang,'x'),null,'Y') source_lang_different, 20 | flv.description, 21 | flv2.description description_remote, 22 | decode(nvl(flv.description,'x'),nvl(flv2.description,'x'),null,'Y') description_different, 23 | flv.meaning, 24 | flv2.meaning meaning_remote, 25 | decode(nvl(flv.meaning,'x'),nvl(flv2.meaning,'x'),null,'Y') meaning_different 26 | from 27 | (select flv.* from fnd_lookup_values flv where 1=1) flv 28 | full join 29 | (select flv.* from fnd_lookup_values@&database_link flv where 1=1) flv2 30 | on 31 | flv.lookup_type=flv2.lookup_type and 32 | flv.lookup_code=flv2.lookup_code and 33 | flv.language=flv2.language and 34 | flv.view_application_id=flv2.view_application_id and 35 | flv.security_group_id=flv2.security_group_id 36 | where 37 | 2=2 -------------------------------------------------------------------------------- /FND Menu Entries/FND Menu Entries.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Menu Entries 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-menu-entries/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-menu-entries/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | fmv.user_menu_name, 15 | fmv.menu_name, 16 | xxen_util.meaning(fmv.type,'MENU_TYPE',0) type, 17 | fmev.entry_sequence sequence, 18 | fmev.prompt, 19 | fmt.user_menu_name sub_menu, 20 | fffv.function_name, 21 | fffv.user_function_name, 22 | nvl(xxen_util.meaning(fffv.type,'FORM_FUNCTION_TYPE',0),fffv.type) function_type, 23 | ffv.form_name, 24 | ffv.user_form_name, 25 | fffv.parameters, 26 | fffv.web_html_call html_call, 27 | xxen_util.user_name(fmev.created_by) created_by, 28 | xxen_util.client_time(fmev.creation_date) creation_date, 29 | xxen_util.user_name(fmev.last_updated_by) last_updated_by, 30 | xxen_util.client_time(fmev.last_update_date) last_update_date 31 | from 32 | fnd_menus_vl fmv, 33 | fnd_menu_entries_vl fmev, 34 | fnd_menus_tl fmt, 35 | fnd_form_functions_vl fffv, 36 | fnd_form_vl ffv 37 | where 38 | 1=1 and 39 | fmv.menu_id=fmev.menu_id and 40 | fmev.sub_menu_id=fmt.menu_id(+) and 41 | fmt.language(+)=userenv('lang') and 42 | fmev.function_id=fffv.function_id(+) and 43 | fffv.application_id=ffv.application_id(+) and 44 | fffv.form_id=ffv.form_id(+) 45 | order by 46 | fmv.user_menu_name, 47 | fmev.entry_sequence -------------------------------------------------------------------------------- /FND Messages/FND Messages.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Messages 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-messages/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-messages/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | fav.application_name application, 15 | fnm.message_name, 16 | fnm.language_code language, 17 | fnm.message_text, 18 | fnm.message_number, 19 | xxen_util.meaning(fnm.type,'MESSAGE_TYPES',0) type, 20 | fnm.max_length, 21 | fnm.description, 22 | xxen_util.meaning(fnm.category,'FND_KBF_CATEGORY',0) alert_category, 23 | xxen_util.meaning(fnm.severity,'FND_KBF_SEVERITY',0) alert_severity, 24 | xxen_util.meaning(fnm.fnd_log_severity,'FND_LOG_SEVERITY_LEVEL',0) log_severity, 25 | xxen_util.user_name(fnm.created_by) created_by, 26 | xxen_util.client_time(fnm.creation_date) creation_date, 27 | xxen_util.user_name(fnm.last_updated_by) last_updated_by, 28 | xxen_util.client_time(fnm.last_update_date) last_update_date 29 | from 30 | fnd_new_messages fnm, 31 | fnd_application_vl fav 32 | where 33 | 1=1 and 34 | fnm.application_id=fav.application_id 35 | order by 36 | fav.application_name, 37 | fnm.message_name, 38 | fnm.language_code -------------------------------------------------------------------------------- /FND Nodes/FND Nodes.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Nodes 8 | -- Description: FND_NODES stores information about the nodes that are used to 9 | install and run Oracle Application at your site. Each row includes 10 | the name of the node and the platform code. The column name 11 | NODE_NAME is the given name used to refer to the machine or node 12 | at the site. The column PLATFORM_CODE specifies the make of the 13 | machine or node (e.g. DEC VMS, Sequent Ptx, etc.). This 14 | information is used to associate a concurrent manager with a 15 | specific node to support distributed processing. 16 | 17 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-nodes/ 18 | -- Library Link: https://www.enginatics.com/reports/fnd-nodes/ 19 | -- Run Report: https://demo.enginatics.com/ 20 | 21 | select 22 | fn.node_name, 23 | xxen_util.meaning(decode(fn.support_db,'Y','Y'),'YES_NO',0) database, 24 | xxen_util.meaning(decode(fn.support_cp,'Y','Y'),'YES_NO',0) concurrent, 25 | xxen_util.meaning(decode(fn.support_forms,'Y','Y'),'YES_NO',0) forms, 26 | xxen_util.meaning(decode(fn.support_web,'Y','Y'),'YES_NO',0) web, 27 | xxen_util.meaning(decode(fn.support_admin,'Y','Y'),'YES_NO',0) admin, 28 | xxen_util.meaning(decode(fn.status,'Y','Y'),'YES_NO',0) status, 29 | fn.description, 30 | fn.ping_response, 31 | xxen_util.meaning(fn.platform_code,'PLATFORM',0) platform, 32 | fn.server_address ip_address, 33 | fn.host, 34 | fn.domain, 35 | fn.webhost, 36 | fn.virtual_ip, 37 | fn.server_id, 38 | fn.appltop_id, 39 | fn.node_mode, 40 | xxen_util.user_name(fn.created_by) created_by, 41 | xxen_util.client_time(fn.creation_date) creation_date, 42 | xxen_util.user_name(fn.last_updated_by) last_updated_by, 43 | xxen_util.client_time(fn.last_update_date) last_update_date 44 | from 45 | fnd_nodes fn 46 | order by 47 | fn.support_db desc, 48 | fn.support_cp desc, 49 | fn.node_name -------------------------------------------------------------------------------- /FND Responsibility Menu Exclusions/FND Responsibility Menu Exclusions.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Responsibility Menu Exclusions 8 | -- Description: Responsibility menu exclusions 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-responsibility-menu-exclusions/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-responsibility-menu-exclusions/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | frv.responsibility_name, 15 | fav.application_name application, 16 | xxen_util.meaning(frf.rule_type,'FND_RESP_FUNC_RULE_TYPE',0) type, 17 | decode(frf.rule_type,'F',fffv.user_function_name,fmv.user_menu_name) name, 18 | decode(frf.rule_type,'F',fffv.function_name,fmv.menu_name) system_name, 19 | decode(frf.rule_type,'F',fffv.description,fmv.description) description, 20 | xxen_util.user_name(frf.created_by) created_by, 21 | xxen_util.client_time(frf.creation_date) creation_date, 22 | xxen_util.user_name(frf.last_updated_by) last_updated_by, 23 | xxen_util.client_time(frf.last_update_date) last_update_date 24 | from 25 | fnd_application_vl fav, 26 | fnd_responsibility_vl frv, 27 | fnd_resp_functions frf, 28 | fnd_form_functions_vl fffv, 29 | fnd_menus_vl fmv 30 | where 31 | 1=1 and 32 | fav.application_id=frv.application_id and 33 | frv.application_id=frf.application_id and 34 | frv.responsibility_id=frf.responsibility_id and 35 | decode(frf.rule_type,'F',frf.action_id)=fffv.function_id(+) and 36 | decode(frf.rule_type,'M',frf.action_id)=fmv.menu_id(+) 37 | order by 38 | frv.responsibility_name, 39 | type, 40 | name -------------------------------------------------------------------------------- /FND Role Hierarchy/FND Role Hierarchy.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Role Hierarchy 8 | -- Description: User Management (UMX) role hierarchy to manage role-based access control (RBAC). 9 | When run for a specified role, the report shows all hierarchies that contain or lead to inheriting that role. 10 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-role-hierarchy/ 11 | -- Library Link: https://www.enginatics.com/reports/fnd-role-hierarchy/ 12 | -- Run Report: https://demo.enginatics.com/ 13 | 14 | select 15 | xxen_util.meaning(connect_by_root x.category_lookup_code,'UMX_CATEGORY_LOOKUP',0) category, 16 | lpad(' ',2*(level-1))||level level_, 17 | lpad(' ',2*(level-1))||wr.display_name role_name, 18 | lpad(' ',2*(level-1))||x.role role_code, 19 | fav.application_name application, 20 | xxen_util.meaning(connect_by_root x.category_lookup_code,'UMX_CATEGORY_LOOKUP',0)||sys_connect_by_path(x.role,' > ') role_path 21 | from 22 | ( 23 | select urcv.category_lookup_code, null parent_role, urcv.wf_role_name role from umx_role_categories_v urcv union all 24 | select null category_lookup_code, wrh.sub_name parent_role, wrh.super_name role from wf_role_hierarchies wrh where wrh.enabled_flag='Y' 25 | ) x, 26 | wf_roles wr, 27 | fnd_application_vl fav 28 | where 29 | x.role=wr.name and 30 | wr.owner_tag=fav.application_short_name(+) 31 | connect by 32 | prior x.role=x.parent_role 33 | start with 34 | 1=1 and 35 | x.parent_role is null 36 | order by 37 | role_path -------------------------------------------------------------------------------- /FND Roles/FND Roles.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Roles 8 | -- Description: Report of all User Management (UMX) roles, including number of active users for each role to help managing role-based access control (RBAC) 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-roles/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-roles/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | x.* 15 | from 16 | ( 17 | select 18 | decode(wlr.orig_system,'FND_RESP',frv.responsibility_name,nvl(wlrt.display_name,wlr.display_name)) role_name, 19 | wlr.name role_code, 20 | decode(wlr.orig_system,'FND_RESP',fnd_message.get_string('FND','W3H_RESPONSIBILITY_ROLETYPE'),fnd_message.get_string('FND','W3H_ROLE_ROLETYPE')) role_type, 21 | wlr.expiration_date, 22 | (select count(*) from wf_user_role_assignments wura where wlr.name=wura.role_name and sysdate between wura.effective_start_date and nvl(wura.effective_end_date,sysdate)) assigned_users 23 | from 24 | wf_local_roles wlr, 25 | wf_local_roles_tl wlrt, 26 | fnd_responsibility_vl frv 27 | where 28 | 1=1 and 29 | wlr.orig_system in ('UMX','FND_RESP') and 30 | wlr.name=wlrt.name(+) and 31 | wlr.orig_system=wlrt.orig_system(+) and 32 | wlr.orig_system_id=wlrt.orig_system_id(+) and 33 | wlrt.language(+)=userenv('lang') and 34 | wlr.partition_id=wlrt.partition_id(+) and 35 | wlr.orig_system_id=frv.responsibility_id(+) 36 | ) x 37 | where 38 | 2=2 39 | order by 40 | x.role_name -------------------------------------------------------------------------------- /FND SOA Runtime Error/FND SOA Runtime Error.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND SOA Runtime Error 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-soa-runtime-error/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-soa-runtime-error/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | fsre.message_id, 15 | fsre.error_date, 16 | fsre.error_code, 17 | fsre.error_detail 18 | from 19 | fnd_soa_runtime_error fsre 20 | where 21 | 1=1 22 | order by 23 | fsre.error_date desc, 24 | fsre.message_id desc -------------------------------------------------------------------------------- /FND Tables and Columns/FND Tables and Columns.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Tables and Columns 8 | -- Description: Registered FND tables, columns, primary keys and their flexfields 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-tables-and-columns/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-tables-and-columns/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | fav.application_short_name, 15 | fav.application_name, 16 | ft.table_name, 17 | fc.column_name, 18 | fc.description column_description, 19 | xxen_util.meaning(fc.column_type,'COLUMN_TYPE',0)||case when fc.column_type in ('C','U','V') then ' ('||fc.width||')' end column_type, 20 | xxen_util.meaning(fc.null_allowed_flag,'YES_NO',0) null_allowed, 21 | fpk.primary_key_name, 22 | fpkc.primary_key_sequence, 23 | fc.flexfield_name, 24 | fdfv.title flexfield_title, 25 | fc.column_type column_type_code, 26 | xxen_util.user_name(fc.created_by) created_by, 27 | xxen_util.client_time(fc.creation_date) creation_date, 28 | xxen_util.user_name(fc.last_updated_by) last_updated_by, 29 | xxen_util.client_time(fc.last_update_date) last_update_date 30 | from 31 | fnd_application_vl fav, 32 | fnd_tables ft, 33 | fnd_columns fc, 34 | fnd_primary_key_columns fpkc, 35 | fnd_primary_keys fpk, 36 | fnd_descriptive_flexs_vl fdfv 37 | where 38 | 1=1 and 39 | fav.application_id=ft.application_id and 40 | ft.application_id=fc.application_id and 41 | ft.table_id=fc.table_id and 42 | fc.application_id=fpkc.application_id(+) and 43 | fc.table_id=fpkc.table_id(+) and 44 | fc.column_id=fpkc.column_id(+) and 45 | fc.flexfield_application_id=fdfv.application_id(+) and 46 | fc.flexfield_name=fdfv.descriptive_flexfield_name(+) and 47 | fpkc.application_id=fpk.application_id(+) and 48 | fpkc.table_id=fpk.table_id(+) and 49 | fpkc.primary_key_id=fpk.primary_key_id(+) 50 | order by 51 | ft.table_name, 52 | fc.column_sequence, 53 | fpkc.primary_key_sequence -------------------------------------------------------------------------------- /FND User Login Page Favorites/FND User Login Page Favorites.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND User Login Page Favorites 8 | -- Description: User's HTML favourites from table icx_custom_menu_entries 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-user-login-page-favorites/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-user-login-page-favorites/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xxen_util.user_name(icme.user_id) user_name, 15 | frv.responsibility_name responsibility, 16 | icme.display_sequence, 17 | icme.prompt, 18 | icme.url, 19 | nvl(xxen_util.meaning(fffv.type,'FORM_FUNCTION_TYPE',0),icme.function_type) type, 20 | fffv.user_function_name, 21 | fffv.function_name 22 | from 23 | icx_custom_menu_entries icme, 24 | fnd_responsibility_vl frv, 25 | fnd_form_functions_vl fffv 26 | where 27 | 1=1 and 28 | icme.responsibility_id=frv.responsibility_id(+) and 29 | icme.responsibility_application_id=frv.application_id(+) and 30 | icme.function_id=fffv.function_id(+) 31 | order by 32 | user_name, 33 | icme.display_sequence -------------------------------------------------------------------------------- /FND User Login Summary/FND User Login Summary.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND User Login Summary 8 | -- Description: Active application user count per month 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-user-login-summary/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-user-login-summary/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select distinct 14 | trunc(fl.start_time,'month') month, 15 | count(distinct fl.user_id) over (partition by trunc(fl.start_time,'month')) user_count 16 | from 17 | fnd_logins fl 18 | where 19 | 1=1 20 | order by 21 | month desc -------------------------------------------------------------------------------- /FND Users/FND Users.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: FND Users 8 | -- Description: Listing of all EBS users 9 | -- Excel Examle Output: https://www.enginatics.com/example/fnd-users/ 10 | -- Library Link: https://www.enginatics.com/reports/fnd-users/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | fu.user_name, 15 | fu.description, 16 | papf.first_name, 17 | papf.last_name, 18 | fu.email_address, 19 | papf.email_address hr_email_address, 20 | fu.start_date user_start_date, 21 | fu.end_date user_end_date, 22 | fu.last_logon_date, 23 | xxen_util.client_time(fu.password_date) password_date, 24 | (select count(*) from fnd_user_resp_groups furg where fu.user_id=furg.user_id) active_responsibilities, 25 | xxen_util.user_name(fu.created_by) created_by, 26 | xxen_util.client_time(fu.creation_date) creation_date, 27 | xxen_util.user_name(fu.last_updated_by) last_updated_by, 28 | xxen_util.client_time(fu.last_update_date) last_update_date, 29 | fu.user_id 30 | from 31 | fnd_user fu, 32 | (select papf.* from per_all_people_f papf where sysdate between papf.effective_start_date and papf.effective_end_date) papf 33 | where 34 | 1=1 and 35 | fu.employee_id=papf.person_id(+) 36 | order by 37 | case when nvl(fu.end_date,sysdate)>=trunc(sysdate) then 1 else 2 end, 38 | fu.creation_date desc, 39 | fu.user_name -------------------------------------------------------------------------------- /GL Daily Rates/GL Daily Rates.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: GL Daily Rates 8 | -- Description: Daily currency conversion rates 9 | -- Excel Examle Output: https://www.enginatics.com/example/gl-daily-rates/ 10 | -- Library Link: https://www.enginatics.com/reports/gl-daily-rates/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | gdct.user_conversion_type conversion_type, 15 | gdr.from_currency, 16 | gdr.to_currency, 17 | gdr.conversion_date, 18 | gdr.conversion_rate, 19 | xxen_util.user_name(gdr.created_by) created_by, 20 | xxen_util.client_time(gdr.creation_date) creation_date, 21 | xxen_util.user_name(gdr.last_updated_by) last_updated_by, 22 | xxen_util.client_time(gdr.last_update_date) last_update_date 23 | from 24 | gl_daily_conversion_types gdct, 25 | gl_daily_rates gdr 26 | where 27 | 1=1 and 28 | gdct.conversion_type=gdr.conversion_type 29 | order by 30 | gdct.user_conversion_type, 31 | gdr.from_currency, 32 | gdr.to_currency, 33 | gdr.conversion_date desc -------------------------------------------------------------------------------- /GL FSG Reports/GL FSG Reports.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: GL FSG Reports 8 | -- Description: Financial Statement Generator reports 9 | -- Excel Examle Output: https://www.enginatics.com/example/gl-fsg-reports/ 10 | -- Library Link: https://www.enginatics.com/reports/gl-fsg-reports/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | rrv.name report_name, 15 | rrv.report_title, 16 | xxen_util.meaning(decode(rrv.security_flag,'Y','Y'),'YES_NO',0) security, 17 | rrv.row_set, 18 | rrv.column_set, 19 | rrv.content_set, 20 | rrv.row_order, 21 | rrv.report_display_set display_set, 22 | rrv.segment_override, 23 | rrv.unit_of_measure_id currency, 24 | xxen_util.meaning(rrv.rounding_option,'ROUNDING_OPTION',168) rounding_option, 25 | xxen_util.meaning(rrv.minimum_display_level,'GL_DISPLAY_LEVEL',168) minimum_display_level, 26 | xxen_util.meaning(rrv.output_option,'OUTPUT_OPTION',168) output_option, 27 | rrv.description, 28 | xxen_util.user_name(rrv.created_by) created_by, 29 | xxen_util.client_time(rrv.creation_date) creation_date, 30 | xxen_util.user_name(rrv.last_updated_by) last_updated_by, 31 | xxen_util.client_time(rrv.last_update_date) last_update_date, 32 | fifsv.id_flex_structure_name, 33 | rrv.structure_id 34 | from 35 | rg_reports_v rrv, 36 | fnd_id_flex_structures_vl fifsv 37 | where 38 | 1=1 and 39 | rrv.application_id=fifsv.application_id and 40 | rrv.id_flex_code=fifsv.id_flex_code and 41 | rrv.structure_id=fifsv.id_flex_num 42 | order by 43 | fifsv.id_flex_structure_name, 44 | rrv.name -------------------------------------------------------------------------------- /GL FSG Row Orders/GL FSG Row Orders.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: GL FSG Row Orders 8 | -- Description: Financial Statement Generator row order listing 9 | -- Excel Examle Output: https://www.enginatics.com/example/gl-fsg-row-orders/ 10 | -- Library Link: https://www.enginatics.com/reports/gl-fsg-row-orders/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | rro.name row_order, 15 | rro.description, 16 | xxen_util.meaning(decode(rro.security_flag,'Y','Y'),'YES_NO',0) security, 17 | rro.column_name, 18 | rro.column_number column_order, 19 | xxen_util.meaning(rro.row_rank_type,'RANKING_TYPE',168) ranking, 20 | rrssv.segment_sequence sequence, 21 | rrssv.seg_name segment, 22 | xxen_util.meaning(rrssv.seg_order_type,decode(rrssv.application_column_name,'LEDGER_SEGMENT','LEDGER_ORDERING_TYPE','ORDERING_TYPE'),168) order_by, 23 | xxen_util.meaning(rrssv.seg_display_type,decode(rrssv.application_column_name,'LEDGER_SEGMENT','LEDGER_SEG_DISPLAY_TYPE','SEG_DISPLAY_TYPE'),168) display, 24 | rrssv.segment_width width, 25 | xxen_util.user_name(rrssv.created_by) created_by, 26 | xxen_util.client_time(rrssv.creation_date) creation_date, 27 | xxen_util.user_name(rrssv.last_updated_by) last_updated_by, 28 | xxen_util.client_time(rrssv.last_update_date) last_update_date, 29 | fifsv.id_flex_structure_name, 30 | rro.structure_id, 31 | rro.row_order_id 32 | from 33 | rg_row_orders rro, 34 | fnd_id_flex_structures_vl fifsv, 35 | rg_row_segment_sequences_v rrssv 36 | where 37 | 1=1 and 38 | rro.application_id=fifsv.application_id and 39 | rro.id_flex_code=fifsv.id_flex_code and 40 | rro.structure_id=fifsv.id_flex_num and 41 | rro.row_order_id=rrssv.row_order_id and 42 | rro.structure_id=rrssv.structure_id 43 | order by 44 | fifsv.id_flex_structure_name, 45 | rro.name, 46 | rrssv.segment_sequence -------------------------------------------------------------------------------- /GL Header Categories Summary/GL Header Categories Summary.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: GL Header Categories Summary 8 | -- Description: Master data report showing ledger, category and source definitions across multiple ledgers. 9 | -- Excel Examle Output: https://www.enginatics.com/example/gl-header-categories-summary/ 10 | -- Library Link: https://www.enginatics.com/reports/gl-header-categories-summary/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select /*+ parallel*/ distinct 14 | gl.name ledger, 15 | gjh.je_category category, 16 | gjcv.description category_desc, 17 | &columns1 18 | count(*) over (partition by gl.name, gjh.je_category &partition_by) header_count, 19 | count(distinct gjb.name) over (partition by gl.name &partition_by) batch_name_count, 20 | count(distinct gjh.period_name) over (partition by gl.name, gjh.je_category &partition_by) period_count, 21 | min(distinct gps.start_date) over (partition by gl.name, gjh.je_category &partition_by) min_period_start_date, 22 | max(distinct gps.end_date) over (partition by gl.name, gjh.je_category &partition_by) max_period_end_date, 23 | count(*) over (partition by gl.name, gjh.je_category) total_count 24 | from 25 | gl_ledgers gl, 26 | gl_period_statuses gps, 27 | gl_je_batches gjb, 28 | gl_je_headers gjh, 29 | gl_je_categories_vl gjcv 30 | where 31 | gl.ledger_id=gjh.ledger_id and 32 | gps.application_id=101 and 33 | gps.period_name=gjh.period_name and 34 | gps.ledger_id=gjh.ledger_id and 35 | gjh.status='P' and 36 | gjh.actual_flag='A' and 37 | gjh.je_batch_id=gjb.je_batch_id and 38 | gjh.je_category=gjcv.je_category_name(+) 39 | order by 40 | gl.name, 41 | total_count desc, 42 | gjh.je_category, 43 | header_count desc -------------------------------------------------------------------------------- /GL Ledger Sets/GL Ledger Sets.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: GL Ledger Sets 8 | -- Description: Master data report showing GL ledger sets and included ledgers. 9 | -- Excel Examle Output: https://www.enginatics.com/example/gl-ledger-sets/ 10 | -- Library Link: https://www.enginatics.com/reports/gl-ledger-sets/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | glsv.name ledger_set, 15 | glsv.short_name, 16 | glsv.description, 17 | glsv.chart_of_accounts_name chart_of_accounts, 18 | glsv.period_set_name calendar, 19 | glsv.user_period_type period_type, 20 | (select gl.name from gl_ledgers gl where glsv.default_ledger_id=gl.ledger_id) default_ledger, 21 | gl.name ledger, 22 | xxen_util.meaning(gl.object_type_code,'LEDGERS',101) object_type_code, 23 | xxen_util.meaning(gl.ledger_category_code,'GL_ASF_LEDGER_CATEGORY',101) ledger_catgory, 24 | gl.description ledger_description 25 | from 26 | gl_ledger_sets_v glsv, 27 | gl_ledger_set_norm_assign_v glsnav, 28 | gl_ledgers gl 29 | where 30 | 1=1 and 31 | glsv.ledger_id=glsnav.ledger_set_id and 32 | glsnav.ledger_id=gl.ledger_id 33 | order by 34 | glsv.name, 35 | decode(gl.ledger_category_code,'PRIMARY',1,'SECONDARY',2,'ALC',3,'NONE',4), 36 | gl.name -------------------------------------------------------------------------------- /GL Rollup Groups/GL Rollup Groups.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: GL Rollup Groups 8 | -- Description: Flex value sets with rollup groups (FND Flex Hierarchies) 9 | -- Excel Examle Output: https://www.enginatics.com/example/gl-rollup-groups/ 10 | -- Library Link: https://www.enginatics.com/reports/gl-rollup-groups/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | ffvs.flex_value_set_name, 15 | ffhv.hierarchy_code, 16 | ffhv.hierarchy_name, 17 | ffhv.description, 18 | xxen_util.user_name(ffhv.created_by) created_by, 19 | xxen_util.client_time(ffhv.creation_date) creation_date, 20 | xxen_util.user_name(ffhv.last_updated_by) last_updated_by, 21 | xxen_util.client_time(ffhv.last_update_date) last_update_date, 22 | ffvs.flex_value_set_id 23 | from 24 | fnd_flex_value_sets ffvs, 25 | fnd_flex_hierarchies_vl ffhv 26 | where 27 | ffvs.flex_value_set_id=ffhv.flex_value_set_id 28 | order by 29 | ffvs.flex_value_set_name, 30 | ffhv.hierarchy_name -------------------------------------------------------------------------------- /GL Summary Templates/GL Summary Templates.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: GL Summary Templates 8 | -- Description: Master data report showing GL summary and concatenation templates based on ledger, company, department, account, sub-account, and product segments, and including information for the group, ledger set, ledger, ledger category, currency and chart of accounts. 9 | -- Excel Examle Output: https://www.enginatics.com/example/gl-summary-templates/ 10 | -- Library Link: https://www.enginatics.com/reports/gl-summary-templates/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | gl.name ledger, 15 | gst.template_name, 16 | gst.description, 17 | &segment_columns 18 | gst.concatenated_description, 19 | gst.start_actuals_period_name earliest_period, 20 | xxen_util.meaning(gst.status,'SUMMARY_STATUS',101) status, 21 | xxen_util.user_name(gst.created_by) created_by, 22 | gst.creation_date, 23 | xxen_util.user_name(gst.last_updated_by) last_updated_by, 24 | gst.last_update_date, 25 | gst.template_id 26 | from 27 | gl_ledgers gl, 28 | gl_summary_templates gst 29 | where 30 | 1=1 and 31 | gl.ledger_id=gst.ledger_id 32 | order by 33 | gl.name, 34 | gst.template_name -------------------------------------------------------------------------------- /GMI Cycle Count Forms/GMI Cycle Count Forms.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: GMI Cycle Count Forms 8 | -- Description: Imported Oracle standard Cycle Count Forms Report of Oracle OPM PI report 9 | Source: Cycle Count Forms (XML) 10 | Short Name: PIR05_XML 11 | DB package: GMI_PIR05_XMLP_PKG 12 | -- Excel Examle Output: https://www.enginatics.com/example/gmi-cycle-count-forms/ 13 | -- Library Link: https://www.enginatics.com/reports/gmi-cycle-count-forms/ 14 | -- Run Report: https://demo.enginatics.com/ 15 | 16 | select distinct 17 | ipc.whse_code warehouse, 18 | iwm.whse_name warehouse_description, 19 | ich.cycle_no, 20 | ich.cycle_desc, 21 | item_no item_number, 22 | item_desc1 item_description, 23 | ilm.lot_no lot, 24 | ilm.lot_desc lot_description, 25 | ilm.sublot_no sublot, 26 | ipc.location, 27 | ipc.grade_code, 28 | iimv.item_um item_uom, 29 | iimv.item_um2 item_uom2, 30 | ipc.count_no, 31 | mod(ipc.count_no,1000) line_no, 32 | trunc(ipc.count_no/1000) page_no, 33 | ich.print_format 34 | from 35 | ic_whse_mst iwm, 36 | ic_phys_cnt ipc, 37 | ic_cycl_hdr ich, 38 | ic_item_mst_vl iimv, 39 | ic_lots_mst ilm 40 | where 41 | 1=1 and 42 | iwm.whse_code=ipc.whse_code and 43 | ipc.delete_mark=0 and 44 | ipc.cycle_id=ich.cycle_id and 45 | ipc.item_id=iimv.item_id and 46 | ipc.item_id=ilm.item_id and 47 | ipc.lot_id=ilm.lot_id 48 | order by 49 | count_no -------------------------------------------------------------------------------- /INV Default Category Sets/INV Default Category Sets.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: INV Default Category Sets 8 | -- Description: Master data report that lists Inventory functional areas and their default category sets 9 | -- Excel Examle Output: https://www.enginatics.com/example/inv-default-category-sets/ 10 | -- Library Link: https://www.enginatics.com/reports/inv-default-category-sets/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xxen_util.meaning(mdcs.functional_area_id,'MTL_FUNCTIONAL_AREAS',700) functional_area, 15 | mcsv.category_set_name, 16 | mdcs.functional_area_id, 17 | mcsv.category_set_id 18 | from 19 | mtl_default_category_sets mdcs, 20 | mtl_category_sets_v mcsv 21 | where 22 | mdcs.category_set_id=mcsv.category_set_id 23 | order by 24 | mdcs.functional_area_id -------------------------------------------------------------------------------- /INV Item Category Sets/INV Item Category Sets.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: INV Item Category Sets 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/inv-item-category-sets/ 10 | -- Library Link: https://www.enginatics.com/reports/inv-item-category-sets/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | mcsv.category_set_name, 15 | mcsv.description, 16 | mcsv.structure_name flex_structure, 17 | mcsv.control_level_disp, 18 | (select mcbk.concatenated_segments from mtl_categories_b_kfv mcbk where mcsv.default_category_id=mcbk.category_id) default_category, 19 | xxen_util.meaning(decode(mcsv.validate_flag,'Y','Y'),'YES_NO',0) enforce_valid_categories, 20 | (select count(*) from mtl_category_set_valid_cats mcsvc where mcsv.category_set_id=mcsvc.category_set_id) valid_categories_count, 21 | (select count(*) from mtl_categories_b mcb where mcsv.structure_id=mcb.structure_id) mcb_count 22 | from 23 | mtl_category_sets_v mcsv 24 | where 25 | 1=1 26 | order by 27 | mcsv.category_set_name -------------------------------------------------------------------------------- /INV Item Default Transaction Subinventories/INV Item Default Transaction Subinventories.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: INV Item Default Transaction Subinventories 8 | -- Description: Master data report of inventory item relationships including the type of relationship between the item and the subinventory. 9 | -- Excel Examle Output: https://www.enginatics.com/example/inv-item-default-transaction-subinventories/ 10 | -- Library Link: https://www.enginatics.com/reports/inv-item-default-transaction-subinventories/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | msiv.concatenated_segments item, 15 | msiv.description item_description, 16 | xxen_util.meaning(msiv.item_type,'ITEM_TYPE',3) user_item_type, 17 | xxen_util.meaning(misd.default_type,'MTL_DEFAULT_SUBINVENTORY',700) default_type, 18 | misd.subinventory_code subinventory, 19 | mp.organization_code, 20 | haouv.name organization, 21 | xxen_util.user_name(misd.created_by) created_by, 22 | xxen_util.client_time(misd.creation_date) creation_date, 23 | xxen_util.user_name(misd.last_updated_by) last_updated_by, 24 | xxen_util.client_time(misd.last_update_date) last_update_date 25 | from 26 | hr_all_organization_units_vl haouv, 27 | mtl_parameters mp, 28 | mtl_item_sub_defaults misd, 29 | mtl_system_items_vl msiv 30 | where 31 | 1=1 and 32 | mp.organization_code in (select oav.organization_code from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id) and 33 | haouv.organization_id=misd.organization_id and 34 | mp.organization_id=misd.organization_id and 35 | misd.inventory_item_id=msiv.inventory_item_id and 36 | misd.organization_id=msiv.organization_id 37 | order by 38 | msiv.concatenated_segments, 39 | mp.organization_code, 40 | default_type -------------------------------------------------------------------------------- /INV Item Relationships/INV Item Relationships.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: INV Item Relationships 8 | -- Description: Master listing for Inventory item relationships 9 | -- Excel Examle Output: https://www.enginatics.com/example/inv-item-relationships/ 10 | -- Library Link: https://www.enginatics.com/reports/inv-item-relationships/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | mp.organization_code, 15 | msiv1.concatenated_segments from_item, 16 | msiv1.description from_item_description, 17 | msiv2.concatenated_segments to_item, 18 | msiv2.description to_item_description, 19 | xxen_util.meaning(mri.relationship_type_id,'MTL_RELATIONSHIP_TYPES',700) type, 20 | decode(mri.reciprocal_flag,'Y','Y') reciprocal, 21 | mri.planning_enabled_flag planning_enabled, 22 | mri.start_date, 23 | mri.end_date, 24 | xxen_util.user_name(mri.created_by) created_by, 25 | xxen_util.client_time(mri.creation_date) creation_date, 26 | xxen_util.user_name(mri.last_updated_by) last_updated_by, 27 | xxen_util.client_time(mri.last_update_date) last_update_date 28 | from 29 | mtl_parameters mp, 30 | mtl_related_items mri, 31 | mtl_system_items_vl msiv1, 32 | mtl_system_items_vl msiv2 33 | where 34 | 1=1 and 35 | mp.organization_code in (select oav.organization_code from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id) and 36 | mp.organization_id=msiv1.organization_id and 37 | mp.organization_id=msiv2.organization_id and 38 | mri.inventory_item_id=msiv1.inventory_item_id and 39 | mri.related_item_id=msiv2.inventory_item_id 40 | order by 41 | mp.organization_code, 42 | msiv1.concatenated_segments, 43 | msiv2.concatenated_segments, 44 | type -------------------------------------------------------------------------------- /INV Item Statuses/INV Item Statuses.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: INV Item Statuses 8 | -- Description: Master data report of inventory items with the various status attributes, such as: is BOM allowed, Build in WIP, customer orders enabled, internal orders enabled and Invoice enabled, etc. 9 | -- Excel Examle Output: https://www.enginatics.com/example/inv-item-statuses(14)/ 10 | -- Library Link: https://www.enginatics.com/reports/inv-item-statuses(14)/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | * 15 | from 16 | ( 17 | select 18 | msavav.inventory_item_status_code status_code, 19 | misv.inventory_item_status_code_tl status, 20 | misv.description, 21 | &column1 22 | xxen_util.meaning(decode(msavav.attribute_value,'Y','Y'),'YES_NO',0) value, 23 | &column2 24 | substr(msavav.attribute_name,18) column_name 25 | from 26 | mtl_item_status_vl misv, 27 | mtl_stat_attrib_values_all_v msavav 28 | where 29 | 1=1 and 30 | misv.inventory_item_status_code=msavav.inventory_item_status_code 31 | order by 32 | msavav.inventory_item_status_code, 33 | msavav.attribute_name_disp 34 | ) 35 | &pivot -------------------------------------------------------------------------------- /INV Organization Access/INV Organization Access.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: INV Organization Access 8 | -- Description: Inventory organization access for all responsibilities, either through hr security profile or individual org_access assignment. 9 | -- Excel Examle Output: https://www.enginatics.com/example/inv-organization-access/ 10 | -- Library Link: https://www.enginatics.com/reports/inv-organization-access/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | oav.organization_code, 15 | oav.organization_name, 16 | (select xxen_util.meaning('Y','YES_NO',0) from mtl_parameters mp where oav.organization_id=mp.organization_id and mp.organization_id=mp.master_organization_id) is_master_org, 17 | fav.application_name application, 18 | frv.responsibility_name responsibility, 19 | oa.comments, 20 | xxen_util.user_name(oa.created_by) created_by, 21 | xxen_util.client_time(oa.creation_date) creation_date, 22 | xxen_util.user_name(oa.last_updated_by) last_updated_by, 23 | xxen_util.client_time(oa.last_update_date) last_update_date 24 | from 25 | org_access_view oav, 26 | org_access oa, 27 | fnd_responsibility_vl frv, 28 | fnd_application_vl fav 29 | where 30 | 1=1 and 31 | oav.organization_id=oa.organization_id(+) and 32 | oav.responsibility_id=oa.responsibility_id(+) and 33 | oav.resp_application_id=oa.resp_application_id(+) and 34 | oav.responsibility_id=frv.responsibility_id and 35 | oav.resp_application_id=frv.application_id and 36 | oav.resp_application_id=fav.application_id 37 | order by 38 | oav.organization_code, 39 | oav.organization_name, 40 | fav.application_name, 41 | frv.responsibility_name -------------------------------------------------------------------------------- /INV Transaction Source Types/INV Transaction Source Types.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: INV Transaction Source Types 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/inv-transaction-source-types/ 10 | -- Library Link: https://www.enginatics.com/reports/inv-transaction-source-types/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xxen_util.meaning(decode(mtst.user_defined_flag,'Y','U','S'),'CUSTOMIZATION_LEVEL',0) source, 15 | mtst.transaction_source_type_name source_type, 16 | mtst.description, 17 | xxen_util.meaning(decode(mtst.user_defined_flag,'Y',mtst.validated_flag),'YES_NO_SYS',700) validation_type, 18 | mtst.descriptive_flex_context_code context, 19 | mtst.disable_date inactive_on, 20 | &dff_columns 21 | xxen_util.user_name(mtst.created_by) created_by, 22 | xxen_util.client_time(mtst.creation_date) creation_date, 23 | xxen_util.user_name(mtst.last_updated_by) last_updated_by, 24 | xxen_util.client_time(mtst.last_update_date) last_update_date, 25 | mtst.transaction_source_type_id 26 | from 27 | mtl_txn_source_types mtst 28 | where 29 | 1=1 30 | order by 31 | mtst.user_defined_flag, 32 | mtst.transaction_source_type_name -------------------------------------------------------------------------------- /INV Transaction Types/INV Transaction Types.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: INV Transaction Types 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/inv-transaction-types/ 10 | -- Library Link: https://www.enginatics.com/reports/inv-transaction-types/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xxen_util.meaning(decode(mtt.user_defined_flag,'Y','U','S'),'CUSTOMIZATION_LEVEL',0) source, 15 | mtt.transaction_type_name, 16 | mtt.description, 17 | mtst.transaction_source_type_name source_type, 18 | xxen_util.meaning(mtt.transaction_action_id,'MTL_TRANSACTION_ACTION',700) action, 19 | xxen_util.meaning(decode(mtt.type_class,1,1),'SYS_YES_NO',700) project, 20 | xxen_util.meaning(decode(mtt.shortage_msg_online_flag,1,1),'SYS_YES_NO',700) shortage_msg_online, 21 | xxen_util.meaning(decode(mtt.shortage_msg_background_flag,1,1),'SYS_YES_NO',700) shortage_msg_notification, 22 | xxen_util.meaning(decode(mtt.status_control_flag,1,1),'SYS_YES_NO',700) status_control, 23 | xxen_util.meaning(decode(mtt.location_required_flag,'Y','Y'),'YES_NO',0) location_required, 24 | &dff_columns 25 | xxen_util.user_name(mtt.created_by) created_by, 26 | xxen_util.client_time(mtt.creation_date) creation_date, 27 | xxen_util.user_name(mtt.last_updated_by) last_updated_by, 28 | xxen_util.client_time(mtt.last_update_date) last_update_date, 29 | mtt.transaction_source_type_id, 30 | mtt.transaction_action_id, 31 | mtt.transaction_type_id 32 | from 33 | mtl_transaction_types mtt, 34 | mtl_txn_source_types mtst 35 | where 36 | 1=1 and 37 | mtt.transaction_source_type_id=mtst.transaction_source_type_id 38 | order by 39 | mtt.user_defined_flag, 40 | mtt.transaction_source_type_id, 41 | mtt.transaction_action_id, 42 | mtt.transaction_type_name -------------------------------------------------------------------------------- /JTF Grid Datasources/JTF Grid Datasources.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: JTF Grid Datasources 8 | -- Description: JTF grid (CRM spreadtable) datasource and column definition 9 | -- Excel Examle Output: https://www.enginatics.com/example/jtf-grid-datasources/ 10 | -- Library Link: https://www.enginatics.com/reports/jtf-grid-datasources/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | jgdv.grid_datasource_name datasource_name, 15 | jgdv.title_text title, 16 | jgdv.db_view_name view_name, 17 | jgcv.grid_col_alias column_alias, 18 | jgcv.db_col_name view_column, 19 | xxen_util.meaning(jgcv.data_type_code,'COLUMN_TYPE',0) data_type, 20 | jgcv.query_seq query_sequence, 21 | xxen_util.meaning(jgcv.sortable_flag,'WSH_DEBUG_ENABLED',665) sortable, 22 | jgcv.label_text label, 23 | jgcv.display_seq display_sequence, 24 | jgcv.display_hsize display_width, 25 | xxen_util.meaning(jgcv.display_type_code,'JTF_DISPLAY_TYPE',0) display_type 26 | from 27 | jtf_grid_datasources_vl jgdv, 28 | jtf_grid_cols_vl jgcv 29 | where 30 | 1=1 and 31 | jgdv.grid_datasource_name=jgcv.grid_datasource_name 32 | order by 33 | jgdv.grid_datasource_name, 34 | jgcv.query_seq -------------------------------------------------------------------------------- /ONT System Parameters/ONT System Parameters.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: ONT System Parameters 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/ont-system-parameters/ 10 | -- Library Link: https://www.enginatics.com/reports/ont-system-parameters/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | haouv.name operating_unit, 15 | ospdv.name parameter_name, 16 | ospdv.description, 17 | xxen_util.meaning(decode(ospdv.seeded_flag,'Y','Y'),'YES_NO',0) seeded, 18 | xxen_util.meaning(decode(ospdv.enabled_flag,'Y','Y'),'YES_NO',0) enabled, 19 | xxen_util.meaning(ospdv.category_code,'OM_PARAMETER_CATEGORY',660) category, 20 | (select ffvs.flex_value_set_name from fnd_flex_value_sets ffvs where ospdv.value_set_id=ffvs.flex_value_set_id) flex_value_set_name, 21 | xxen_util.meaning(ospdv.open_orders_check_flag,'OPEN_ORDERS_ACTION',660) open_orders_check_flag, 22 | ospa.parameter_value, 23 | xxen_util.user_name(ospa.created_by) created_by, 24 | xxen_util.client_time(ospa.creation_date) creation_date, 25 | xxen_util.user_name(ospa.last_updated_by) last_updated_by, 26 | xxen_util.client_time(ospa.last_update_date) last_update_date, 27 | ospdv.parameter_code, 28 | ospdv.category_code 29 | from 30 | oe_sys_parameter_def_vl ospdv, 31 | oe_sys_parameters_all ospa, 32 | hr_all_organization_units_vl haouv 33 | where 34 | 1=1 and 35 | ospdv.parameter_code=ospa.parameter_code(+) and 36 | ospa.org_id=haouv.organization_id(+) 37 | order by 38 | haouv.name, 39 | ospdv.name -------------------------------------------------------------------------------- /PA Task Schedule/PA Task Schedule.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: PA Task Schedule 8 | -- Description: Summary project report showing operating unit, project, task, scheduled start date, scheduled finish date, created by, and last updated by. 9 | -- Excel Examle Output: https://www.enginatics.com/example/pa-task-schedule/ 10 | -- Library Link: https://www.enginatics.com/reports/pa-task-schedule/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | haouv.name operating_unit, 15 | ppa.segment1 project, 16 | ppe.name task, 17 | ppevs.scheduled_start_date, 18 | ppevs.scheduled_finish_date, 19 | xxen_util.user_name(ppevs.created_by) created_by, 20 | case when ppevs.creation_date<>ppevs.last_update_date or ppevs.created_by<>ppevs.last_updated_by then xxen_util.user_name(ppevs.last_updated_by) end last_updated_by 21 | from 22 | hr_all_organization_units haouv, 23 | pa_projects_all ppa, 24 | pa_proj_elements ppe, 25 | pa_proj_elem_ver_schedule ppevs 26 | where 27 | 1=1 and 28 | haouv.organization_id=ppa.org_id and 29 | ppa.project_id=ppe.project_id and 30 | ppe.object_type='PA_TASKS' and 31 | ppe.baseline_finish_date is not null and 32 | ppe.project_id=ppevs.project_id and 33 | ppe.proj_element_id=ppevs.proj_element_id 34 | order by 35 | haouv.name, 36 | ppa.segment1, 37 | ppe.name -------------------------------------------------------------------------------- /PAY Payroll Element Details/PAY Payroll Element Details.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: PAY Payroll Element Details 8 | -- Description: Master data report showing HR payroll element details. 9 | Elements are the units used to build all the earnings, deductions and benefits that companies can give to employees. 10 | -- Excel Examle Output: https://www.enginatics.com/example/pay-payroll-element-details/ 11 | -- Library Link: https://www.enginatics.com/reports/pay-payroll-element-details/ 12 | -- Run Report: https://demo.enginatics.com/ 13 | 14 | select 15 | petfv.element_name, 16 | petfv.reporting_name, 17 | petfv.description, 18 | pec.classification_name, 19 | pec.legislation_code, 20 | petfv.input_currency_code, 21 | petfv.output_currency_code, 22 | xxen_util.meaning(petfv.additional_entry_allowed_flag,'YES_NO',0) additional_entry_allowed, 23 | xxen_util.meaning(petfv.adjustment_only_flag,'YES_NO',0) adjustment_only, 24 | xxen_util.meaning(petfv.closed_for_entry_flag,'YES_NO',0) closed_for_entry, 25 | xxen_util.meaning(petfv.multiple_entries_allowed_flag,'YES_NO',0) multiple_entries_allowed, 26 | xxen_util.meaning(petfv.process_in_run_flag,'YES_NO',0) process_in_run, 27 | xxen_util.meaning(petfv.standard_link_flag,'YES_NO',0) standard_link, 28 | xxen_util.meaning(petfv.processing_type,'PROCESSING_TYPE',3) processing_type, 29 | xxen_util.meaning(petfv.post_termination_rule,'TERMINATION_RULE',3) post_termination_rule, 30 | petfv.effective_start_date, 31 | petfv.effective_end_date, 32 | petfv.processing_priority, 33 | xxen_util.user_name(petfv.created_by) created_by, 34 | xxen_util.client_time(petfv.creation_date) creation_date, 35 | xxen_util.user_name(petfv.last_updated_by) last_updated_by, 36 | xxen_util.client_time(petfv.last_update_date) last_update_date, 37 | petfv.element_type_id 38 | from 39 | pay_element_types_f_vl petfv, 40 | pay_element_classifications pec 41 | where 42 | 1=1 and 43 | petfv.classification_id=pec.classification_id -------------------------------------------------------------------------------- /PER Employee Grade Changes/PER Employee Grade Changes.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: PER Employee Grade Changes 8 | -- Description: List of employees with their grade changes. 9 | -- Excel Examle Output: https://www.enginatics.com/example/per-employee-grade-changes/ 10 | -- Library Link: https://www.enginatics.com/reports/per-employee-grade-changes/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | papf.employee_number, 15 | papf.first_name, 16 | papf.last_name, 17 | papf.full_name, 18 | papf.email_address, 19 | pbg.name business_group, 20 | paaf_new.effective_start_date change_date, 21 | pg_old.name old_grade, 22 | pg_new.name new_grade, 23 | pj_old.name old_job, 24 | pj_new.name new_job, 25 | (select pap.name from per_all_positions pap where pap.position_id=paaf_old.position_id) old_position, 26 | (select pap.name from per_all_positions pap where pap.position_id=paaf_new.position_id) new_position, 27 | papf.person_id, 28 | papf.effective_start_date person_start_date, 29 | papf.effective_end_date person_end_date 30 | from 31 | per_all_people_f papf, 32 | per_business_groups pbg, 33 | per_all_assignments_f paaf_old, 34 | per_all_assignments_f paaf_new, 35 | per_grades pg_old, 36 | per_grades pg_new, 37 | per_jobs pj_old, 38 | per_jobs pj_new 39 | where 40 | 1=1 and 41 | papf.person_id=paaf_old.person_id and 42 | papf.person_id=paaf_new.person_id and 43 | papf.business_group_id=pbg.business_group_id and 44 | paaf_old.person_id=paaf_new.person_id and 45 | paaf_old.assignment_type='E' and 46 | paaf_old.primary_flag='Y' and 47 | paaf_new.assignment_type='E' and 48 | paaf_new.primary_flag='Y' and 49 | paaf_old.grade_id=pg_old.grade_id and 50 | paaf_new.grade_id=pg_new.grade_id and 51 | paaf_old.grade_id<>paaf_new.grade_id and 52 | paaf_old.job_id=pj_old.job_id(+) and 53 | paaf_new.job_id=pj_new.job_id(+) and 54 | paaf_old.effective_end_date+1=paaf_new.effective_start_date -------------------------------------------------------------------------------- /PER Information Type Security/PER Information Type Security.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: PER Information Type Security 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/per-information-type-security/ 10 | -- Library Link: https://www.enginatics.com/reports/per-information-type-security/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | fav.application_name, 15 | frv.responsibility_name, 16 | pitsv.info_type_table_name, 17 | pitsv.information_type, 18 | pitsv.context_name, 19 | pitsv.legislation_code, 20 | xxen_util.user_name(pitsv.created_by) created_by, 21 | xxen_util.client_time(pitsv.creation_date) creation_date, 22 | xxen_util.user_name(pitsv.last_updated_by) last_updated_by, 23 | xxen_util.client_time(pitsv.last_update_date) last_update_date 24 | from 25 | fnd_application_vl fav, 26 | fnd_responsibility_vl frv, 27 | per_info_type_security_v pitsv 28 | where 29 | 1=1 and 30 | pitsv.application_id=fav.application_id and 31 | pitsv.application_id=frv.application_id and 32 | pitsv.responsibility_id=frv.responsibility_id 33 | order by 34 | fav.application_name, 35 | frv.responsibility_name, 36 | pitsv.info_type_table_name, 37 | pitsv.information_type -------------------------------------------------------------------------------- /PO Approval Assignments/PO Approval Assignments.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: PO Approval Assignments 8 | -- Description: Active PO document approval group assignments with HR jobs or positions 9 | -- Excel Examle Output: https://www.enginatics.com/example/po-approval-assignments/ 10 | -- Library Link: https://www.enginatics.com/reports/po-approval-assignments/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | haouv.name operating_unit, 15 | haouv2.name hr_organization, 16 | pp.name position, 17 | pjv.name job, 18 | pcf.control_function_name document_type, 19 | pcga.control_group_name approval_group, 20 | pcga.description approval_group_description, 21 | ppca.start_date, 22 | xxen_util.user_name(ppca.created_by) created_by, 23 | xxen_util.client_time(ppca.creation_date) creation_date, 24 | xxen_util.user_name(ppca.last_updated_by) last_updated_by, 25 | xxen_util.client_time(ppca.last_update_date) last_update_date, 26 | xxen_util.meaning(pcf.document_type_code,'DOCUMENT TYPE',201) document_type_, 27 | xxen_util.meaning(pcf.document_subtype,'NTN_DOC_TYPE',0) document_subtype 28 | from 29 | po_position_controls_all ppca, 30 | hr_all_organization_units_vl haouv, 31 | hr_all_organization_units_vl haouv2, 32 | (select pjv.* from per_jobs_vl pjv where sysdate between pjv.date_from and nvl (pjv.date_to, sysdate)) pjv, 33 | (select pp.* from per_positions pp where sysdate between pp.date_effective and nvl (pp.date_end, sysdate)) pp, 34 | po_control_groups_all pcga, 35 | po_control_functions pcf 36 | where 37 | 1=1 and 38 | sysdate between ppca.start_date and nvl(ppca.end_date,sysdate) and 39 | ppca.org_id=haouv.organization_id and 40 | ppca.organization_id=haouv2.organization_id(+) and 41 | ppca.job_id=pjv.job_id(+) and 42 | ppca.position_id=pp.position_id(+) and 43 | ppca.control_group_id=pcga.control_group_id(+) and 44 | ppca.control_function_id=pcf.control_function_id(+) 45 | order by 46 | haouv.name, 47 | pjv.name, 48 | pp.name, 49 | pcga.control_group_name, 50 | pcf.control_function_name -------------------------------------------------------------------------------- /PO Document Types/PO Document Types.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: PO Document Types 8 | -- Description: PO document types setup 9 | -- Excel Examle Output: https://www.enginatics.com/example/po-document-types/ 10 | -- Library Link: https://www.enginatics.com/reports/po-document-types/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | haouv.name operating_unit, 15 | xxen_util.meaning(pdtav.document_type_code,'DOCUMENT TYPE',201)||' '||flv2.meaning type, 16 | pdtav.type_name name, 17 | xtv1.template_name document_types_layout, 18 | xtv2.template_name contract_terms_layout, 19 | decode(pdtav.can_preparer_approve_flag,'Y','Yes','N','No') can_preparer_approve, 20 | initcap(pdtav.security_level_code) security_level, 21 | pdtav.document_type_code, 22 | pdtav.document_subtype, 23 | decode(pdtav.document_type_code, 24 | 'RFQ',decode(pdtav.document_subtype,'STANDARD','DeleteDisabled','CATALOG','DeleteDisabled','BID','DeleteDisabled','DeleteEnabled'), 25 | 'QUOTATION',decode(pdtav.document_subtype,'STANDARD','DeleteDisabled','CATALOG','DeleteDisabled','BID','DeleteDisabled','DeleteEnabled'), 26 | 'DeleteDisabled' 27 | ) delete_switcher 28 | from 29 | hr_all_organization_units_vl haouv, 30 | po_document_types_all_vl pdtav, 31 | fnd_lookup_values flv2, 32 | xdo_templates_vl xtv1, 33 | xdo_templates_vl xtv2 34 | where 35 | 1=1 and 36 | haouv.organization_id=pdtav.org_id and 37 | pdtav.document_subtype=flv2.lookup_code(+) and 38 | flv2.lookup_type(+)=decode(pdtav.document_type_code,'REQUISITION','REQUISITION TYPE','RFQ','RFQ SUBTYPE','QUOTATION','QUOTATION SUBTYPE','DOCUMENT SUBTYPE') and 39 | flv2.language(+)=userenv('lang') and 40 | flv2.view_application_id(+)=201 and 41 | flv2.security_group_id(+)=0 and 42 | pdtav.document_template_code=xtv1.template_code(+) and 43 | pdtav.contract_template_code=xtv2.template_code(+) 44 | order by 45 | haouv.name, 46 | pdtav.document_type_code, 47 | pdtav.type_name -------------------------------------------------------------------------------- /WF Activity Status Summary/WF Activity Status Summary.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: WF Activity Status Summary 8 | -- Description: Summary counts of stuck and errored workflow activities to monitor required housekeeping activities 9 | -- Excel Examle Output: https://www.enginatics.com/example/wf-activity-status-summary/ 10 | -- Library Link: https://www.enginatics.com/reports/wf-activity-status-summary/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | count (*) count, 15 | wias.item_type, 16 | witv.display_name type_display_name, 17 | wpa.instance_label, 18 | wias.activity_result_code, 19 | xxen_util.meaning(wias.activity_status,'FND_WF_ACTIVITY_STATUS_LIST',0) activity_status 20 | from 21 | wf_item_activity_statuses wias, 22 | wf_process_activities wpa, 23 | wf_item_types_vl witv 24 | where 25 | 1=1 and 26 | wias.process_activity=wpa.instance_id and 27 | wias.item_type=witv.name(+) 28 | group by 29 | wias.item_type, 30 | witv.display_name, 31 | wpa.instance_label, 32 | wias.activity_result_code, 33 | wias.activity_status 34 | order by count (*) desc -------------------------------------------------------------------------------- /WF Business Events and Subscriptions/WF Business Events and Subscriptions.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: WF Business Events and Subscriptions 8 | -- Description: Workflow business event and subscription details 9 | -- Excel Examle Output: https://www.enginatics.com/example/wf-business-events-and-subscriptions/ 10 | -- Library Link: https://www.enginatics.com/reports/wf-business-events-and-subscriptions/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | wev.owner_tag owner, 15 | wev.owner_name, 16 | wev.name event_name, 17 | wev.display_name, 18 | wev.description, 19 | initcap(wev.type) type, 20 | xxen_util.meaning(wes.status, 'FND_WF_BES_STATUS', 0) event_status, 21 | wev.generate_function, 22 | ws.name system, 23 | xxen_util.meaning(wes.source_type, 'WF_BES_SOURCE_TYPE', 0) source_type, 24 | xxen_util.meaning(wes.action_code, 'FND_WF_BES_RULE_FUNC', 0) action, 25 | wes.rule_function function, 26 | wa.name out_agent, 27 | wa2.name to_agent, 28 | wes.wf_process_type, 29 | wes.wf_process_name, 30 | wes.parameters, 31 | wes.phase, 32 | xxen_util.meaning(decode(wes.priority,100,'LOW',50,'NORMAL',1,'HIGH'), 'WF_BES_SUBSCRIPTION_PRIORITY', 0) priority, 33 | initcap(wes.status) subscription_status, 34 | initcap(wes.rule_data) rule_data, 35 | xxen_util.meaning(wes.on_error_code, 'FND_WF_BES_ON_ERROR', 0) on_error, 36 | wes.owner_tag subscription_owner, 37 | wes.owner_name subscription_owner_name 38 | from 39 | wf_events_vl wev, 40 | wf_event_subscriptions wes, 41 | wf_systems ws, 42 | wf_agents wa, 43 | wf_agents wa2 44 | where 45 | 1=1 and 46 | wev.guid=wes.event_filter_guid(+) and 47 | wes.system_guid=ws.guid(+) and 48 | wes.out_agent_guid=wa.guid(+) and 49 | wes.to_agent_guid=wa2.guid(+) -------------------------------------------------------------------------------- /WF Notifications/WF Notifications.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: WF Notifications 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/wf-notifications/ 10 | -- Library Link: https://www.enginatics.com/reports/wf-notifications/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | wn.message_type item_type, 15 | witv.display_name workflow_type, 16 | nvl(wn.item_key,wias.item_key) item_key, 17 | xxen_util.meaning(wias.activity_status,'FND_WF_ACTIVITY_STATUS_LIST',0) activity_status, 18 | wias.activity_result_code activity_result, 19 | wias.error_message, 20 | wias.error_stack, 21 | wn.from_user, 22 | nvl2(wn.more_info_role,wf_directory.getroledisplayname(wn.more_info_role),wn.to_user) to_user, 23 | nvl2(wn.more_info_role,fnd_message.get_string('FND','FND_MORE_INFO_REQUESTED')||' '||wn.subject,wn.subject) subject, 24 | wn.language, 25 | nvl(wn.sent_date,wn.begin_date) begin_date, 26 | wn.due_date, 27 | wl.meaning status, 28 | wn.end_date, 29 | wn.from_role, 30 | wn.original_recipient, 31 | wn.recipient_role, 32 | wn.more_info_role, 33 | wn.message_name, 34 | wn.mail_status, 35 | wn.priority, 36 | wn.notification_id 37 | from 38 | wf_notifications wn, 39 | wf_item_types_vl witv, 40 | wf_lookups wl, 41 | wf_item_activity_statuses wias 42 | where 43 | 1=1 and 44 | wn.message_type=witv.name and 45 | wl.lookup_type='WF_NOTIFICATION_STATUS' and 46 | wn.status=wl.lookup_code and 47 | wn.notification_id=wias.notification_id(+) 48 | order by 49 | nvl(wn.sent_date,wn.begin_date) desc -------------------------------------------------------------------------------- /WIP Entities Summary/WIP Entities Summary.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: WIP Entities Summary 8 | -- Description: Overview of WIP entities of different types and their various statuses. 9 | -- Excel Examle Output: https://www.enginatics.com/example/wip-entities-summary/ 10 | -- Library Link: https://www.enginatics.com/reports/wip-entities-summary/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select /*+ parallel*/ 14 | count(*) count, 15 | x.wo_exists, 16 | x.wro_exists, 17 | x.type, 18 | x.job_type, 19 | x.status, 20 | x.wip_supply_type, 21 | x.we_entity_type, 22 | x.wdj_job_type, 23 | x.wdj_status_type, 24 | x.wdj_wip_supply_type 25 | from 26 | ( 27 | select 28 | (select 'Y' from wip_operations wo where we.wip_entity_id=wo.wip_entity_id and we.organization_id=wo.organization_id and rownum=1) wo_exists, 29 | (select 'Y' from wip_requirement_operations wro where we.wip_entity_id=wro.wip_entity_id and we.organization_id=wro.organization_id and rownum=1) wro_exists, 30 | xxen_util.meaning(we.entity_type,'WIP_ENTITY',700) type, 31 | xxen_util.meaning(wdj.job_type,'WIP_DISCRETE_JOB',700) job_type, 32 | xxen_util.meaning(wdj.status_type,'WIP_JOB_STATUS',700) status, 33 | xxen_util.meaning(wdj.wip_supply_type,'WIP_SUPPLY',700) wip_supply_type, 34 | we.entity_type we_entity_type, 35 | wdj.job_type wdj_job_type, 36 | wdj.status_type wdj_status_type, 37 | wdj.wip_supply_type wdj_wip_supply_type 38 | from 39 | mtl_parameters mp, 40 | wip_entities we, 41 | wip_discrete_jobs wdj 42 | where 43 | 1=1 and 44 | mp.organization_id=we.organization_id and 45 | we.wip_entity_id=wdj.wip_entity_id(+) and 46 | we.organization_id=wdj.organization_id(+) 47 | ) x 48 | group by 49 | x.wo_exists, 50 | x.wro_exists, 51 | x.type, 52 | x.job_type, 53 | x.status, 54 | x.wip_supply_type, 55 | x.we_entity_type, 56 | x.wdj_job_type, 57 | x.wdj_status_type, 58 | x.wdj_wip_supply_type 59 | order by 60 | count(*) desc -------------------------------------------------------------------------------- /XLE Establishment and Legal Entity Associations/XLE Establishment and Legal Entity Associations.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: XLE Establishment and Legal Entity Associations 8 | -- Description: Master data report showing the legal entity associations to other business entities such as: 9 | - Legal Entities 10 | - Operating Units 11 | - Inventory Organizations 12 | - Inventory Locations 13 | - Bill To Locations 14 | - Ship To Locations 15 | - Balancing Segment Values 16 | -- Excel Examle Output: https://www.enginatics.com/example/xle-establishment-and-legal-entity-associations/ 17 | -- Library Link: https://www.enginatics.com/reports/xle-establishment-and-legal-entity-associations/ 18 | -- Run Report: https://demo.enginatics.com/ 19 | 20 | select 21 | initcap(translate(xav.context,'_',' ')) context, 22 | xep.name parent_legal_entity, 23 | initcap(translate(xav.legal_construct,'_',' ')) construct_type, 24 | xav.legal_construct_name construct_name, 25 | initcap(translate(xav.entity_type,'_',' ')) entity_type, 26 | xav.entity_name, 27 | xav.effective_from, 28 | xav.effective_to 29 | from 30 | xle_associations_v xav, 31 | xle_entity_profiles xep 32 | where 33 | 1=1 and 34 | xav.legal_parent_id=xep.legal_entity_id(+) 35 | order by 36 | xep.name, 37 | xav.legal_construct, 38 | xav.legal_construct_name, 39 | xav.entity_type, 40 | xav.entity_name -------------------------------------------------------------------------------- /ZX Lines Summary/ZX Lines Summary.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: ZX Lines Summary 8 | -- Description: Tax lines summary to understand the different applications, entity codes and events that generate tax lines 9 | -- Excel Examle Output: https://www.enginatics.com/example/zx-lines-summary/ 10 | -- Library Link: https://www.enginatics.com/reports/zx-lines-summary/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | fav.application_name, 15 | zl.entity_code, 16 | zl.event_class_code, 17 | zl.event_type_code, 18 | zl.trx_level_type, 19 | count(*) count, 20 | xxen_util.meaning(zl.event_class_code,'ZX_LINE_CLASS',0) event_class_code_desc, 21 | zl.application_id 22 | from 23 | fnd_application_vl fav, 24 | zx_lines zl 25 | where 26 | fav.application_id=zl.application_id 27 | group by 28 | fav.application_name, 29 | zl.entity_code, 30 | zl.event_class_code, 31 | zl.event_type_code, 32 | zl.trx_level_type, 33 | zl.application_id 34 | order by 35 | fav.application_name, 36 | zl.entity_code, 37 | count(*) desc -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-minimal -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Enginatics/Oracle-EBS-SQL/656af4ba1eadd9d4bce9511ec6936e3ca3f56d24/favicon.ico -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | li { 2 | list-style-type: none; 3 | } 4 | ul { 5 | margin-left: 0; 6 | padding-left: 0; 7 | } 8 | td { 9 | vertical-align:top; 10 | width:50%; 11 | border:none; 12 | } 13 | td b { 14 | font-size:20px; 15 | } 16 | li a:hover, li a:focus { 17 | color: #069;; 18 | text-decoration: underline; 19 | font-weight: normal; 20 | } -------------------------------------------------------------------------------- /xxen_discoverer_pivot_fields/xxen_discoverer_pivot_fields.sql: -------------------------------------------------------------------------------- 1 | /*************************************************************************/ 2 | /* */ 3 | /* (c) 2010-2024 Enginatics GmbH */ 4 | /* www.enginatics.com */ 5 | /* */ 6 | /*************************************************************************/ 7 | -- Report Name: xxen_discoverer_pivot_fields 8 | -- Description: None 9 | -- Excel Examle Output: https://www.enginatics.com/example/xxen_discoverer_pivot_fields/ 10 | -- Library Link: https://www.enginatics.com/reports/xxen_discoverer_pivot_fields/ 11 | -- Run Report: https://demo.enginatics.com/ 12 | 13 | select 14 | xdpf.* 15 | from 16 | xxen_discoverer_pivot_fields xdpf 17 | where 18 | 1=1 --------------------------------------------------------------------------------