Search Results all_orgs
Overview
The APPS.MRP_EXCEPTION_SC package body is a server-side PL/SQL component in Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2 that supports the Oracle MRP/MPS planning exception workflow. Its primary business function is to collect, aggregate, and persist exception counts derived from planning exception messages generated during a plan run. These exception messages alert planners to conditions requiring attention, such as late supply, excess inventory, or shortage risks. Rather than displaying raw exception rows, the package condenses the results into summary counts that can be presented to the user through the Planner Workbench summary interface and stored in the MRP_FORM_QUERY structure for later retrieval. The package is classified as an OTHER API, meaning it is an internal supporting utility rather than a public, documented integration interface. The header comment indicates a maintenance revision dated 2006 and references bug fixes, confirming its role as a long-standing internal object within the MRP schema family.
Key Procedures and Functions
The package exposes seven documented procedures and functions:
- GROUP_BY — The core aggregation routine. It inserts selected exception counts into
MRP_FORM_QUERYusing dynamically constructed SQL. TheALL_ORGSparameter, when supplied, controls whether the query spans all organizations or restricts results to the planned organization. This is the routine most directly associated with the user search term all_orgs. - SAVE_AS — Persists the current query definition, allowing a planner to store and later re-run a named exception view.
- UPDATE_ROW — Modifies an existing stored query row, typically when the user edits a saved exception view.
- LOCK_ROW — Acquires a row-level lock to preserve consistency during concurrent modification of a stored query.
- ITEM_NUMBER — Resolves or validates item-related identifiers used in exception filtering.
- SUPPLIER — Resolves supplier context for exceptions relating to sourcing or purchasing.
- SUPPLIER_SITE — Resolves supplier site context for site-specific exception conditions.
Tables Accessed
The package reads and writes the following objects through APPS synonyms:
MRP_FORM_QUERY/MRP_FORM_QUERY_S— The destination for aggregated exception counts. The sequenceMRP_FORM_QUERY_S.NEXTVALsupplies theexception_idand related identifiers.MRP_ITEM_EXCEPTIONS— The source view (MRP_ITEM_EXCEPTION_V) from which exception counts are selected and summed.DUAL— Used to retrieve the next sequence value.DBMS_SQL— Referenced for dynamic SQL execution; the originalDBMS_SQLcursor logic is commented out in favor ofEXECUTE IMMEDIATE.
Usage Notes
MRP_EXCEPTION_SC is an internal supporting package invoked primarily by the Planner Workbench exception summary forms and by related MRP packages. It is referenced by one other package in the EBS codebase, indicating a tightly scoped dependency chain. The dynamic SQL construction in GROUP_BY is significant: the query string is assembled at runtime and bound using EXECUTE IMMEDIATE with bind variables, including the all_orgs value. This design permits flexible grouping and organization scoping without hard-coding each variant. Because the package is classified as OTHER and is not a public API, custom extensions should avoid direct dependence on its internal signatures; the recommended integration surface remains the standard MRP exception views and concurrent programs.
-
PACKAGE BODY: APPS.MRP_EXCEPTION_SC
12.2.2
-
APPS.MRP_EXCEPTION_SC SQL Statements
12.2.2
-
PACKAGE: APPS.MRP_EXCEPTION_SC
12.2.2
-
PACKAGE BODY: APPS.MRP_EXCEPTION_SC
12.1.1
-
APPS.MRP_EXCEPTION_SC SQL Statements
12.1.1
-
PACKAGE: APPS.MRP_EXCEPTION_SC
12.1.1
-
PACKAGE BODY: APPS.FLM_EKB_ACTUAL_DEMAND
12.2.2
-
PACKAGE BODY: APPS.FLM_EKB_LEAD_TIME
12.2.2
-
PACKAGE BODY: APPS.FLM_EKB_HEALTH_STATUS
12.2.2
-
PACKAGE BODY: APPS.FLM_EKB_UNMOVED_CARDS
12.2.2
-
APPS.WIP_PROD_INDICATORS dependencies on MTL_PARAMETERS
12.2.2
-
APPS.WIP_PROD_INDICATORS dependencies on MTL_PARAMETERS
12.1.1
-
PACKAGE BODY: APPS.GCS_TRANSLATION_PKG
12.1.1
-
APPS.MRP_EXCEPTION_SC dependencies on DUAL
12.2.2
-
PACKAGE BODY: APPS.WIP_PROD_INDICATORS
12.2.2
-
APPS.MRP_EXCEPTION_SC dependencies on DUAL
12.1.1
-
APPS.MRP_EXCEPTION_SC dependencies on MRP_FORM_QUERY_S
12.1.1
-
APPS.MRP_EXCEPTION_SC dependencies on MRP_FORM_QUERY_S
12.2.2
-
APPS.AP_PERIOD_CLOSE_PKG dependencies on AP_SYSTEM_PARAMETERS
12.1.1
-
APPS.GCS_TRANSLATION_PKG dependencies on GCS_ENTRY_LINES
12.1.1
-
APPS.AP_PERIOD_CLOSE_PKG dependencies on AP_SYSTEM_PARAMETERS
12.2.2
-
PACKAGE BODY: APPS.WIP_PROD_INDICATORS
12.1.1
-
APPS.AP_PERIOD_CLOSE_PKG SQL Statements
12.1.1
-
APPS.AP_PERIOD_CLOSE_PKG SQL Statements
12.2.2
-
APPS.GCS_TRANSLATION_PKG dependencies on GCS_TRANSLATION_GT
12.1.1
-
APPS.AP_PERIOD_CLOSE_PKG dependencies on AP_ORG_ATTRIBUTES_GT
12.1.1
-
APPS.AP_PERIOD_CLOSE_PKG dependencies on AP_ORG_ATTRIBUTES_GT
12.2.2
-
APPS.WIP_PROD_INDICATORS SQL Statements
12.2.2
-
PACKAGE BODY: APPS.CTO_COST_ROLLUP_CONC_PK
12.1.1
-
PACKAGE BODY: APPS.CTO_COST_ROLLUP_CONC_PK
12.2.2
-
APPS.WIP_PROD_INDICATORS SQL Statements
12.1.1
-
APPS.AMW_ORG_HIERARCHY_PKG dependencies on AMW_RL_HIERARCHY_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_PERIOD_CLOSE_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_PERIOD_CLOSE_PKG
12.2.2
-
APPS.GCS_TRANSLATION_PKG dependencies on FND_LOG
12.1.1
-
PACKAGE BODY: APPS.AMW_ORG_HIERARCHY_PKG
12.1.1
-
APPS.AMW_ORG_HIERARCHY_PKG dependencies on AMW_PROCESS_ORGANIZATION
12.1.1
-
APPS.WIP_PROD_INDICATORS dependencies on FND_FILE
12.2.2
-
APPS.WIP_PROD_INDICATORS dependencies on FND_FILE
12.1.1
-
APPS.AMW_ORG_HIERARCHY_PKG dependencies on AMW_PROCESS
12.1.1