Search Results oks_report_templates_v
Overview
OKS_REPORT_TEMPLATES_V is a read-mostly presentation view in the APPS schema that exposes the XSLT report templates used by the Oracle Service Contracts (OKS) electronic renewal process. Electronic renewal generates and delivers contract renewal documents to customers, and the transmittal format is driven by XSLT style sheets held in the repository. This view provides a curated projection of the underlying template records, including identity, validity dates, reporting cadence, and audit columns, so that concurrent programs, Oracle Reports/BI Publisher queries, and integration endpoints can resolve the correct template for a given renewal run without directly touching the base table.
Because the view is owned by APPS and is documented as VALID in ETRM 12.2.2, it is safe to reference from custom concurrent programs, OAF-based extensions, and external integrations. The column TEMPLATE_SET_ID is the attribute most frequently searched by implementers, since it is the primary grouping key that ties a template to a specific template set definition used by the renewal engine.
Underlying Base Objects
The view is defined as a single-table projection over the synonym OKS_REPORT_TEMPLATES, which resolves to the base table in the OKS schema. The defining query is a straightforward SELECT with explicit column aliasing:
FROM OKS_REPORT_TEMPLATES RTMP— one row per report template assignment.ROWID ROW_IDis preserved as a pseudo-column, allowing updatable-view behavior and row-level addressing.- All business and audit columns are passed through without transformation, joins, or aggregation, so the view is a near-1:1 mirror of the base table.
No joins to OKS template-set headers or contract tables are embedded in the view; referential resolution must be performed by the caller.
Key Columns
ROW_ID— the ROWID of the underlying base-table row.ID— primary key of the template record.REPORT_ID— identifier of the report the template applies to.TEMPLATE_SET_ID— the template set the row belongs to; the primary grouping key for electronic renewal template selection.TEMPLATE_SET_TYPE— classification of the template set (for example, the type governing which renewal documents are produced).START_DATE/END_DATE— effective dating window during which the template is valid.REPORT_DURATION/REPORT_PERIOD— scheduling attributes describing how long and how often the report output applies.STS_CODE— status code indicating the lifecycle state of the template record.CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATE_DATE,LAST_UPDATE_LOGIN— standard WHO audit columns.OBJECT_VERSION_NUMBER— optimistic locking version, enabling safe concurrent updates through the view.
Common Use Cases and Queries
A typical requirement is to list all active templates for a given template set so that an electronic renewal run can select the correct XSLT:
SELECT id, report_id, template_set_type, start_date, end_date, sts_codeFROM apps.oks_report_templates_vWHERE template_set_id = :p_template_set_idAND TRUNC(SYSDATE) BETWEEN start_date AND NVL(end_date, SYSDATE + 1);
To audit recent changes to renewal templates, query by audit columns:
SELECT template_set_id, template_set_type, sts_code, last_updated_by, last_update_dateFROM apps.oks_report_templates_vORDER BY last_update_date DESC;
For integration diagnostics, join REPORT_ID to the report definition and resolve the template set header to confirm that the expected XSLT is bound. Because the view is a simple projection, it can be used in BI Publisher data models, custom concurrent programs, and REST/SOA integrations that must determine which renewal template is currently effective for a contract population.
-
View: OKS_REPORT_TEMPLATES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_REPORT_TEMPLATES_V, object_name:OKS_REPORT_TEMPLATES_V, status:VALID, product: OKS - Service Contracts , description: This view is used to show the xslt report templates for electronic renewal. , implementation_dba_data: APPS.OKS_REPORT_TEMPLATES_V ,
-
View: OKS_REPORT_TEMPLATES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_REPORT_TEMPLATES_V, object_name:OKS_REPORT_TEMPLATES_V, status:VALID, product: OKS - Service Contracts , description: This view is used to show the xslt report templates for electronic renewal. , implementation_dba_data: APPS.OKS_REPORT_TEMPLATES_V ,
-
PACKAGE: APPS.OKS_REPORT_TEMPLATES_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_REPORT_TEMPLATES_PVT, status:VALID,
-
PACKAGE: APPS.OKS_REPORT_TEMPLATES_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_REPORT_TEMPLATES_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_TEMPLATE_SET_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_TEMPLATE_SET_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKS_REPORT_TEMPLATES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_REPORT_TEMPLATES_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_REPORT_TEMPLATES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_REPORT_TEMPLATES_PVT, status:VALID,
-
SYNONYM: APPS.OKS_REPORT_TEMPLATES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_REPORT_TEMPLATES, status:VALID,
-
SYNONYM: APPS.OKS_REPORT_TEMPLATES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_REPORT_TEMPLATES, status:VALID,
-
PACKAGE BODY: APPS.OKS_TEMPLATE_SET_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_TEMPLATE_SET_PUB, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OKS_AUTO_REMINDER
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_AUTO_REMINDER, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.OKS_AUTO_REMINDER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_AUTO_REMINDER, status:VALID,
-
VIEW: APPS.OKS_REPORT_TEMPLATES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_REPORT_TEMPLATES_V, object_name:OKS_REPORT_TEMPLATES_V, status:VALID,
-
VIEW: APPS.OKS_REPORT_TEMPLATES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_REPORT_TEMPLATES_V, object_name:OKS_REPORT_TEMPLATES_V, status:VALID,
-
PACKAGE: APPS.OKS_REPORT_TEMPLATES_PUB
12.1.1
-
PACKAGE: APPS.OKS_REPORT_TEMPLATES_PUB
12.2.2
-
PACKAGE: APPS.OKS_REPORT_TEMPLATES_PVT
12.1.1
-
PACKAGE: APPS.OKS_REPORT_TEMPLATES_PVT
12.2.2
-
APPS.OKS_REPORT_TEMPLATES_PVT dependencies on OKS_REPORT_TEMPLATES_V
12.2.2
-
APPS.OKS_REPORT_TEMPLATES_PVT SQL Statements
12.2.2
-
APPS.OKS_REPORT_TEMPLATES_PVT SQL Statements
12.1.1
-
APPS.OKS_REPORT_TEMPLATES_PVT dependencies on OKS_REPORT_TEMPLATES_V
12.1.1
-
APPS.OKS_TEMPLATE_SET_PUB dependencies on OKS_REPORT_TEMPLATES_V
12.2.2
-
APPS.OKS_AUTO_REMINDER dependencies on OKS_REPORT_TEMPLATES_V
12.2.2
-
APPS.OKS_REPORT_TEMPLATES_PVT dependencies on OKS_REPORT_TEMPLATES_V
12.2.2
-
APPS.OKS_AUTO_REMINDER dependencies on OKS_REPORT_TEMPLATES_V
12.1.1
-
APPS.OKS_REPORT_TEMPLATES_PVT dependencies on OKS_REPORT_TEMPLATES_V
12.1.1
-
APPS.OKS_TEMPLATE_SET_PUB dependencies on OKS_REPORT_TEMPLATES_V
12.1.1
-
PACKAGE BODY: APPS.OKS_REPORT_TEMPLATES_PVT
12.1.1
-
PACKAGE BODY: APPS.OKS_REPORT_TEMPLATES_PVT
12.2.2
-
APPS.OKS_REPORT_TEMPLATES_PUB dependencies on OKS_REPORT_TEMPLATES_PVT
12.2.2
-
APPS.OKS_REPORT_TEMPLATES_PUB dependencies on OKS_REPORT_TEMPLATES_PVT
12.1.1
-
APPS.OKS_REPORT_TEMPLATES_PVT dependencies on OKS_REPORT_TEMPLATES
12.1.1
-
APPS.OKS_REPORT_TEMPLATES_PVT dependencies on OKS_REPORT_TEMPLATES
12.2.2
-
APPS.OKS_REPORT_TEMPLATES_PVT dependencies on OKS_REPORT_TEMPLATES
12.1.1
-
APPS.OKS_REPORT_TEMPLATES_PVT dependencies on OKS_REPORT_TEMPLATES
12.2.2
-
APPS.OKS_REPORT_TEMPLATES_PVT dependencies on OKC_API
12.2.2
-
APPS.OKS_REPORT_TEMPLATES_PVT dependencies on OKC_API
12.1.1
-
eTRM - OKS Tables and Views
12.2.2
-
eTRM - OKS Tables and Views
12.1.1
description: Stores the template set information. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - OKS Tables and Views
12.2.2
-
eTRM - OKS Tables and Views
12.1.1
description: Stores the template set information. ,