Results for “ic_prce_cls_vw”

26 results




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

Overview

IC_PRCE_CLS_VW is a backward-compatibility view owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It belongs to the GMI (Process Manufacturing Inventory) product family and exposes Oracle Process Manufacturing price classes through a relational interface that mirrors the legacy OPM price class structure. In earlier releases of Process Manufacturing, price classes were maintained as a distinct OPM entity rather than as Oracle Inventory category sets. As Oracle migrated this functionality to the common MTL_CATEGORIES and MTL_CATEGORY_SETS model, IC_PRCE_CLS_VW was introduced to preserve the original column layout and semantics so that existing forms, reports, interfaces, and customizations that reference price classes continue to function without modification. The view therefore acts as a compatibility shim: it resolves rows held in the standard inventory category tables, filters them to those governed by an OPM price class category set, and presents them using the legacy column names and positions. Because it is defined over MTL_CATEGORIES_V rather than a physical table, its contents are always current with respect to the underlying category definitions, and no separate maintenance or synchronization job is required.

Underlying Base Objects

The documented base objects for IC_PRCE_CLS_VW are GMI_CATEGORY_SETS, MTL_CATEGORIES_V, MTL_CATEGORY_SETS, and MTL_CATEGORY_SET_VALID_CATS, the first, third, and fourth of which are exposed as synonyms in the APPS schema. The view definition joins MTL_CATEGORIES_V to MTL_CATEGORY_SETS on STRUCTURE_ID, and joins MTL_CATEGORY_SETS to GMI_CATEGORY_SETS on CATEGORY_SET_ID. The GMI_CATEGORY_SETS row must satisfy OPM_CLASS = 'PRICE_CLASS', which is the discriminator that identifies which category sets represent OPM price classes. A UNION combines two result sets: the first selects active categories where VALIDATE_FLAG is not 'Y' and where the concatenated segment string equals its own upper-case substring of the first eight bytes, and the second draws from MTL_CATEGORY_SET_VALID_CATS for category sets whose valid categories are explicitly enumerated. This two-branch structure allows the view to return price class values whether the category set validates against the full segment hierarchy or against a fixed list of valid category assignments.

Key Columns

The view exposes a fixed column list that aligns with the legacy OPM price class record. The most significant column for the queried term is the second position, which carries CATEGORY_ID; this is the identifier most commonly searched as price_category_id in downstream SQL, even though the view labels it CATEGORY_ID. The first column is a SUBSTRB of CATEGORY_CONCAT_SEGS truncated to eight bytes, providing the concatenated segment description that historically served as the price class code. DESCRIPTION is truncated to seventy bytes, and CREATION_DATE, LAST_UPDATE_DATE, CREATED_BY, LAST_UPDATED_BY, and LAST_UPDATE_LOGIN are carried over directly from the category row. Two numeric literals, 0, and a DECODE expression against DISABLE_DATE that yields 0 for enabled and 1 for disabled, occupy the middle positions, followed by a TO_NUMBER(NULL) placeholder. The fifteen ATTRIBUTE columns and ATTRIBUTE_CATEGORY are propagated, and fifteen TO_CHAR(NULL) positions pad the row to match the legacy signature. Consumers should note that the placeholder columns are intentionally non-populated and must not be interpreted as data.

Common Use Cases and Queries

Typical use cases include validating that a price class exists before inserting a pricing or cost record, joining price classes to inventory items, and reconstructing OPM-style pricing reports on an EBS 12.2.2 instance. A representative query retrieving all price classes is:

  • SELECT category_id, description FROM apps.ic_prce_cls_vw ORDER BY description;
  • SELECT c.category_id FROM apps.ic_prce_cls_vw c WHERE UPPER(c.description) LIKE 'FIN%';
  • SELECT p.category_id, p.description, msi.segment1 FROM apps.ic_prce_cls_vw p, apps.mtl_system_items_b msi WHERE msi.organization_id = :org_id;

Because the view is a UNION of two branches and performs SUBSTRB truncation, queries that filter on the truncated segment description will not always match the full underlying category value. Reporting logic should therefore resolve price classes through CATEGORY_ID wherever a stable key is required, and should avoid relying on the padded NULL columns for business logic.