Search Results use_alias_table
Overview
XDO_TEMPLATES_B is the principal XML Publisher (BI Publisher) metadata table in Oracle E-Business Suite, owned by the XDO schema. It stores the definition of every report template registered with the XML Publisher engine, including seeded templates shipped with Oracle applications and templates created by implementers through the Template Manager or the XML Publisher Administrator responsibility. In EBS 12.1.1 and 12.2.2 the table is validated and actively maintained by the XDO product, forming part of the core publishing infrastructure used by Concurrent Manager report submissions, Oracle Forms-based report invocation, and the OA Framework publisher integration.
Each row in XDO_TEMPLATES_B describes a template's business identity and its link to a data source definition held in XDO_DS_DEFINITIONS_B. Importantly, the base table holds the template header record, while the physical template file (RTF, XSL-FO, PDF, Excel, or eText output) is associated with each translation of the template rather than with the template itself. This distinction is central to understanding why multiple rows and companion translation tables exist for a single logical template.
From a Data Vault modeling perspective, the FK relationships (IRC_OFFERS and IRC_TEMPLATE_ASSOCIATIONS referencing TEMPLATE_ID) suggest a hub-leaning classification. This is a heuristic observation: XDO_TEMPLATES_B can reasonably be modelled as a hub, with descriptive attributes such as status, default language, and output type placed in a satellite.
Key Information Stored
The table contains 40 documented columns. The most significant include:
- TEMPLATE_ID — surrogate primary key and the value other modules use to reference a template.
- APPLICATION_ID / APPLICATION_SHORT_NAME — the owning application, defining template scope.
- TEMPLATE_CODE — the business identifier of the template within its application.
- DS_APP_SHORT_NAME / DATA_SOURCE_CODE — the foreign reference to the data source definition in XDO_DS_DEFINITIONS_B.
- TEMPLATE_TYPE_CODE — indicates the physical template format family.
- DEFAULT_LANGUAGE / DEFAULT_TERRITORY — the default locale used when no translation is selected.
- TEMPLATE_STATUS — controls whether the template is active or inactive.
- START_DATE / END_DATE — effective dating for the template definition.
- DEFAULT_OUTPUT_TYPE — the default rendering format produced for consumers.
- OBJECT_VERSION_NUMBER, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE — standard EBS audit and optimistic-locking columns.
- MLS_LANGUAGE / MLS_TERRITORY — multilingual support indicators.
- ZD_EDITION_NAME — the edition column supporting Online Patching in 12.2.x.
Three unique indexes supply business-key candidates. XDO_TEMPLATES_B_U1 covers APPLICATION_SHORT_NAME, TEMPLATE_CODE, and ZD_EDITION_NAME; U2 covers APPLICATION_ID, TEMPLATE_CODE, and ZD_EDITION_NAME; U3 covers TEMPLATE_ID and ZD_EDITION_NAME. These confirm that the application plus template code is the natural business key.
Common Use Cases and Queries
Typical reporting and administration scenarios include locating a template by code, identifying which templates belong to an application, and confirming that a template's data source is correctly linked. A common query pattern joins XDO_TEMPLATES_B to XDO_DS_DEFINITIONS_B on the data source code and application short name:
- SELECT t.template_code, t.template_type_code, t.template_status FROM xdo_templates_b t WHERE t.application_short_name = :app AND t.template_status = 'ACTIVE';
- Joining to XDO_DS_DEFINITIONS_B on DS_APP_SHORT_NAME = DATA_SOURCE_APPLICATION_SHORT_NAME and DATA_SOURCE_CODE to validate template-to-datasource coverage.
- Querying IRC_OFFERS and IRC_TEMPLATE_ASSOCIATIONS by TEMPLATE_ID to find recruiting offers that consume a given template.
- Auditing templates by LAST_UPDATE_DATE and LAST_UPDATED_BY for change-control reporting.
- Excluding rows where ZD_EDITION_NAME is not the current edition when querying under Online Patching in 12.2.2.
Related Objects
XDO_TEMPLATES_B sits at the centre of a small but tightly coupled set of XML Publisher objects and dependent application tables:
- XDO_DS_DEFINITIONS_B — holds the data source definitions referenced by each template.
- IRC_OFFERS — references XDO_TEMPLATES_B.TEMPLATE_ID via IRC_OFFERS.TEMPLATE_ID.
- IRC_TEMPLATE_ASSOCIATIONS — references XDO_TEMPLATES_B.TEMPLATE_ID via IRC_TEMPLATE_ASSOCIATIONS.TEMPLATE_ID.
- XDO_TEMPLATES_TL — the translation table holding locale-specific template attributes and the physical template associations per translation.
- XDO_LOBS — stores the physical template file content referenced through the translation records.
- XDO_CONFIG_VALUES — configuration entries that govern publisher behaviour at runtime.
Together these objects form the metadata foundation for all XML Publisher output generated within Oracle EBS.
-
Table: XDO_TEMPLATES_B
12.1.1
owner:XDO, object_type:TABLE, fnd_design_data:XDO.XDO_TEMPLATES_B, object_name:XDO_TEMPLATES_B, status:VALID, product: XDO - XML Publisher , description: XDO_TEMPLATES_B is a table for template information. Each template has a corresponding data source definition stored in the XDO_DS_DEFINITIONS_B. Each translation of a certain template, not each template, has a correspoinding physical templ , implementation_dba_data: XDO.XDO_TEMPLATES_B ,
-
Table: XDO_TEMPLATES_B
12.2.2
owner:XDO, object_type:TABLE, fnd_design_data:XDO.XDO_TEMPLATES_B, object_name:XDO_TEMPLATES_B, status:VALID, product: XDO - XML Publisher , description: XDO_TEMPLATES_B is a table for template information. Each template has a corresponding data source definition stored in the XDO_DS_DEFINITIONS_B. Each translation of a certain template, not each template, has a correspoinding physical templ , implementation_dba_data: XDO.XDO_TEMPLATES_B ,
-
VIEW: XDO.XDO_TEMPLATES_B#
12.2.2
-
VIEW: XDO.XDO_TEMPLATES_B#
12.2.2
owner:XDO, object_type:VIEW, object_name:XDO_TEMPLATES_B#, status:VALID,
-
VIEW: APPS.XDO_TEMPLATES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:XDO.XDO_TEMPLATES_VL, object_name:XDO_TEMPLATES_VL, status:VALID,
-
View: XDO_TEMPLATES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:XDO.XDO_TEMPLATES_VL, object_name:XDO_TEMPLATES_VL, status:VALID, product: XDO - XML Publisher , description: XDO_TEMPLATES_VL is a view to join XDO_TEMPLATES_B and XDO_TEMPLATES_TL. , implementation_dba_data: APPS.XDO_TEMPLATES_VL ,
-
VIEW: APPS.XDO_TEMPLATES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:XDO.XDO_TEMPLATES_VL, object_name:XDO_TEMPLATES_VL, status:VALID,
-
View: XDO_TEMPLATES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:XDO.XDO_TEMPLATES_VL, object_name:XDO_TEMPLATES_VL, status:VALID, product: XDO - XML Publisher , description: XDO_TEMPLATES_VL is a view to join XDO_TEMPLATES_B and XDO_TEMPLATES_TL. , implementation_dba_data: APPS.XDO_TEMPLATES_VL ,
-
TABLE: XDO.XDO_TEMPLATES_B
12.2.2
owner:XDO, object_type:TABLE, fnd_design_data:XDO.XDO_TEMPLATES_B, object_name:XDO_TEMPLATES_B, status:VALID,
-
TABLE: XDO.XDO_TEMPLATES_B
12.1.1
owner:XDO, object_type:TABLE, fnd_design_data:XDO.XDO_TEMPLATES_B, object_name:XDO_TEMPLATES_B, status:VALID,
-
APPS.XDO_TEMPLATES_PKG SQL Statements
12.1.1
-
APPS.XDO_TEMPLATES_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.XDO_TEMPLATES_PKG
12.2.2
-
PACKAGE BODY: APPS.XDO_TEMPLATES_PKG
12.1.1
-
eTRM - XDO Tables and Views
12.2.2
description: This table is used to store the actual value of the translatable text in layout templates. There is one record for each language the text is translated to. ,
-
eTRM - XDO Tables and Views
12.1.1
description: This table is used to store the actual value of the translatable text in layout templates. There is one record for each language the text is translated to. ,