Search Results put_pegging_data




Overview

MSC_ATP_UTILS is a PL/SQL utility package in the APPS schema that supports the Available-to-Promise (ATP) processing infrastructure within Oracle E-Business Suite. Its header revision ($Header: MSCUATPS.pls 120.2) indicates the package has been stable since at least 2007, and it remains documented in ETRM for both release 12.1.1 and 12.2.2. The package serves as a bridge between the ATP engine supplied by MRP_ATP_PUB and the temporary staging structures used to persist scheduling, supply/demand, period, and pegging results across session boundaries — a requirement in multi-tier or distributed configurations where ATP results must be moved between databases or reused across calls.

The package is classified as OTHER (not a formal public API), meaning it is primarily intended for internal consumption by other Oracle Supply Chain modules. It is nevertheless referenced by eight other packages, confirming its role as shared infrastructure.

Key Procedures and Functions

The documented interface exposes twenty procedures and functions. Grouped by purpose:

Tables Accessed

Usage Notes

MSC_ATP_UTILS is not typically invoked directly from a form. It is called by other supply chain packages — the eight known referencing packages — and by concurrent programs that materialise ATP results into temporary tables prior to forwarding them to Order Management. Custom extensions should follow the same pattern: call PUT_INTO_TEMP_TABLE in REQUEST_MODE, execute the ATP engine via CALL_ATP_11, then retrieve results using the RESULTS_MODE (or PUT_SCH_DATA_RESULT_MODE) path. Because the package writes to persistent temporary tables keyed by session identifier, callers must supply a unique x_session_id and clean up via TRUNCATE_DEMAND or TRANSFER_* when processing completes. Direct modification of the underlying tables is not supported; the API contract is defined by the declared procedures only.