Contact Us
Index
Version 22.4
Version 6.0 Version 5.14 Version 5.13 Version 5.12 Version 5.11 Version 6.1 Version 6.2 Version 6.3 Version 6.4 Version 20.1 Version 20.2 Version 20.3 Version 21.2 Version 22.1 Version 22.3 Version 23.1 Version 23.2 Version 23.3 Version 23.4 Version 24.1 Version 24.2 Version 24.3 Version 24.4 Version 25.2
Contact Us
Wands for Oracle 22.4 – Home
Wands
Logging On
Antivirus Software
New Release Notification
User Profile
Responsibility Selection
Excel Not Ready Error
Add-In Load Error
Multiple Instances
License Key
License Key Errors
Insert Wands Function
Combine Text
Last Refreshed By
Last Refreshed Time
Split Text
Tools (Wands)
Snapshot
Upgrade Workbook
Shared Templates Drive
Drive Types
Dropbox
File Server
Oracle E-Business Suite Database
Navigator
Create a File
Delete a File
Edit a File
Open a File
Common Options
Administrator
Custom Drill Columns
Journal Custom Columns
Journal Attachment Custom Columns
Subledger Custom Columns
Subledger SLA Custom Columns
Add a Custom Drilldown Column
System Administrator Options
System Administrator License Key
System Administrator User Permissions
System Administrator User Options
System Administrator Product Options
System Administrator Delimiter Options
System Administrator Configuration Options
System Administrator Server Information
Wands Responsibility Profile Option
Payroll Drilldown Responsibility
Custom Options
Active Data Guard Support
About
Exit
Errors and Troubleshooting
Help and Shortcuts
Excel Error
GL Wand
Ledger and Segment Selector
Quick Start
Report Wizard
Design Layout
Add Columns
Add Rows
Report Wizard Output
Discover
Discover Segment Values
Discover Level
Discover Period Names
Discover Segment Properties
Discover Child Ranges
Expand and Explode
Expand Segment Values
Expand Segment Value Hierarchy
Expand Account Combination
Explode Segment Values
Explode Account Combination
Explode Segment Value Hierarchy
List of Values
List of Values – Create
Insert GL Wand Function
Account Combination Enabled
Account Combination End Date
Account Combination Start Date
Account Type
Daily Rate
Enabled Flag
Functional Currency
Get Average Balance
Get Average Balance Summary
Get Balance
Descriptive Flexfield Criteria
Segment Combination Criteria
Get Balance Options
Get Balance Summary
Multiple Ledgers
Historical Rate
Ledger Name
Ledger Set
Next Segment Value
Parent Flag
Period Average Rate
Period End Date
Period End Rate
Period Name
Period Name By Date
Period Offset
Period Start Date
Period Status
Previous Segment Value
Segment Description
Segment DFF
Segment End Date
Segment Group
Segment Level
Segment Start Date
Calculating
Execute Drilldown
Drill Criteria Sheets
Drill Criteria – Balance
Drill Criteria – Journal Extract
Drill Criteria – Average Balance
Drill Using a Saved Template
Drill to Journal or Subledger
Analyze Balances
View Transaction R12
Support All Ledgers
Customize Drilldown
Edit Template Layout
Save Template Layout
Manage Templates
GL Wand Tools
Other Tools
Manage Criteria Templates
Hide Zeros
Import FSG
Configuration Sheet
Audit Get Balance
GL Wand User Options
GL Wand Drill Only
Reports Wand
Responsibility Selector
Report
Open Existing Report
Create Report
Execute Report
Function
Run Report Order
Insert a Run Report Function
Run Report Filter
Modify a Run Report Function
Drill On Function
Drill to Saved Template
Refresh
Refresh Mode
Refresh Reports Wand Functions
Show
Parameter List
Report Editor
Template Manager
Reports Wand Tools
Clean Template
Show List of Values
Create List of Values
Audit Run Report
Report Usage Statistics
Reports Wand User Options
Administration
Report Definition
Create
Bind Variables
Bind Variable Errors
Custom SQL List of Values
Filters
SQL Errors
Edit
Security
Mass Administration
Import
Import All to Excel
Import Selected to Excel
Process
Process All
Process Single
Upgrade
Upgrade Version 4 Report Definitions
Fixing Duplicate Bind Variables
Upgrade Version 4 Templates
Upgrade Reports Wand Administrator Templates
insights
Generate Report Definitions
Create insights Tables
Search Report Definitions
Add Columns
Key Flexfield Label Integration
Advanced insights
Angles for Oracle
Import Angles for Oracle Report Definitions to Excel
Refresh Angles for Oracle Security Manager
Essays
Search Answers
Create Join Definition
Discoverer Converter
Convert using Discoverer Plus (.xml) Export
Export Workbook .xml From Discover Plus
Using the Discoverer Converter
Assign Reports
Refresh List
PL/SQL Stored Procedures
Reports Wand Database Package
Create a Stored Procedure
Assign a Stored Procedure
Exception Handling
Budget Wand
Ledger Selector
Insert Budget Wand Function
Convert Get Balance
Load Budget
Load Option Selector
Loading Budgets
AutoPost Budget Wand Journals
Creating New Account Combinations
Budget Wand Tools
Budget Wand Requests
Budget Wand Messages
Budget Report Wizard
Budget Wand User Options
Journal Wand
Loading Journals
AutoPost Journal Wand Journals
Journal Wand Ledger Selector
Create Journal Wand Template
Edit Journal Wand Template
Create Journal Wand Template from Drilldown
Populate Journal Wand Template
Account Combinations
Descriptive Flexfields
Journal Attachments
Load Options
Journal Wand Tools
Journal Wand Requests
Journal Wand Messages
Journal Wand User Options
Report Distribution Manager
Create RDM Template
Source Report
Named Ranges
Parameters
Drilldowns
Email
Advanced Options
Edit RDM Template
Execute Report Distribution Manager
Load and Validation
Execution
Scheduler
Create Schedule
Running the Scheduler
RDM User Options
SMTP Email Settings
chat icon - ignore
Live Chat
Chat Offline

Subledger Custom Columns

Building a Custom Drilldown Column Query

When a custom column is added to a GL Wand drilldown, the SQL statement for the custom column is merged into the GL Wand Subledger query when it is executed.

The GL Wand Subledgerquery allows customers to join their custom column SQL statements to any fields from the following views:

  • xla_ar_inv_ael_gl_v
  • xla_ar_rec_ael_gl_v
  • xla_ar_adj_ael_gl_v
  • xla_ap_inv_enc_gl_v
  • xla_ap_inv_ael_gl_v
  • xla_ap_pay_ael_gl_v
  • xla_fa_ael_gl_v
  • xla_pa_ei_ael_gl_v
  • xla_pa_dr_ael_gl_v
  • xla_po_ael_gl_v
  • xla_req_enc_ael_gl_v
  • xla_po_enc_ael_gl_v
  • xla_inv_ael_gl_v
  • xla_wip_ael_gl_v
  • xla_fv_tc_gl_v
  • xla_fv_be_gl_v
  • xla_fv_pya_gl_v
  • xla_ozf_cla_ael_gl_v
  • xla_ozf_utl_ael_gl_v

The exact view that is used in the query will depend on the journal source and category that you are drilling down on. The view is always aliased as dv. All the views return the same fields but not all fields are populated on each view. Only those fields applicable for thejournal source and category will be populated.

Test the Default Subledger Query

The main subledger query selects a number of columns from the applicable drilldown view. For example, an accounts receivable invoice would have a SQL statement as follows:

SELECT dv.org_id,
dv.entered_dr,
dv.entered_cr,
dv.accounted_dr,
dv.accounted_cr,
etc...
FROM xla_ar_inv_ael_gl_v dv, gl_code_combinations c
WHERE dv.code_combination_id = c.code_combination_id AND dv.application_id = :1 AND dv.je_header_id = :2 AND dv.je_line_num = :3

You will need to construct a simple SQL statement using data from your system which returns an example transaction to use for testing your custom column SQL.

Create Custom Column SQL Statement

Now you simply need to create the SQL to return the field that you are after and construct it as a subquery that can be merged into the main SQL statement and correctly joins to one or more fields that are available in the main query. For example, the SQL below fetches the inventory item description:

(SELECT msi.description
FROM mtl_system_items msi
WHERE dv.inventory_item_id = msi.inventory_item_id
AND dv.inventory_organization_id = msi.organization_id) item_description

Test Custom Column Query

Once you have a valid custom drilldown column SQL statement, merge it into the main GL Wand Subledger Query in order to test it and confirm that it will process correctly inside GL Wand. For example, we would merge the inventory item description example into the main subledger query as follows:

SELECT dv.org_id,
dv.entered_dr,
dv.entered_cr,
dv.accounted_dr,
dv.accounted_cr,
etc...,
(SELECT msi.description
FROM mtl_system_items msi
WHERE dv.inventory_item_id = msi.inventory_item_id
AND dv.inventory_organization_id = msi.organization_id) item_description
FROM xla_ar_inv_ael_gl_v dv, gl_code_combinations c
WHERE dv.code_combination_id = c.code_combination_id AND dv.application_id = :1 AND dv.je_header_id = :2 AND dv.je_line_num = :3

Once you have confirmed that the query returns the correct records, along with the additional columns that you are after, you can proceed to add the custom drilldown column and test it from GL Wand. Follow the instructions which can be found here – Add a Custom Drilldown Column.