Search Results src_default_ship_method




Overview

MSC_SATP_FUNC is a PL/SQL package in the APPS schema that provides the core calculation engine for Oracle Advanced Supply Chain Planning's Available-to-Promise (ATP) and Supply Chain ATP (SATP) functionality. Its header identifies the package as being concerned primarily with "calculating delivery lead time at the source," which is the foundation for determining how long goods physically take to move between locations before a promise date can be set. The package operates against the planning and order management data model — organization calendars, customer sites, regions, trading partners, and inter-org shipping methods — and returns normalized values (location IDs, ship methods, and transit times) that higher-level planning and scheduling APIs consume. Because it is registered in ETRM with an API classification of OTHER and is referenced by twenty-five other packages, MSC_SATP_FUNC is best understood as a shared utility layer rather than an end-user-facing API. It has been under active maintenance since at least 2001, as evidenced by inline comments crediting parameter additions (p_session_id, p_partner_site_id, and p_index) to specific developers and bug numbers.

Key Procedures and Functions

The documented interface comprises 29 procedures and functions, most of which resolve source-side shipping and transit attributes:

Per the header comments, EXTEND_ATP was modified to accept a p_index parameter that determines the index length by which ATP_REC_TYP is extended, defaulting to one.

Tables Accessed

The package reads and writes a defined set of APPS synonyms:

Usage Notes

MSC_SATP_FUNC is not invoked directly by end users. It is called programmatically by the Advanced Supply Chain Planning engine and by the twenty-five packages that reference it, including ATP scheduling and order promising flows that need to derive ship methods and transit times before committing a promise date to an order. Customizations should call the functions with the documented parameter signatures only; several signatures carry DEFAULT NULL session and partner-site parameters that must be populated when callers operate outside a planning session, or the region and session resolution logic will not return meaningful results. Because the package reads TCA and calendar tables, any custom integration must ensure those synonyms are visible in the calling schema. Its wide dependency footprint means changes should be validated against all downstream consumers before deployment.