Search Results msc_aatp_req
Overview
MSC_AATP_REQ is an Oracle E-Business Suite package owned by the APPS schema that supports Advance Available-to-Promise (AATP) processing within the Advanced Supply Chain Planning (ASCP) and Global Order Promising (GOP) modules. The package encapsulates the server-side logic required to evaluate allocated ATP — the portion of supply that has already been reserved or pre-allocated to specific demands — and to determine feasible promise dates when a supply source is consumed by higher-priority allocations. Its primary role is to answer the question of whether an item can be promised against a given organization, demand class, and request date, factoring in allocations, planning scenarios, and forward scheduling considerations.
The package sits within the MRP/ATP runtime stack and is referenced by four other packages, indicating that it functions as a shared utility layer invoked by higher-level ATP check routines rather than as a standalone entry point. It interacts with the MRP_ATP_PVT and MRP_ATP_PUB packages through typed OUT parameters, returning structured ATP information, ATP periods, and supply/demand detail sets to its callers.
Key Procedures and Functions
ETRM 12.2.2 documents two procedures for this package, although the source header reveals additional internal methods referenced in the specification.
- ITEM_PRE_ALLOCATED_ATP — Evaluates ATP for an item at a specified planning level, scenario, and organization, returning the ATP information, ATP period, and supply/demand arrays through its OUT parameters. It accepts a request item identifier and ATF (Available To Future) date to support time-phased ATP evaluation, and takes a refresh number to accommodate summary enhancement processing. This procedure is the core allocation-aware ATP query.
- GET_FORWARD_MATERIAL_ATP — Added in 2002 by copying logic from the earlier Get_Material_Atp_Info routine, this procedure performs forward-scheduling ATP evaluation. It is called by MSC_ATP_PVT.ATP_Check when forward stealing of allocated supply is required, and returns the requested date quantity, ATF date quantity, ATP date at the current level, pegging table, return status, and used available quantity. The header also documents GET_MAT_IN_REC and the legacy Get_Material_Atp_Info referenced from the specification.
Tables Accessed
The package reads and writes several MSC and MRP tables through APPS synonyms:
- MRP_ATP_DETAILS_TEMP — temporary storage of ATP detail rows during calculation.
- MSC_ALLOC_DEMANDS, MSC_ALLOC_SUPPLIES, MSC_ALLOC_TEMP — allocation demand, supply, and temporary working sets used to compute pre-allocated ATP.
- MSC_ATP_SD_DETAILS_TEMP and MSC_ATP_SUMMARY_SD — supply/demand detail and summary structures returned to callers.
- MSC_PLANS — plan definition lookups to validate plan context.
- MSC_TRADING_PARTNERS and MSC_TRADING_PARTNER_SITES — partner and site attributes used in demand-source resolution.
- PLITBLM — a temporary table used for pegging and intermediate result storage.
Usage Notes
MSC_AATP_REQ is not exposed as a user-facing API; it is invoked programmatically by ATP checking routines such as MSC_ATP_PVT.ATP_Check and by three additional referencing packages. It is typically called during order promising, scheduling, and planning runs when the system must determine whether allocated supply can be reassigned forward to satisfy a new demand. Customizations that need to replicate ATP logic should call the public procedures rather than querying the underlying MSC_ALLOC and MSC_ATP tables directly, as the package manages temporary table lifecycle and array typing. Because the two documented procedures accept plan, level, scenario, and instance identifiers, callers must ensure a valid planning context is established before invocation.
-
PACKAGE: APPS.MSC_AATP_REQ
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_AATP_REQ, status:VALID,
-
PACKAGE: APPS.MSC_ATP_REQ
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_REQ, status:VALID,
-
PACKAGE: APPS.MSC_AATP_REQ
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_AATP_REQ, status:VALID,
-
PACKAGE: APPS.MSC_ATP_REQ
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_REQ, status:VALID,
-
PACKAGE BODY: APPS.MSC_AATP_REQ
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_AATP_REQ, status:VALID,
-
PACKAGE BODY: APPS.MSC_AATP_REQ
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_AATP_REQ, status:VALID,
-
PACKAGE: APPS.MRP_ATP_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_ATP_PVT, status:VALID,
-
PACKAGE: APPS.MRP_ATP_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_ATP_PVT, status:VALID,
-
SYNONYM: APPS.MSC_ALLOC_TEMP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ALLOC_TEMP, status:VALID,
-
PACKAGE: APPS.MSC_AATP_REQ
12.2.2
-
SYNONYM: APPS.MSC_ALLOC_TEMP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ALLOC_TEMP, status:VALID,
-
SYNONYM: APPS.MSC_ITEM_HIERARCHY_MV
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ITEM_HIERARCHY_MV, status:VALID,
-
PACKAGE: APPS.MSC_AATP_REQ
12.1.1
-
SYNONYM: APPS.MSC_ALLOC_SUPPLIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ALLOC_SUPPLIES, status:VALID,
-
SYNONYM: APPS.MSC_ATP_SD_DETAILS_TEMP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ATP_SD_DETAILS_TEMP, status:VALID,
-
SYNONYM: APPS.MSC_ATP_SUMMARY_SD
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ATP_SUMMARY_SD, status:VALID,
-
SYNONYM: APPS.MSC_ATP_SD_DETAILS_TEMP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ATP_SD_DETAILS_TEMP, status:VALID,
-
SYNONYM: APPS.MSC_ALLOC_SUPPLIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ALLOC_SUPPLIES, status:VALID,
-
PACKAGE: APPS.MSC_AATP_PROC
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_AATP_PROC, status:VALID,
-
PACKAGE: APPS.MSC_AATP_PROC
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_AATP_PROC, status:VALID,
-
SYNONYM: APPS.MSC_ALLOC_DEMANDS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ALLOC_DEMANDS, status:VALID,
-
SYNONYM: APPS.MSC_ATP_SUMMARY_SD
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ATP_SUMMARY_SD, status:VALID,
-
PACKAGE: APPS.MSC_POST_PRO
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_POST_PRO, status:VALID,
-
SYNONYM: APPS.MSC_ALLOC_DEMANDS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ALLOC_DEMANDS, status:VALID,
-
PACKAGE: APPS.MSC_ATP_DB_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_DB_UTILS, status:VALID,
-
PACKAGE: APPS.MSC_ATP_DB_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_DB_UTILS, status:VALID,
-
PACKAGE: APPS.MSC_POST_PRO
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_POST_PRO, status:VALID,
-
PACKAGE: APPS.MSC_ATP_FUNC
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_FUNC, status:VALID,
-
PACKAGE: APPS.MSC_ATP_PF
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_PF, status:VALID,
-
PACKAGE: APPS.MSC_ATP_PF
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_PF, status:VALID,
-
PACKAGE: APPS.MSC_ATP_FUNC
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_FUNC, status:VALID,
-
PACKAGE: APPS.MRP_ATP_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_ATP_PUB, status:VALID,
-
PACKAGE: APPS.MRP_ATP_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_ATP_PUB, status:VALID,
-
SYNONYM: APPS.MRP_ATP_DETAILS_TEMP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MRP_ATP_DETAILS_TEMP, status:VALID,
-
SYNONYM: APPS.MRP_ATP_DETAILS_TEMP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MRP_ATP_DETAILS_TEMP, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_SUBST
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_SUBST, status:VALID,
-
TABLE: APPS.MSC_ITEM_HIERARCHY_MV
12.2.2
owner:APPS, object_type:TABLE, fnd_design_data:MSC.MSC_ITEM_HIERARCHY_MV, object_name:MSC_ITEM_HIERARCHY_MV, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_REQ
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_REQ, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_REQ
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_REQ, status:VALID,
-
PACKAGE: APPS.MSC_CALENDAR
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_CALENDAR, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_SUBST
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_SUBST, status:VALID,
-
PACKAGE: APPS.MSC_ATP_PROC
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_PROC, status:VALID,
-
PACKAGE BODY: APPS.MSC_AATP_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_AATP_PVT, status:VALID,
-
PACKAGE BODY: APPS.MSC_AATP_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_AATP_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.MSC_ATP_PROC
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_PROC, status:VALID,
-
PACKAGE: APPS.MSC_CALENDAR
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_CALENDAR, status:VALID,
-
PACKAGE: APPS.MSC_ATP_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_PVT, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_PVT, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_PVT, status:VALID,