Search Results oks_report_templates
Overview
OKS_REPORT_TEMPLATES is a Service Contracts (OKS) module table in Oracle E-Business Suite 12.1.1 and 12.2.2. It stores the individual report definitions that belong to a given template set, forming the configuration backbone that drives contract-related reporting and communication generation. Each row associates a specific report with a template set and carries scheduling, status, processing, and messaging attributes that govern how that report is produced and delivered.
From a Data Vault modeling perspective, the metadata relationships suggest this table leans toward a satellite classification. Its primary key (ID) is a surrogate, and it references OKS_TEMPLATE_SET through TEMPLATE_SET_ID (the only documented foreign key). The inclusion of descriptive, time-varying attributes such as STS_CODE, PROCESS_CODE, START_DATE, and END_DATE, plus audit columns (CREATED_BY, LAST_UPDATE_DATE, OBJECT_VERSION_NUMBER), is characteristic of satellite-style descriptive data hanging off a parent template-set reference.
Key Information Stored
The table contains 19 documented columns. The most significant are:
- ID — Surrogate primary key (constraint OKS_REPORT_TEMP_PK), uniquely identifying each report-template row.
- TEMPLATE_SET_ID — Foreign key to OKS_TEMPLATE_SET; the business relationship linking a report to its parent template set.
- REPORT_ID — Identifier of the underlying report definition that this row configures.
- TEMPLATE_SET_TYPE — Classifies the template set (and therefore the report context) the row belongs to.
- START_DATE / END_DATE — Effective period during which the report-template association is valid.
- REPORT_DURATION / REPORT_PERIOD — Timing attributes defining how frequently or over what span the report is generated.
- STS_CODE / PROCESS_CODE — Status and processing-state codes governing lifecycle of the report generation.
- APPLIES_TO — Indicates the applicability scope of the report.
- ATTACHMENT_NAME — Name of the associated attachment or output artifact.
- MESSAGE_TEMPLATE_ID — Reference to a message template used for notifications tied to the report.
- OBJECT_VERSION_NUMBER — Optimistic locking/versioning column.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — Standard EBS audit (WHO) columns.
The documented primary key is ID. No separate unique business-key index is documented in the provided metadata, though the natural business combination of TEMPLATE_SET_ID plus REPORT_ID is the likely candidate in practice.
Common Use Cases and Queries
Typical scenarios include enumerating all reports configured for a template set, validating active (in-effect) reports by date range, and auditing status/processing codes for reporting jobs.
- List reports for a template set:
SELECT rt.id, rt.report_id, rt.template_set_type, rt.sts_code FROM oks.okS_report_templates rt WHERE rt.template_set_id = :template_set_id;
- Active reports as of a date:
SELECT id, report_id, report_period FROM oks.okS_report_templates WHERE TRUNC(SYSDATE) BETWEEN start_date AND NVL(end_date, SYSDATE);
- Status/processing monitoring: aggregate by STS_CODE and PROCESS_CODE to detect stalled or failed report generation.
- Join to template-set header data to report the owning set name alongside each report.
Related Objects
- OKS_TEMPLATE_SET — Parent table; join on OKS_REPORT_TEMPLATES.TEMPLATE_SET_ID = OKS_TEMPLATE_SET.ID. The only documented foreign-key relationship.
- OKS_REPORT_TEMPLATES-referenced report definitions (via REPORT_ID) — the underlying report catalog entries consumed by these rows.
- Message template objects — referenced through MESSAGE_TEMPLATE_ID for notification generation.
- OKS service contract tables — contract and template-set usages that consume these configurations during report and communication generation.
- EBS audit/WHO columns — shared with standard FND-style auditing, enabling change tracking for compliance reporting.
Because the documented metadata exposes only the single FK to OKS_TEMPLATE_SET, additional dependencies should be confirmed against the 12.1.1/12.2.2 data dictionary before relying on them in production queries.
-
Table: OKS_REPORT_TEMPLATES
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_REPORT_TEMPLATES, object_name:OKS_REPORT_TEMPLATES, status:VALID, product: OKS - Service Contracts , description: Stores the reports for each template set. , implementation_dba_data: OKS.OKS_REPORT_TEMPLATES ,
-
Table: OKS_REPORT_TEMPLATES
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_REPORT_TEMPLATES, object_name:OKS_REPORT_TEMPLATES, status:VALID, product: OKS - Service Contracts , description: Stores the reports for each template set. , implementation_dba_data: OKS.OKS_REPORT_TEMPLATES ,
-
VIEW: OKS.OKS_REPORT_TEMPLATES#
12.2.2
owner:OKS, object_type:VIEW, object_name:OKS_REPORT_TEMPLATES#, status:VALID,
-
APPS.OKS_REPORT_TEMPLATES_PVT SQL Statements
12.1.1
-
APPS.OKS_REPORT_TEMPLATES_PVT SQL Statements
12.2.2
-
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,
-
VIEW: OKS.OKS_REPORT_TEMPLATES#
12.2.2
-
VIEW: APPS.OKS_REPORT_TEMPLATES_V
12.1.1
-
VIEW: APPS.OKS_REPORT_TEMPLATES_V
12.2.2
-
Table: OKS_TEMPLATE_SET
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_TEMPLATE_SET, object_name:OKS_TEMPLATE_SET, status:VALID, product: OKS - Service Contracts , description: Stores the template set information. , implementation_dba_data: OKS.OKS_TEMPLATE_SET ,
-
Table: OKS_TEMPLATE_SET
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_TEMPLATE_SET, object_name:OKS_TEMPLATE_SET, status:VALID, product: OKS - Service Contracts , description: Stores the template set information. , implementation_dba_data: OKS.OKS_TEMPLATE_SET ,
-
PACKAGE: APPS.OKS_REPORT_TEMPLATES_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_REPORT_TEMPLATES_PVT, status:VALID,
-
PACKAGE: APPS.OKS_REPORT_TEMPLATES_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_REPORT_TEMPLATES_PVT, status:VALID,
-
APPS.OKS_K_ACTIONS_PVT SQL Statements
12.1.1
-
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 BODY: APPS.OKS_TEMPLATE_SET_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_TEMPLATE_SET_PUB, status:VALID,
-
APPS.OKS_K_ACTIONS_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OKS_K_ACTIONS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_K_ACTIONS_PVT, 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,
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
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 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OKS_K_ACTIONS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_K_ACTIONS_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
TABLE: OKS.OKS_REPORT_TEMPLATES
12.2.2
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_REPORT_TEMPLATES, object_name:OKS_REPORT_TEMPLATES, status:VALID,
-
TABLE: OKS.OKS_REPORT_TEMPLATES
12.1.1
owner:OKS, object_type:TABLE, fnd_design_data:OKS.OKS_REPORT_TEMPLATES, object_name:OKS_REPORT_TEMPLATES, status:VALID,
-
PACKAGE BODY: APPS.OKS_AUTO_REMINDER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_AUTO_REMINDER, status:VALID,
-
PACKAGE BODY: APPS.OKS_AUTO_REMINDER
12.2.2
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,
-
APPS.OKS_AUTO_REMINDER SQL Statements
12.1.1
-
APPS.OKS_AUTO_REMINDER SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OKS_REPORT_TEMPLATES_PVT
12.1.1
-
PACKAGE BODY: APPS.OKS_REPORT_TEMPLATES_PVT
12.2.2
-
APPS.OKS_TEMPLATE_SET_PUB SQL Statements
12.1.1
-
APPS.OKS_TEMPLATE_SET_PUB SQL Statements
12.2.2
-
PACKAGE: APPS.OKS_REPORT_TEMPLATES_PVT
12.1.1
-
PACKAGE: APPS.OKS_REPORT_TEMPLATES_PVT
12.2.2
-
APPS.OKS_AUTO_REMINDER dependencies on OKS_REPORT_TEMPLATES
12.1.1
-
APPS.OKS_K_ACTIONS_PVT dependencies on OKS_REPORT_TEMPLATES
12.2.2