Results for “cs_systems_vl”

24 results




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

Overview

CS_SYSTEMS_VL is a single-organization, single-language view owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It belongs to the Service (CS) product family and exposes customer system records — the installed-base entities that Service uses to track products placed at a customer site. The _VL suffix denotes a "view, language" construct: the view joins the transactional base table to its translation table and filters translations to the session language, returning one row per system with language-dependent descriptive columns already resolved.

The view also enforces organization-level security through the standard Multi-Org mechanism. Its WHERE clause compares B.ORG_ID against the operating unit derived from USERENV('CLIENT_INFO'), using the NVL(..., -99) defaulting pattern typical of EBS secured views. Consequently, rows are only visible for the operating unit established in the user's session, and the view reflects whatever the current responsibility has set as its Org context. Because it always reads the current session language, it is the natural reporting surface for queries that must return translated system names and descriptions.

Underlying Base Objects

Per the ETRM metadata the view is defined over two synonym-referenced base objects:

  • CS_SYSTEMS_ALL_B — the multi-org base table holding the system's transactional attributes, aliased as B.
  • CS_SYSTEMS_ALL_TL — the translation table holding language-specific NAME and DESCRIPTION values, aliased as T.

The join predicate is B.SYSTEM_ID = T.SYSTEM_ID, combined with T.LANGUAGE = USERENV('LANG') to restrict translations to the session language, and the Org security predicate on B.ORG_ID. All columns are taken from the base table B except NAME and DESCRIPTION, which come from the translation table T. A synthetic ROW_ID is exposed from B.ROWID.

Key Columns

Common Use Cases and Queries

The view is typically used for reporting and integration where translated names are required and Org security is acceptable. A representative query retrieving systems of a given configuration type follows:

  • SELECT system_id, name, system_type_code, config_system_type, serial_number, customer_id FROM cs_systems_vl WHERE config_system_type = :p_type;
  • SELECT system_id, name, start_date_active, end_date_active FROM cs_systems_vl WHERE customer_id = :p_customer AND TRUNC(SYSDATE) BETWEEN start_date_active AND NVL(end_date_active, SYSDATE);
  • SELECT system_id, name, parent_system_id FROM cs_systems_vl WHERE parent_system_id IS NOT NULL ORDER BY parent_system_id;

Note that because CS_SYSTEMS_VL applies Org and language filtering automatically, callers must set the correct operating unit and language context before querying; otherwise rows will appear to be missing. Where an Org-agnostic or all-language result set is genuinely required, the underlying base tables must be queried directly rather than through this view.