Search Results cs_tp_templates_vl
Overview
CS_TP_TEMPLATES_VL is a documented view in the APPS schema belonging to the Service (CS) product family in Oracle E-Business Suite releases 12.1.1 and 12.2.2. It functions as a translation-level (VL, or "view language") reporting construct that presents service template definitions together with their language-specific descriptive text. The view exposes the operational attributes held in the base table alongside the translatable name and description columns, resolving the appropriate language row at query time through the USERENV('LANG') session context. Its status is VALID in the ETRM metadata, confirming it is a supported, active database object.
Because the view joins the transactional base table to its translation table, it serves as the standard access point for concurrent programs, Oracle Forms blocks, OAF pages, and custom reporting or integration code that need complete template information without writing the translation join manually. In integration scenarios, the view is typically queried by interfaces extracting template configuration for downstream provisioning or questionnaire systems.
Underlying Base Objects
The view is defined over two documented base objects, both referenced through synonyms in the APPS schema:
- CS_TP_TEMPLATES_B — the base table holding non-translatable, operational attributes of each service template, including the primary key TEMPLATE_ID, activation dates, the default template flag, WHO audit columns, and the DFF ATTRIBUTE1 through ATTRIBUTE15 columns.
- CS_TP_TEMPLATES_TL — the translation table holding the language-dependent NAME and DESCRIPTION columns, keyed by TEMPLATE_ID and LANGUAGE.
The view text joins the two on B.TEMPLATE_ID = T.TEMPLATE_ID and filters T.LANGUAGE = USERENV('LANG'), so only the translation row matching the caller's session language is returned. This is the characteristic pattern of an Oracle "VL" view, and it means the view behaves as a single-language presentation layer over a multi-language data model.
Key Columns
The view exposes the union of the base and translation columns. Notable columns include:
- ROW_ID — the ROWID of the underlying CS_TP_TEMPLATES_B row, useful for direct row identification.
- TEMPLATE_ID — the primary key of the service template; joins to related template question and template detail entities.
- NAME and DESCRIPTION — the translatable, language-specific text sourced from CS_TP_TEMPLATES_TL.
- DEFAULT_FLAG — indicates whether the template is the default template.
- START_DATE_ACTIVE / END_DATE_ACTIVE — the effective date range controlling template availability.
- UNI_QUESTION_NOTE_FLAG and UNI_QUESTION_NOTE_TYPE — flags and type codes governing question note behavior for the template.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–ATTRIBUTE15 — descriptive flexfield context and segment columns for customer-defined template attributes.
- CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN — standard WHO audit columns.
Common Use Cases and Queries
Typical usages include validation reports listing active templates, integration extracts feeding external questionnaire engines, and LOV queries in custom forms requiring the translated template name. Because language resolution depends on USERENV('LANG'), results vary by the session language of the connected user or concurrent program.
A representative query retrieving currently active templates is:
SELECT template_id, name, description, default_flag, start_date_active, end_date_active FROM cs_tp_templates_vl WHERE TRUNC(SYSDATE) BETWEEN NVL(start_date_active, TRUNC(SYSDATE)) AND NVL(end_date_active, TRUNC(SYSDATE)) ORDER BY name;
To locate the default template:
SELECT template_id, name FROM cs_tp_templates_vl WHERE default_flag = 'Y';
When extracting DFF data alongside the translated text, additional ATTRIBUTE columns may be selected. Note that the LANGUAGE filter is applied internally; callers requiring multiple languages simultaneously must query CS_TP_TEMPLATES_TL directly rather than relying on this view.
-
View: CS_TP_TEMPLATES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_TP_TEMPLATES_VL, object_name:CS_TP_TEMPLATES_VL, status:VALID, product: CS - Service , implementation_dba_data: APPS.CS_TP_TEMPLATES_VL ,
-
View: CS_TP_TEMPLATES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_TP_TEMPLATES_VL, object_name:CS_TP_TEMPLATES_VL, status:VALID, product: CS - Service , implementation_dba_data: APPS.CS_TP_TEMPLATES_VL ,
-
SYNONYM: APPS.CS_TP_TEMPLATES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_TP_TEMPLATES_B, status:VALID,
-
SYNONYM: APPS.CS_TP_TEMPLATES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CS_TP_TEMPLATES_TL, status:VALID,
-
SYNONYM: APPS.CS_TP_TEMPLATES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_TP_TEMPLATES_TL, status:VALID,
-
SYNONYM: APPS.CS_TP_TEMPLATES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CS_TP_TEMPLATES_B, status:VALID,
-
PACKAGE BODY: APPS.CUG_SR_ATTRIBUTE_INTF
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CUG_SR_ATTRIBUTE_INTF, status:VALID,
-
PACKAGE BODY: APPS.CUG_SR_ATTRIBUTE_INTF
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CUG_SR_ATTRIBUTE_INTF, status:VALID,
-
PACKAGE BODY: APPS.CS_TP_TEMPLATES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CS_TP_TEMPLATES_PVT, status:VALID,
-
PACKAGE BODY: APPS.CS_TP_TEMPLATES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_TP_TEMPLATES_PVT, status:VALID,
-
VIEW: APPS.CS_TP_TEMPLATES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_TP_TEMPLATES_VL, object_name:CS_TP_TEMPLATES_VL, status:VALID,
-
VIEW: APPS.CS_TP_TEMPLATES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_TP_TEMPLATES_VL, object_name:CS_TP_TEMPLATES_VL, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
APPS.CUG_SR_ATTRIBUTE_INTF SQL Statements
12.1.1
-
APPS.CUG_SR_ATTRIBUTE_INTF SQL Statements
12.2.2
-
APPS.CS_TP_TEMPLATES_PVT SQL Statements
12.1.1
-
APPS.CS_TP_TEMPLATES_PVT SQL Statements
12.2.2
-
APPS.CUG_SR_ATTRIBUTE_INTF dependencies on CS_TP_TEMPLATES_VL
12.1.1
-
APPS.CUG_SR_ATTRIBUTE_INTF dependencies on CS_TP_TEMPLATES_VL
12.2.2
-
APPS.CS_TP_TEMPLATES_PVT dependencies on CS_TP_TEMPLATES_VL
12.1.1
-
APPS.CS_TP_TEMPLATES_PVT dependencies on CS_TP_TEMPLATES_VL
12.2.2
-
PACKAGE BODY: APPS.CUG_SR_ATTRIBUTE_INTF
12.2.2
-
PACKAGE BODY: APPS.CUG_SR_ATTRIBUTE_INTF
12.1.1
-
APPS.CUG_SR_ATTRIBUTE_INTF dependencies on CS_TP_TEMPLATE_LINKS
12.2.2
-
APPS.CUG_SR_ATTRIBUTE_INTF dependencies on CS_TP_TEMPLATE_LINKS
12.1.1
-
APPS.CUG_SR_ATTRIBUTE_INTF dependencies on CS_TP_QUESTIONS_VL
12.2.2
-
APPS.CUG_SR_ATTRIBUTE_INTF dependencies on CS_TP_QUESTIONS_VL
12.1.1
-
APPS.CUG_SR_ATTRIBUTE_INTF dependencies on CS_TP_TEMPLATE_QUESTIONS
12.2.2
-
APPS.CUG_SR_ATTRIBUTE_INTF dependencies on CS_TP_TEMPLATE_QUESTIONS
12.1.1
-
APPS.CUG_SR_ATTRIBUTE_INTF dependencies on CS_TP_LOOKUPS
12.1.1
-
APPS.CUG_SR_ATTRIBUTE_INTF dependencies on CS_TP_LOOKUPS
12.2.2
-
PACKAGE BODY: APPS.CS_TP_TEMPLATES_PVT
12.2.2
-
PACKAGE BODY: APPS.CS_TP_TEMPLATES_PVT
12.1.1
-
eTRM - CS Tables and Views
12.1.1
description: Table to store web conference details for an SR. ,
-
eTRM - CS Tables and Views
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.CS_TP_TEMPLATES_PVT dependencies on FND_API
12.1.1
-
APPS.CS_TP_TEMPLATES_PVT dependencies on FND_API
12.2.2
-
eTRM - CS Tables and Views
12.1.1
description: Table to store web conference details for an SR. ,
-
eTRM - CS Tables and Views
12.2.2