Results for “updated_flag”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
MRP_OE is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It functions as a boundary interface between Oracle Order Management (OE) and the Material Requirements Planning and Advanced Supply Chain Planning engines. Its central purpose is to expose order-line demand information — quantity, date, and reservation status — to the planning processes in a normalized form, so that planning logic does not need to query order management tables directly or interpret their internal structures.
The package is declared with AUTHID CURRENT_USER, meaning that its SQL statements execute under the privileges of the invoking schema rather than the APPS owner. This allows planning code running in other schemas to call these functions while respecting the caller's security context. The package body is version-stamped 120.0, and despite its age it remains present in the 12.2.2 data model because the planning engines and their interface contracts were carried forward substantially unchanged from the 11i lineage.
Two constants define the demand source identifiers the package operates against: MTL_SALES_ORDER (value 2) for external sales orders and MTL_INT_SALES_ORDER (value 8) for internal sales orders, that is, inter-organization or internal requisition-driven demand. An IN_PROCESS constant (value 3) supports status evaluation. These constants align the package with the demand source taxonomy used by the MTL_DEMAND table.
Key Procedures and Functions
The package exposes six public functions, all taking a single demand identifier as input and returning a scalar value. Every function carries a pragma restrict_references declaration for WNDS (Write No Database State) and WNPS (Write No Package State), confirming that these routines are strictly read-only and therefore safe to call from SQL statements and parallel planning queries.
mrp_quantity— Returns the demand quantity relevant to material requirements planning for the identified demand record.mrp_date— Returns the demand date used by the planning engine for MRP horizon and time-phasing calculations.available_to_mrp— Returns the quantity of the demand line that is available for MRP netting purposes.updated_flag— Returns a status indicator reflecting whether the demand record has been updated, allowing planning to detect changed order information.available_to_atp— Returns the quantity available to Available-to-Promise processing, supporting ATP and scheduling checks distinct from MRP netting.total_reserv_qty— Returns the total reserved quantity on the demand line, so planning can account for supply already committed to specific demand.
Tables Accessed
The package reads through APPS synonyms of three principal tables. MTL_DEMAND is the central demand repository populated from order management and other sources; the package derives quantities, dates, and demand source values from this table, which is why the demand source constants are defined at package level. MRP_SALES_ORDER_UPDATES is the staging table through which order management signals changed sales order information to the planning engine; the updated_flag function almost certainly interrogates this table. OE_ORDER_LINES_ALL holds the order line detail itself, providing authoritative line-level attributes such as ordered quantity and schedule dates that may not be fully replicated into MTL_DEMAND.
Usage Notes
MRP_OE is not an end-user API and has no user interface. It is an internal reference package invoked by the planning engine and by other PL/SQL packages — the metadata records nine dependent packages. Typical invocation occurs within the MRP, ASCP, and ATP concurrent program execution paths, and from Oracle Forms or custom code that needs a consistent, planning-oriented view of order demand without duplicating business logic. Because all functions are restricted to read-only state and accept only the demand identifier, customizations should call them rather than re-implementing equivalent queries, and should avoid modifying the package, as its contract is relied upon across the planning codebase.
-
PACKAGE: APPS.MRP_OE 12.1.1
-
PACKAGE BODY: APPS.MRP_OE 12.1.1
-
PACKAGE: APPS.MRP_OE 12.2.2
-
PACKAGE BODY: APPS.MRP_OE 12.2.2
-
PACKAGE: APPS.OE_VALIDATE 12.1.1
-
Table: GL_MEMO_STA 12.1.1
Internal Table used by AR Update process
-
The XLA_APPLI_AMB_CONTEXTS table stores the information for the application and the AMB contexts.
-
This table stores details of the records that were updated by the Update Settlement Accounts program.
-
Disjunctions used in Advanced Schedules
-
Table: GL_MEMO_STA 12.2.2
Internal Table used by AR Update process
-
The XLA_SEG_RULES_B table stores all account derivation. These account derivation rules are then attached to an accounting line type
-
- Retrofitted
APPS.FND_CONC_RELEASE_PERIODS_VL·↳ FND_CONC_RELEASE_PERIODS·↳ FND_CONC_RELEASE_PERIODS_TL·Explore FND module →
-
View: XLA_MAPPING_SETS_VL 12.2.2
APPS.XLA_MAPPING_SETS_VL·↳ XLA_MAPPING_SETS_B·↳ XLA_MAPPING_SETS_TL·Explore XLA module →
-
Concurrent Schedules
-
The XLA_APPLI_AMB_CONTEXTS table stores the information for the application and the AMB contexts.
-
Subledger accounting balance information for control accounts
-
Subledger accounting balance information for control accounts
-
Disjunctions used in Advanced Schedules
-
Not currently used
APPS.PJM_PROJECT_OE_DEMAND_V·↳ MTL_DEMAND·↳ SO_LINES_ALL·Explore PJM module →
-
This table stores details of the records that were updated by the Update Settlement Accounts program.
-
- Retrofitted
APPS.FND_CONC_RELEASE_DISJS_VL·↳ FND_CONC_RELEASE_DISJS·↳ FND_CONC_RELEASE_DISJS_TL·Explore FND module →
-
- Retrofitted
APPS.FND_CONC_RELEASE_DISJS_VL·↳ FND_CONC_RELEASE_DISJS·↳ FND_CONC_RELEASE_DISJS_TL·Explore FND module →
-
PACKAGE: APPS.OE_VALIDATE 12.2.2
-
The XLA_MAPPING_SETS_B table stores Mapping Sets created by End Users. These mapping sets are then used in the definition of account derivation rules.
-
Concurrent States used in Advanced Schedules
-
This table stores the header information for the Analytical Criteria. Since some analytical criteria are delivered as seeded data by the product teams, the name and the description are subjected to translation, so there are two tables for t
-
- Retrofitted
APPS.FND_CONC_RELEASE_STATES_VL·↳ FND_CONC_RELEASE_STATES·↳ FND_CONC_RELEASE_STATES_TL·Explore FND module →
-
- Retrofitted
APPS.FND_CONC_RELEASE_STATES_VL·↳ FND_CONC_RELEASE_STATES·↳ FND_CONC_RELEASE_STATES_TL·Explore FND module →
-
This table stores the header information for the Analytical Criteria. Since some analytical criteria are delivered as seeded data by the product teams, the name and the description are subjected to translation, so there are two tables for t
-
The XLA_SEG_RULES_B table stores all account derivation. These account derivation rules are then attached to an accounting line type
-
Concurrent States used in Advanced Schedules
-
Concurrent Periods used in Advanced Schedules
-
Concurrent Periods used in Advanced Schedules
-
The XLA_MAPPING_SETS_B table stores Mapping Sets created by End Users. These mapping sets are then used in the definition of account derivation rules.
-
View: XLA_SEG_RULES_VL 12.2.2
APPS.XLA_SEG_RULES_VL·↳ XLA_SEG_RULES_B·↳ XLA_SEG_RULES_TL·Explore XLA module →
-
View: XLA_ANALYTICAL_HDRS_VL 12.1.1
APPS.XLA_ANALYTICAL_HDRS_VL·↳ XLA_ANALYTICAL_HDRS_B·↳ XLA_ANALYTICAL_HDRS_TL·Explore XLA module →
-
View: XLA_MAPPING_SETS_VL 12.1.1
APPS.XLA_MAPPING_SETS_VL·↳ XLA_MAPPING_SETS_B·↳ XLA_MAPPING_SETS_TL·Explore XLA module →
-
View: XLA_ANALYTICAL_HDRS_VL 12.2.2
APPS.XLA_ANALYTICAL_HDRS_VL·↳ XLA_ANALYTICAL_HDRS_B·↳ XLA_ANALYTICAL_HDRS_TL·Explore XLA module →
-
The XLA_PRODUCT_RULES_B table stores the accounting rules for an application. Standard product accounting rules are independent of a chart of .accounts.