Search Results compile_type_description




Overview

MTL_ABC_COMPILE_HEADERS_V is an APPS-owned database view in the Oracle E-Business Suite Inventory (INV) module. It presents a denormalized, reporting-friendly projection of ABC compile header records. ABC (Activity-Based Costing) compilation in Oracle Inventory is the process by which inventory items are classified into ABC rank classes according to their cumulative usage or value, typically enabling cycle count scheduling and inventory prioritization. This view exposes each compile run as a single logical record enriched with decoded lookup meanings, allowing users and downstream programs to interpret compile type, compile status, item scope, and cost code values in human-readable form without joining to lookup tables manually.

The view carries a "Retrofitted" description in the ETRM repository, indicating that it was introduced or reconciled as part of the 12.1.1 to 12.2.2 upgrade and maintenance stream. The user search term "mrp_forecast_name" is significant: the underlying MTL_ABC_COMPILE_HEADERS table includes an MRP_FORECAST_NAME column, which the view also exposes, linking ABC compilation to a named forecast when the compile scope is derived from a forecast. This makes the view relevant to both inventory costing and planning reporting.

Underlying Base Objects

The documented view metadata lists three referenced base objects, all resolved through synonyms in the APPS schema:

Lookups are anchored by lookup_type values MTL_ABC_COMPILE_TYPE, MTL_ABC_COMPILE_STATUS, MTL_ABC_ITEM_SCOPE, and MTL_PRIMARY_COST. The item scope join applies NVL(A.ITEM_SCOPE_CODE, 1), providing a default when no scope is set. The COST_CODE and COST_TYPE joins are outer joins, so compile records without a valid cost code or cost type still appear in the result set with null descriptions.

Key Columns

Common Use Cases and Queries

A frequent need is listing all ABC compiles that reference a specific forecast or plan. The view makes this a single-table query because lookup decoding is already applied:

  • Forecast-driven compiles: SELECT compile_id, compile_name, organization_id, mrp_forecast_name, compile_status_description FROM mtl_abc_compile_headers_v WHERE mrp_forecast_name = :forecast_name;
  • Completed compiles for an organization: SELECT compile_id, compile_name, compile_date FROM mtl_abc_compile_headers_v WHERE organization_id = :org_id AND compile_status = 'COMPLETED';
  • Compiles by cost basis: SELECT compile_name, cost_code_description, cost_type_description FROM mtl_abc_compile_headers_v WHERE cost_code IS NOT NULL;
  • Concurrent program audit: SELECT compile_id, request_id, program_id, program_update_date FROM mtl_abc_compile_headers_v WHERE compile_date >= :start_date;

Because the underlying table stores the compile header only, detailed item-level results reside in MTL_ABC_COMPILE_ITEMS (or its equivalent detail table), and this view is best used to identify and qualify compile runs before drilling into item detail. When used in custom reports or integrations, filter on ORGANIZATION_ID and COMPILE_STATUS to bound result sets, and treat MRP_FORECAST_NAME and MRP_PLAN_NAME as optional, since both are null for compiles not driven by MRP input.