Results for “oe_ak_srv_template_v”

10 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

OE_AK_SRV_TEMPLATE_V is a reporting and defaulting view owned by the APPS schema in Oracle E-Business Suite. It belongs to the ONT (Order Management) product family and is documented as VALID in ETRM for releases 12.1.1 and 12.2.2. Its declared purpose is the defaulting of Coverage Template and Subscription Template attributes on Service Items. In practice, the view exposes a filtered, date-effective list of coverage and subscription templates from the Oracle Knowledge/Service (OKS) schema, restricted to those templates that apply to serviceable and subscription item types.

Because it is a view and not a base table, OE_AK_SRV_TEMPLATE_V functions purely as a read-only projection. It carries no independent storage and no DML surface, so it is safe for extract, report, and integration consumption where an application must resolve which coverages or subscription templates are valid at the current point in time. This aligns with its naming prefix: the OE prefix ties it to Order Management, while the AK reference reflects its association with the Oracle Application Object Library / attribute knowledge framework used in the defaulting engine.

Underlying Base Objects

Per documented ETRM metadata for 12.2.2, the view is defined over exactly one referenced object: OKS_COVERAGE_TEMPLTS_V, itself a view in the APPS schema. That underlying view surfaces the canonical coverage template records, including the identifying name, descriptive text, primary key, item type classification, and effective-dating attributes (START_DATE and END_DATE).

OE_AK_SRV_TEMPLATE_V applies two layers of restriction on top of that source:

  • An ITEM_TYPE predicate, retaining only rows where ITEM_TYPE is 'SERVICE' or 'SUBSCRIPTION'.
  • A date-effectiveness predicate, retaining rows where SYSDATE falls between NVL(START_DATE, SYSDATE) and NVL(END_DATE, SYSDATE). The NVL wrappers mean a NULL start date is treated as "always began" and a NULL end date as "never expires".

Consequently, the view is a live, "as-of-today" window into coverage templates, not a historical or point-in-time snapshot.

Key Columns

  • TEMPLATE_NAME — the source NAME column aliased as TEMPLATE_NAME; the human-readable identifier of the coverage or subscription template presented to users and defaulting rules.
  • DESCRIPTION — the descriptive text passed through unchanged from the underlying view, used for display and selection context.
  • TEMPLATE_ID — the source ID column aliased as TEMPLATE_ID; the surrogate primary key used by consumers to join to template detail tables and to persist the selected template on an order line.

Note that ITEM_TYPE, START_DATE, and END_DATE are consumed internally as filter predicates and are not projected in the SELECT list, so they are unavailable to callers of this view.

Common Use Cases and Queries

The principal use case is populating a selection list or LOV in Order Management when a service or subscription item is entered, then defaulting the chosen coverage or subscription template onto the order line. Typical integration uses include reporting on currently active templates, validating that a referenced template remains effective, and driving downstream provisioning in service contracts. A basic query follows:

SELECT template_id
     , template_name
     , description
  FROM apps.oe_ak_srv_template_v
 WHERE UPPER(template_name) LIKE UPPER(:p_search)||'%'
 ORDER BY 2;

Because the view is already constrained to SERVICE and SUBSCRIPTION item types and to the current effective date window, consumers should not attempt to re-filter on ITEM_TYPE or the date columns; those attributes are not exposed. Where historical templates or the full ITEM_TYPE enumeration is required, query OKS_COVERAGE_TEMPLTS_V directly instead. A single-template lookup by primary key is likewise straightforward:

SELECT template_name
  FROM apps.oe_ak_srv_template_v
 WHERE template_id = :p_template_id;

The view is Oracle proprietary and confidential, and all access should be through the APPS schema or an equivalent synonym granted to the calling application.