Search Results update_seq
Overview
MRP_BAL_UTILS is a PL/SQL package body owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. It belongs to the Oracle Advanced Supply Chain Planning / Material Requirements Planning family of modules, and is classified under the general "OTHER" API category in the ETRM repository. The package functions as a thin compatibility and delegation layer rather than a repository of original business logic.
Its principal design characteristic is that nearly every procedure simply forwards its arguments to a corresponding routine in the MSC_BAL_UTILS package. MSC_BAL_UTILS resides in the MSC schema, which holds the planning engine internals. MRP_BAL_UTILS therefore preserves the legacy MRP-namespace interface for callers coded against the original MRP product while the actual implementation has migrated to the MSC planning engine. This indirection allowed Oracle to relocate planning logic without breaking existing dependent code across releases.
Key Procedures and Functions
- POPULATE_TEMP_TABLE — Populates a temporary working table keyed by a session identifier, applying caller-supplied ordering and filtering clauses and an overwrite flag scoped to an operating unit. Supplies the working data set for subsequent balance and scheduling operations.
- UNDEMAND_ORDERS — Reverses demand placed against supply orders for a given session, returning status and message information in OUT parameters.
- SCHEDULE_ORDERS — Schedules orders within a session and reports back message count, message data, and return status.
- CALL_OE_API — Invokes Order Entry APIs on behalf of the planning process, bridging planning output back into the order management application.
- EXECUTE_COMMAND — Executes a caller-specified command string, accepting a user-command indicator and returning message data and return status. This is the routine most frequently associated with the "execute_command" search term.
- UPDATE_SEQ — Maintains the sequence state used by the package's node-manipulation routines.
- EXTEND — Grows a node collection by a specified amount. The header retains commented-out overloads for an MRP-specific record type, and the active signature operates on a sequence-alteration structure delegated to MSC_BAL_UTILS.
- TRIM — The commented header preserves an MRP-specific overload for reducing a node collection by a specified amount, also delegated to MSC_BAL_UTILS.
Tables Accessed
The package accesses its data exclusively through APPS synonyms. The documented metadata does not enumerate specific base tables, which is consistent with the delegation pattern: the physical reads and writes, including the temporary table populated by POPULATE_TEMP_TABLE, are performed inside MSC_BAL_UTILS against MSC-owned objects. MRP_BAL_UTILS itself is not documented as reading or writing tables directly.
Usage Notes
MRP_BAL_UTILS is invoked by concurrent planning programs and by custom code that requires the MRP-namespace entry points. It is referenced by one other documented package in the ETRM repository, indicating a narrow but real internal dependency chain. The header comment dates from 2003, confirming that the delegation wrappers have been stable across the 11i through 12.2 lifecycle.
Because the package is a pass-through, diagnostic efforts should focus on MSC_BAL_UTILS. Errors surfaced through x_msg_data and x_return_status originate in the MSC implementation. EXECUTE_COMMAND in particular passes the p_command string and p_user_command flag directly through to the MSC layer, so command validation and any associated security posture are governed there rather than within MRP_BAL_UTILS. Developers should treat MRP_BAL_UTILS as a stable, read-only interface layer and avoid adding logic to it.
-
APPS.MRP_BAL_UTILS SQL Statements
12.2.2
-
APPS.MRP_BAL_UTILS SQL Statements
12.1.1
-
APPS.MSC_BAL_UTILS SQL Statements
12.2.2
-
APPS.MSC_BAL_UTILS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.MRP_BAL_UTILS
12.1.1
-
PACKAGE BODY: APPS.MRP_BAL_UTILS
12.2.2
-
PACKAGE: APPS.MRP_BAL_UTILS
12.1.1
-
PACKAGE: APPS.MRP_BAL_UTILS
12.2.2
-
PACKAGE: APPS.MSC_BAL_UTILS
12.1.1
-
PACKAGE: APPS.MSC_BAL_UTILS
12.2.2
-
PACKAGE BODY: APPS.MSC_BAL_UTILS
12.1.1
-
PACKAGE BODY: APPS.MSC_BAL_UTILS
12.2.2
-
APPS.MRP_BAL_UTILS dependencies on MRP_BAL_UTILS
12.2.2
-
APPS.MRP_BAL_UTILS dependencies on MRP_BAL_UTILS
12.1.1
-
APPS.MSC_BAL_UTILS dependencies on MRP_BAL_UTILS
12.1.1
-
APPS.MSC_BAL_UTILS dependencies on MRP_BAL_UTILS
12.2.2
-
APPS.MSC_BAL_UTILS dependencies on MSC_SCH_WB
12.1.1
-
APPS.MSC_BAL_UTILS dependencies on MSC_SCH_WB
12.2.2
-
APPS.MSC_BAL_UTILS dependencies on MRP_BAL_UTILS
12.2.2
-
APPS.MSC_BAL_UTILS dependencies on MRP_BAL_UTILS
12.1.1
-
APPS.MSC_BAL_UTILS dependencies on MRP_ATP_SCHEDULE_TEMP
12.2.2
-
APPS.MSC_BAL_UTILS dependencies on MRP_ATP_SCHEDULE_TEMP
12.1.1
-
APPS.MSC_BAL_UTILS dependencies on MSC_BAL_UTILS
12.2.2
-
APPS.MSC_BAL_UTILS dependencies on MSC_BAL_UTILS
12.1.1