Search Results msc_satp_func
Overview
MSC_SATP_FUNC is an Oracle E-Business Suite PL/SQL package body owned by the APPS schema. Its classification within the ETRM repository is OTHER, and its status is VALID. The package forms part of the Oracle Advanced Supply Chain Planning (ASCP) scheduling and Available-to-Promise (ATP) infrastructure, specifically the subset of logic that supports supply chain ATP calculations used by the planning engine.
The business function of MSC_SATP_FUNC is to resolve the sourcing decisions, calendar-based timing, and regional mapping data required to evaluate ATP across a supply chain network. It determines the source location for a given demand, derives default ship methods and in-transit times, performs working-day navigation and date offsetting against manufacturing and shipping calendars, and builds the region and zone membership structures used in sourcing rules. In effect, it supplies the calculation primitives that higher-level ATP packages consume when answering whether a requested quantity can be promised on a requested date.
The package is self-referential: MSC_SATP_FUNC references itself, indicating internal calls between its own procedures and functions. It is not referenced by any database object in the dependency listing, though the documented metadata records it as being referenced by 25 other packages, which is consistent with its role as a shared utility layer within the ATP and planning stack.
Key Procedures and Functions
The package exposes 29 documented procedures and functions. They fall into several functional groupings.
- Sourcing and transit resolution: SRC_LOCATION_ID, SRC_INTERLOC_TRANSIT_TIME, SRC_DEFAULT_SHIP_METHOD, SRC_DEFAULT_INTRANSIT_TIME, SRC_SHIP_METHOD, SRC_INTRANSIT_TIME, and GET_SRC_TRANSIT_TIME resolve the source location, applicable ship method, and in-transit duration for a sourcing relationship, including inter-organization transfers.
- Calendar navigation: SRC_PREV_WORK_DAY, SRC_NEXT_WORK_DAY, and SRC_DATE_OFFSET navigate forward and backward across working days and apply date offsets based on calendar definitions.
- ATP window construction: EXTEND_ATP, EXTEND_ATP_PERIOD, EXTEND_ATP_SUPPLY_DEMAND, and TRIM_ATP_SUPPLY_DEMAND expand or trim the ATP horizon and its associated supply and demand records.
- Record mapping: ASSIGN_ATP_INPUT_REC and ASSIGN_ATP_OUTPUT_REC populate input and output record structures for ATP processing.
- Region and geographic mapping: GET_REGIONS, GET_REGIONS_OLD, and GET_REGIONS_SHIPPING retrieve region definitions, including the shipping-oriented variant used for ship-to based sourcing.
- Session handling: GET_SESSION_ID returns the current session identifier used for temporary table isolation.
Tables Accessed
The package reads and writes a defined set of tables through APPS synonyms. Temporary and working structures include MSC_ATP_SRC_PROFILE_TEMP, MSC_REGIONS_TEMP, MSC_REGIONS, MSC_REGION_LOCATIONS, MSC_REGION_SITES, and MSC_ZONE_REGIONS, which hold region, zone, and sourcing profile data during ATP evaluation. Trading partner and customer data are drawn from MSC_TRADING_PARTNER_SITES, MSC_TP_SITE_ID_LID, HZ_CUST_ACCT_SITES_ALL, HZ_CUST_SITE_USES_ALL, HZ_PARTY_SITES, HZ_LOCATIONS, and HR_ALL_ORGANIZATION_UNITS. Shipping and calendar information is sourced from BOM_CALENDAR_DATES, MTL_INTERORG_SHIP_METHODS, and WSH-related calendar, carrier, and region views listed in the dependency metadata.
Usage Notes
MSC_SATP_FUNC is an internal engine package rather than an end-user entry point. It is normally invoked indirectly by ATP and planning packages such as MSC_ATP_PVT, MSC_ATP_GLOBAL, MSC_ATP_24X7, MRP_ATP_PUB, MSC_SCH_WB, and ORDER_SCH_WB, which appear in its dependency list and call into it during plan execution or order promising. It is not exposed through a standard concurrent program of its own. Customizations should treat the package as an unsupported internal interface; direct calls are advisable only when replicating ATP sourcing or calendar logic in a controlled extension. Because it relies on FND_GLOBAL, FND_PROFILE, and FND_MESSAGE, correct application context and profile options must be established before invocation.
-
PACKAGE BODY: APPS.MSC_SATP_FUNC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SATP_FUNC, status:VALID,
-
PACKAGE: APPS.MSC_SATP_FUNC
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_SATP_FUNC, status:VALID,
-
PACKAGE: APPS.MSC_SATP_FUNC
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_SATP_FUNC, status:VALID,
-
PACKAGE BODY: APPS.MSC_SATP_FUNC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SATP_FUNC, status:VALID,
-
SYNONYM: APPS.MSC_REGION_LOCATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_REGION_LOCATIONS, status:VALID,
-
SYNONYM: APPS.MSC_REGION_LOCATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_REGION_LOCATIONS, status:VALID,
-
SYNONYM: APPS.MSC_ATP_SRC_PROFILE_TEMP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ATP_SRC_PROFILE_TEMP, status:VALID,
-
SYNONYM: APPS.MSC_ATP_SRC_PROFILE_TEMP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ATP_SRC_PROFILE_TEMP, status:VALID,
-
SYNONYM: APPS.MSC_REGION_SITES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_REGION_SITES, status:VALID,
-
SYNONYM: APPS.MSC_REGION_SITES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_REGION_SITES, status:VALID,
-
PACKAGE BODY: APPS.MRP_ATP_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_ATP_PVT, status:VALID,
-
SYNONYM: APPS.MSC_ZONE_REGIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ZONE_REGIONS, status:VALID,
-
SYNONYM: APPS.MSC_ZONE_REGIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ZONE_REGIONS, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_BPEL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_BPEL, status:VALID,
-
SYNONYM: APPS.MSC_REGIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_REGIONS, 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 BODY: APPS.MSC_ATP_BPEL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_BPEL, status:VALID,
-
PACKAGE BODY: APPS.MRP_ATP_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_ATP_PVT, status:VALID,
-
SYNONYM: APPS.WSH_ZONE_REGIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WSH_ZONE_REGIONS, status:VALID,
-
PACKAGE: APPS.MSC_ATP_24X7
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_24X7, status:VALID,
-
SYNONYM: APPS.MSC_REGIONS_TEMP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_REGIONS_TEMP, status:VALID,
-
SYNONYM: APPS.MSC_REGIONS_TEMP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_REGIONS_TEMP, status:VALID,
-
SYNONYM: APPS.WSH_ZONE_REGIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_ZONE_REGIONS, status:VALID,
-
PACKAGE: APPS.MSC_ATP_24X7
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_24X7, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_GLOBAL, status:VALID,
-
SYNONYM: APPS.MSC_REGIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_REGIONS, status:VALID,
-
PACKAGE BODY: APPS.MSC_WS_ATP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_WS_ATP, status:VALID,
-
SYNONYM: APPS.WSH_CALENDAR_ASSIGNMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_CALENDAR_ASSIGNMENTS, status:VALID,
-
SYNONYM: APPS.WSH_REGION_LOCATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_REGION_LOCATIONS, status:VALID,
-
PACKAGE BODY: APPS.MSC_WS_ATP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_WS_ATP, status:VALID,
-
SYNONYM: APPS.WSH_CALENDAR_ASSIGNMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WSH_CALENDAR_ASSIGNMENTS, status:VALID,
-
PACKAGE BODY: APPS.MSC_X_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_X_UTIL, status:VALID,
-
PACKAGE BODY: APPS.MSC_X_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_X_UTIL, status:VALID,
-
SYNONYM: APPS.WSH_REGION_LOCATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WSH_REGION_LOCATIONS, status:VALID,
-
PACKAGE: APPS.MRP_ATP_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_ATP_PUB, status:VALID,
-
PACKAGE: APPS.ORDER_SCH_WB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ORDER_SCH_WB, status:VALID,
-
SYNONYM: APPS.PO_LOCATION_ASSOCIATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_LOCATION_ASSOCIATIONS, status:VALID,
-
SYNONYM: APPS.PO_LOCATION_ASSOCIATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LOCATION_ASSOCIATIONS, status:VALID,
-
PACKAGE: APPS.MRP_ATP_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_ATP_PUB, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_UTILS, status:VALID,
-
SYNONYM: APPS.WSH_REGIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_REGIONS, status:VALID,
-
PACKAGE BODY: APPS.CTO_ATP_INTERFACE_PK
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CTO_ATP_INTERFACE_PK, status:VALID,
-
SYNONYM: APPS.WSH_REGIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WSH_REGIONS, status:VALID,
-
PACKAGE BODY: APPS.CTO_ATP_INTERFACE_PK
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CTO_ATP_INTERFACE_PK, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_UTILS, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_24X7
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_24X7, status:VALID,
-
PACKAGE BODY: APPS.MSC_BAL_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_BAL_UTILS, status:VALID,
-
PACKAGE BODY: APPS.OE_RELATED_ITEMS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_RELATED_ITEMS_PVT, status:VALID,
-
PACKAGE BODY: APPS.MSC_SCH_WB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SCH_WB, status:VALID,
-
PACKAGE: APPS.MSC_ATP_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_GLOBAL, status:VALID,