Search Results mrp_atp_pub
Overview
MRP_ATP_PUB is a public PL/SQL package body owned by the APPS schema in Oracle E-Business Suite, classified as a PUB (public) API in the ETRM documentation set. Its role is to expose available-to-promise (ATP) functionality to calling applications, most notably Oracle Order Management and other modules that must confirm whether a requested quantity of an item can be promised on a given date. The package acts as a thin public wrapper over the internal ATP processing logic implemented in the MSC_ATP_PUB and MSC_ATP_PVT packages, which reside in the Advanced Supply Chain Planning schema family. As a package body with VALID status, it is fully compiled and available for invocation in both EBS 12.1.1 and 12.2.2 environments.
The dependency listing confirms that MRP_ATP_PUB sits at the boundary between the Oracle Order Management API layer (MRP_OM_API_PK) and the supply chain ATP engine (MSC_ATP_PUB, MSC_ATP_PVT, MSC_SCH_WB). It also depends on FND_API and FND_PROFILE for the standard EBS API error-handling and profile-option infrastructure, and on the PLITBLM public package for PL/SQL table (index-by table) type definitions and utilities.
Key Procedures and Functions
The documented API surface consists of two public procedures:
- CALL_ATP — the primary entry point for performing an available-to-promise check. It accepts the caller's scheduling request attributes, delegates the calculation to the internal ATP packages, and returns the promise result to the caller. Because the procedure name carries no "_NO_COMMIT" suffix, it is the standard variant that permits the caller's transaction state to be committed as part of the ATP processing cycle.
- CALL_ATP_NO_COMMIT — functionally equivalent to CALL_ATP but executes without issuing a commit. This variant exists so that callers already operating inside an open transaction (for example, a form that must maintain rollback capability) can obtain ATP results without prematurely ending the transaction. It is the preferred entry point when ATP is invoked from interactive UI code.
Both procedures rely on the standard FND_API error-handling conventions, meaning callers should inspect the returned API status and message stack rather than relying solely on PL/SQL exceptions.
Tables Accessed
The ETRM metadata documents a single table reference for this package: PLITBLM. In practice PLITBLM is not a business data table but a public PL/SQL utility package that supplies index-by table and record type declarations used throughout the EBS code base. The substantive ATP data — item supply, demand, on-hand, and scheduled receipt information — is not read directly by MRP_ATP_PUB; it is retrieved by the underlying MSC_ATP_PUB/MSC_ATP_PVT layers, which MRP_ATP_PUB calls. This keeps the public wrapper insulated from the physical ATP schema objects.
Usage Notes
MRP_ATP_PUB is a heavily consumed API. The documented metadata shows it is referenced by 53 other database objects, reflecting its central position in order promising flows. Typical invocation scenarios include:
- Oracle Order Management — through MRP_OM_API_PK, which calls the ATP wrapper during order line scheduling and date-promise validation.
- Custom and extension code — developers building bespoke order-entry, quote, or fulfillment processes that require a programmatic ATP check should call CALL_ATP_NO_COMMIT when their transaction must remain open, and CALL_ATP when a commit is acceptable.
- Concurrent and batch processes — batch scheduling routines that evaluate large volumes of demand lines may invoke the commit-permitting variant.
Because the package is not referenced by any higher-level object within the tracked dependency set, it is treated as a leaf-level public API suitable for direct external calls. Callers should always validate FND_API return status and should never assume that a successful PL/SQL return implies a positive ATP result; the promise outcome is communicated through the API's out parameters.
-
PACKAGE BODY: APPS.MRP_ATP_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_ATP_PUB, status:VALID,
-
PACKAGE BODY: APPS.MRP_ATP_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_ATP_PUB, status:VALID,
-
PACKAGE: APPS.MSC_ATP_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_PUB, status:VALID,
-
PACKAGE: APPS.MSC_ATP_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_PUB, status:VALID,
-
PACKAGE: APPS.MSC_ATP_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_PVT, status:VALID,
-
PACKAGE: APPS.MSC_ATP_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_PVT, status:VALID,
-
PACKAGE: APPS.CZ_OM_ATP_CALLBACK
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CZ_OM_ATP_CALLBACK, status:VALID,
-
PACKAGE: APPS.CZ_OM_ATP_CALLBACK
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CZ_OM_ATP_CALLBACK, status:VALID,
-
PACKAGE: APPS.MRP_OM_API_PK
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_OM_API_PK, status:VALID,
-
PACKAGE: APPS.MRP_AATP_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_AATP_PVT, status:VALID,
-
PACKAGE: APPS.MSC_NATP_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_NATP_PVT, status:VALID,
-
PACKAGE BODY: APPS.MRP_BAL_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_BAL_UTILS, status:VALID,
-
PACKAGE BODY: APPS.MRP_ATP_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_ATP_PVT, status:VALID,
-
PACKAGE: APPS.MRP_ATP_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_ATP_UTILS, status:VALID,
-
PACKAGE BODY: APPS.MSC_NATP_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_NATP_PVT, status:VALID,
-
PACKAGE BODY: APPS.MSC_NATP_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_NATP_PVT, status:VALID,
-
PACKAGE: APPS.MSC_ATP_DRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_DRP, status:VALID,
-
PACKAGE: APPS.MSC_ATP_BPEL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_BPEL, status:VALID,
-
PACKAGE: APPS.MRP_BAL_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_BAL_UTILS, status:VALID,
-
PACKAGE: APPS.OE_OE_AVAILABILITY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_OE_AVAILABILITY, status:VALID,
-
PACKAGE BODY: APPS.BOM_ATO_NEW_ATP_PK
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BOM_ATO_NEW_ATP_PK, status:VALID,
-
PACKAGE: APPS.CTO_ATP_INTERFACE_PK
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CTO_ATP_INTERFACE_PK, status:VALID,
-
PACKAGE: APPS.MRP_OM_API_PK
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_OM_API_PK, status:VALID,
-
PACKAGE: APPS.MSC_ATP_SUBST
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_SUBST, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_BPEL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_BPEL, status:VALID,
-
PACKAGE: APPS.CTO_ATP_INTERFACE_PK
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CTO_ATP_INTERFACE_PK, status:VALID,
-
PACKAGE: APPS.MSC_NATP_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_NATP_PVT, status:VALID,
-
PACKAGE: APPS.OE_OE_AVAILABILITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_OE_AVAILABILITY, status:VALID,
-
PACKAGE: APPS.MRP_ATP_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_ATP_UTILS, status:VALID,
-
PACKAGE BODY: APPS.MRP_BAL_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_BAL_UTILS, status:VALID,
-
PACKAGE BODY: APPS.BOM_ATO_NEW_ATP_PK
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BOM_ATO_NEW_ATP_PK, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_GLOBAL, status:VALID,
-
PACKAGE: APPS.MRP_AATP_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_AATP_PVT, status:VALID,
-
PACKAGE: APPS.OE_RELATED_ITEMS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_RELATED_ITEMS_PVT, status:VALID,
-
PACKAGE: APPS.MSC_ATP_SUBST
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_SUBST, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_BPEL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_BPEL, status:VALID,
-
PACKAGE BODY: APPS.OE_CAT_RESULTS_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CAT_RESULTS_PUB, status:VALID,
-
PACKAGE BODY: APPS.MRP_ATP_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_ATP_PVT, status:VALID,
-
PACKAGE: APPS.MRP_BAL_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_BAL_UTILS, status:VALID,
-
PACKAGE: APPS.MSC_ATP_DRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_DRP, status:VALID,
-
PACKAGE BODY: APPS.OE_CAT_RESULTS_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CAT_RESULTS_PUB, status:VALID,
-
PACKAGE: APPS.MSC_ATP_BPEL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_BPEL, status:VALID,
-
PACKAGE: APPS.OE_RELATED_ITEMS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_RELATED_ITEMS_PVT, status:VALID,
-
PACKAGE: APPS.MSC_BAL_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_BAL_UTILS, status:VALID,
-
PACKAGE: APPS.MSC_ATP_CUSTOM
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_CUSTOM, status:VALID,
-
PACKAGE: APPS.MSC_ATP_PEG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_PEG, status:VALID,
-
PACKAGE: APPS.MSC_ATP_PEG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_PEG, status:VALID,
-
PACKAGE: APPS.MSC_ATP_CUSTOM
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_CUSTOM, status:VALID,
-
PACKAGE: APPS.MSC_AATP_PROC
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_AATP_PROC, status:VALID,
-
PACKAGE: APPS.MSC_AATP_REQ
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_AATP_REQ, status:VALID,