Results for “pl_activity_flag”

30 results




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

Overview

CST_COST_TYPES_VAL_V is a single-organization validation view owned by the APPS schema in Oracle E-Business Suite, documented under the BOM – Bills of Material product family. Its purpose is to expose cost types that have not been disabled, presenting only those records whose DISABLE_DATE is null or in the future. The predicate NVL(CCT.DISABLE_DATE, SYSDATE+1) > SYSDATE ensures that cost types without an explicit disable date remain visible, while those that have elapsed are excluded from the result set.

Because it is a single-org view, the organization context is carried explicitly on each row through ORGANIZATION_ID; the view does not restrict output to a session organization, so callers must supply their own organization filter where appropriate. The view is registered as VALID in the ETRM metadata for 12.2.2 and is also available in 12.1.1, where it is widely used by costing and bills-of-material setup forms, list-of-values, and reporting queries that must ignore retired cost types.

Underlying Base Objects

The view is defined over two documented referenced objects:

  • CST_COST_TYPES (SYNONYM) — the primary source of cost type definitions, supplying all identification, costing-method, flag, and descriptive-flexfield columns.
  • MFG_LOOKUPS (VIEW) — joined to decode the ALLOW_UPDATES_FLAG value, restricted to LOOKUP_TYPE = 'SYS_YES_NO' and matched via LOOKUP_CODE = CCT.ALLOW_UPDATES_FLAG. The resolved MEANING is projected as the display column.

The join is an inner join, so any cost type whose ALLOW_UPDATES_FLAG has no corresponding SYS_YES_NO lookup code is excluded. Combined with the disable-date predicate, the view yields only active, mutually consistent cost type rows.

Key Columns

Common Use Cases and Queries

Typical consumers include cost type list-of-values, bill of material setup validation, cost rollup programs, and custom reports that must present only enabled cost types. A search for pl_element_flag indicates a requirement to identify cost types that carry project element costing, as shown below.

  • List active cost types for an organization.
  • Identify cost types participating in project element costing.
  • Drive LOVs that must exclude disabled cost types.

Sample queries:

SELECT cost_type_id, cost_type, description, costing_method_type
FROM apps.cst_cost_types_val_v
WHERE organization_id = :org_id
ORDER BY cost_type;

SELECT cost_type_id, cost_type, pl_element_flag, pl_resource_flag,
       pl_operation_flag, pl_activity_flag, allow_updates_flag_dsp
FROM apps.cst_cost_types_val_v
WHERE organization_id = :org_id
  AND pl_element_flag = 'Y';

Because the view is not organization-restricted, always supply ORGANIZATION_ID to avoid cross-organization results.