Search Results msc_sce_publish_pkg
Overview
The APPS.MSC_SCE_PUBLISH_PKG package is a PL/SQL program unit within the Oracle E-Business Suite Advanced Supply Chain Planning (ASCP) module, part of the MSC schema family. Its principal business function is to publish planning results — specifically plan orders and associated supply/demand entries — from the planning engine staging tables into the operational tables consumed by downstream planning and execution processes. The package bridges the gap between raw plan output and the persistent supply/demand record set used by the planning data model. It is classified in the ETRM documentation with a status of VALID and an API classification of OTHER, indicating it is not a formally published public API but an internal utility invoked by planning workflows.
Key Procedures and Functions
The documented package exposes seven procedures and functions:
- PUBLISH_PLAN_ORDERS — The primary driver routine. It processes and publishes planned orders, orchestrating the insertion of supply/demand records and the cleanup of stale data.
- GET_OPTIONAL_INFO — Retrieves optional configuration or contextual information, likely derived from profile options and lookup values, used to govern publishing behavior.
- INSERT_INTO_SUP_DEM — Inserts records into the supply/demand staging or operational table (
MSC_SUP_DEM_ENTRIES), materializing the plan output. - DELETE_OLD_FORECAST — Removes obsolete forecast records to prevent duplication or stale planning data from persisting across publish cycles.
- INSERT_INTO_SUP_DEM_RF_DOS — Inserts supply/demand entries specific to the RF (reservation/forecast) and DOS (days of supply) variant handling, distinguishing this insertion path from the standard one.
- LOG_MESSAGE — Writes diagnostic or status messages, supporting error and progress reporting during the publish process.
- GET_MESSAGE — Retrieves message text, typically resolving message names to localized strings using the FND message and language infrastructure.
Tables Accessed
The package reads and writes several planning and foundation tables through APPS synonyms:
- MSC_SUPPLIES — Stores supply records generated by the planning engine.
- MSC_SUP_DEM_ENTRIES — The central supply/demand entry table receiving the published plan records.
- MSC_COMPANIES and MSC_COMPANY_SITES — Provide organizational and site context for plan data.
- MSC_SYSTEM_ITEMS and MSC_ITEMS — Supply item master attributes referenced during processing.
- MSC_ITEM_SUPPLIERS — Sourcing information for planned orders across suppliers.
- MSC_DEMANDS — Demand records aligned with published supply.
- MSC_COMPANY_RELATIONSHIPS, MSC_APPS_INSTANCES, MSC_CL_REFRESH_S — Supporting planning and refresh context.
- FND_LOOKUP_VALUES, FND_PROFILE, FND_APPLICATION, FND_LANGUAGES, FND_NEW_MESSAGES — Foundation objects for configuration, profile option lookups, and message resolution.
Usage Notes
The package is typically invoked as part of ASCP plan publication and refresh processing rather than from an interactive form. It participates in the planning engine's data publishing workflow, where plan output must be committed into the operational supply/demand tables. Because it is classified as OTHER and is referenced by zero other packages, it should be treated as an internal implementation unit rather than a supported public API. Custom code should not call its procedures directly; instead, invoke the standard ASCP concurrent programs responsible for plan publication. Administrators should be aware that DELETE_OLD_FORECAST alters historical forecast data, so any diagnostic or troubleshooting activity must account for this behavior to avoid unintended data loss.
-
PACKAGE: APPS.MSC_SCE_PUBLISH_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_SCE_PUBLISH_PKG, status:VALID,
-
PACKAGE: APPS.MSC_SCE_PUBLISH_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_SCE_PUBLISH_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_SCE_PUBLISH_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SCE_PUBLISH_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_SCE_PUBLISH_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SCE_PUBLISH_PKG, status:VALID,
-
SYNONYM: APPS.MSC_COMPANY_SITES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_COMPANY_SITES, status:VALID,
-
SYNONYM: APPS.MSC_COMPANIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_COMPANIES, status:VALID,
-
SYNONYM: APPS.MSC_COMPANY_SITES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_COMPANY_SITES, status:VALID,
-
SYNONYM: APPS.MSC_SUP_DEM_ENTRIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_SUP_DEM_ENTRIES, status:VALID,
-
SYNONYM: APPS.MSC_COMPANIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_COMPANIES, status:VALID,
-
SYNONYM: APPS.MSC_SUP_DEM_ENTRIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_SUP_DEM_ENTRIES, status:VALID,
-
PACKAGE: APPS.MSC_X_WFNOTIFY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_X_WFNOTIFY_PKG, status:VALID,
-
PACKAGE: APPS.MSC_X_CP_FLOW
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_X_CP_FLOW, status:VALID,
-
PACKAGE: APPS.MSC_X_CP_FLOW
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_X_CP_FLOW, status:VALID,
-
PACKAGE: APPS.MSC_X_WFNOTIFY_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_X_WFNOTIFY_PKG, status:VALID,
-
SYNONYM: APPS.MSC_CL_REFRESH_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_CL_REFRESH_S, status:VALID,
-
SYNONYM: APPS.MSC_SUP_DEM_ENTRIES_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_SUP_DEM_ENTRIES_S, status:VALID,
-
SYNONYM: APPS.MSC_SUPPLIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_SUPPLIES, status:VALID,
-
SYNONYM: APPS.MSC_SALES_ORDERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_SALES_ORDERS, status:VALID,
-
SYNONYM: APPS.MSC_CL_REFRESH_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_CL_REFRESH_S, status:VALID,
-
SYNONYM: APPS.MSC_SUPPLIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_SUPPLIES, status:VALID,
-
SYNONYM: APPS.MSC_SUP_DEM_ENTRIES_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_SUP_DEM_ENTRIES_S, status:VALID,
-
SYNONYM: APPS.MSC_TRADING_PARTNER_MAPS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_TRADING_PARTNER_MAPS, status:VALID,
-
PACKAGE: APPS.MSC_SCE_LOADS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_SCE_LOADS_PKG, status:VALID,
-
PACKAGE: APPS.MSC_SCE_LOADS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_SCE_LOADS_PKG, status:VALID,
-
SYNONYM: APPS.MSC_COMPANY_RELATIONSHIPS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_COMPANY_RELATIONSHIPS, status:VALID,
-
SYNONYM: APPS.MSC_SALES_ORDERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_SALES_ORDERS, status:VALID,
-
PACKAGE: APPS.MSC_X_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_X_UTIL, status:VALID,
-
SYNONYM: APPS.MSC_COMPANY_RELATIONSHIPS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_COMPANY_RELATIONSHIPS, status:VALID,
-
SYNONYM: APPS.MSC_PLAN_BUCKETS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_PLAN_BUCKETS, status:VALID,
-
PACKAGE: APPS.MSC_X_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_X_UTIL, status:VALID,
-
SYNONYM: APPS.MSC_TRADING_PARTNER_MAPS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_TRADING_PARTNER_MAPS, status:VALID,
-
SYNONYM: APPS.MSC_ITEMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ITEMS, status:VALID,
-
SYNONYM: APPS.MSC_ITEMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ITEMS, status:VALID,
-
SYNONYM: APPS.MSC_PLAN_BUCKETS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_PLAN_BUCKETS, status:VALID,
-
PACKAGE: APPS.MSC_CALENDAR
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_CALENDAR, status:VALID,
-
SYNONYM: APPS.MSC_PLAN_ORGANIZATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_PLAN_ORGANIZATIONS, status:VALID,
-
PACKAGE: APPS.FND_PREFERENCE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_PREFERENCE, status:VALID,
-
PACKAGE: APPS.FND_PREFERENCE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PREFERENCE, status:VALID,
-
PACKAGE: APPS.MSC_CALENDAR
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_CALENDAR, status:VALID,
-
SYNONYM: APPS.MSC_PLAN_ORGANIZATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_PLAN_ORGANIZATIONS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.MSC_TRADING_PARTNER_SITES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_TRADING_PARTNER_SITES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.MSC_SYSTEM_ITEMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_SYSTEM_ITEMS, status:VALID,
-
SYNONYM: APPS.MSC_SYSTEM_ITEMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_SYSTEM_ITEMS, status:VALID,
-
SYNONYM: APPS.MSC_TRADING_PARTNER_SITES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_TRADING_PARTNER_SITES, status:VALID,
-
SYNONYM: APPS.MSC_ITEM_SUPPLIERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ITEM_SUPPLIERS, status:VALID,
-
SYNONYM: APPS.MSC_ITEM_SUPPLIERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ITEM_SUPPLIERS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2