Results for “department_line_code”

6 results




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

Overview

MRP_EXCEPTION_SUMMARY_V is an APPS-owned database view in the Oracle E-Business Suite Master Scheduling/MRP module, documented in ETRM for releases 12.1.1 and 12.2.2 with a status of VALID. Its stated purpose is to present an "enhanced exception message" — that is, a denormalized, reporting-friendly projection of planning exception data that has been enriched with descriptive attributes drawn from adjacent manufacturing tables and lookup definitions. The view is defined over the MRP_FORM_QUERY entity and resolves raw numeric foreign-key values stored there into human-readable codes and meanings, making it suitable for planner-facing reports, concurrent program outputs, and integration extracts.

The enhancement is achieved principally through outer joins to BOM_DEPARTMENTS, BOM_RESOURCES, and WIP_LINES, and through inner and outer joins to MFG_LOOKUPS for exception type, exception version, and resource type translation. The view also invokes the MRP_GET_PROJECT package to resolve project and task identifiers. A row filter of MFQ.NUMBER13 = 1 restricts output to the current or active exception record set, which is important to note when building queries, since historical exception rows are excluded.

Underlying Base Objects

The view is defined over MRP_FORM_QUERY (synonym), which supplies the driving exception rows, and joins to the following documented base objects:

Because the department, resource, and line joins are outer joins, exception rows that do not reference a departmental or production-line context are still returned, with the corresponding code columns null or defaulted. The DEPARTMENT_LINE_CODE column is computed as NVL(DEPT.DEPARTMENT_CODE, LINE.LINE_CODE), so it reflects whichever context is populated for a given exception.

Key Columns

Common Use Cases and Queries

Typical uses include extracting open planning exceptions by organization or planner, reporting exceptions by responsibility area using DEPARTMENT_LINE_CODE, and feeding exception data into custom dashboards or downstream systems. The following query lists active exceptions with their resolved department or line code:

  • SELECT organization_code, inventory_item_id, exception_type_text, planner_code, department_line_code, resource_code, exception_count FROM apps.mrp_exception_summary_v WHERE organization_id = :org_id ORDER BY exception_type_text, inventory_item_id;
  • SELECT department_line_code, exception_type_text, COUNT(*) FROM apps.mrp_exception_summary_v GROUP BY department_line_code, exception_type_text ORDER BY 3 DESC;
  • SELECT project_number, task_number, exception_type_text FROM apps.mrp_exception_summary_v WHERE project_id IS NOT NULL;

Because DEPARTMENT_LINE_CODE is a resolved expression rather than an indexed base column, filtering directly on it can inhibit index usage; filtering on DEPARTMENT_ID, LINE_ID, or ORGANIZATION_ID where possible generally yields better performance. All access should respect the APPS schema privileges and standard EBS security and MOAC (multi-org) policies.