Search Results class_code_meaning




Overview

AST_PARTY_CLASSIFICATION_V is a read-only reporting view owned by the APPS schema in Oracle E-Business Suite, defined within the AST (TeleSales) product module. It presents party-level classification assignments — records that associate a classification category and class code with a specific party record — in a denormalized, presentation-ready form. The view surfaces the code assignment identifier exposed in the user's search term, code_assignment_id, which is the primary key of the underlying assignment row in HZ_CODE_ASSIGNMENTS.

In EBS 12.1.1 and 12.2.2, the view functions as a semantic layer over the Oracle Trading Community Architecture (TCA) classification tables. Instead of requiring callers to resolve lookup meanings, category descriptions, and owner table filtering manually, the view pre-joins the assignment records to their category and lookup definitions and constrains the result set to party-owned assignments only (OWNER_TABLE_NAME = 'HZ_PARTIES'). This makes it suitable for TeleSales screens, concurrent reporting, and integration extracts that need human-readable classification data.

Underlying Base Objects

The view is defined over four documented objects:

The inner joins on AR_LOOKUPS and HZ_CLASS_CATEGORIES mean that assignments with no matching lookup or category are excluded; only the description join to AR_LOOKUP_TYPES is outer, so a missing type description does not suppress a row.

Key Columns

Common Use Cases and Queries

Typical uses include retrieving all classifications for a party, listing primary classifications only, and joining to other TCA party views for reporting. Because the view filters to HZ_PARTIES, it is safe to treat OWNER_TABLE_ID as a party ID.

  • All classifications for a party:
SELECT code_assignment_id, class_category,
       class_category_desc, class_code,
       class_code_meaning, primary_flag
FROM   apps.ast_party_classification_v
WHERE  owner_table_id = :p_party_id
ORDER BY class_category, importance_ranking;
  • Primary classifications only:
SELECT owner_table_id, class_category, class_code_meaning
FROM   apps.ast_party_classification_v
WHERE  primary_flag = 'Y'
AND    SYSDATE BETWEEN start_date_active
                   AND NVL(end_date_active, SYSDATE + 1);
  • Resolution by code assignment ID:
SELECT owner_table_id, class_category, class_code
FROM   apps.ast_party_classification_v
WHERE  code_assignment_id = :p_code_assignment_id;

Callers should note the view is not intended for direct DML; updates belong to the HZ_CODE_ASSIGNMENTS base table through TCA APIs.