Search Results mrp_cl_refresh_snapshot
Overview
MRP_CL_REFRESH_SNAPSHOT is an APPS-owned PL/SQL package that supports the Oracle Advanced Planning and Scheduling (APS) and Collaborative Planning collection infrastructure within Oracle E-Business Suite 12.1.1 and 12.2.2. Its principal business function is to create, populate, and maintain the database snapshot objects that represent a consistent, point-in-time view of source transactional data for planning purposes. These snapshots isolate the planning engine from live production tables, allowing long-running planning runs to operate against a stable data image. The package is registered in ETRM with a status of VALID and an API classification of OTHER, indicating it is an internal utility rather than a documented public interface. It is tightly coupled with the collection and refresh framework, and the ETRM metadata confirms it is referenced by MSC_CL_COLLECTION, MSC_CL_SETUP_ODS_LOAD, MRP_MAP_REG_SITE, and MRP_CL_FUNCTION.
Key Procedures and Functions
The ETRM metadata documents 18 procedures and functions. The core orchestration routine, REFRESH_SNAPSHOT, drives the full snapshot rebuild process, while REFRESH_SINGLE_SNAPSHOT performs the same operation scoped to a single snapshot or entity. DROP_SNAPSHOT and DROP_SNAPSHOT_EI remove existing snapshot objects and their associated entity indexes. SETUP_SOURCE_OBJECTS prepares the source definitions prior to refresh, and CREATE_SOURCE_VIEWS and CREATE_SOURCE_TRIGGERS build the supporting views and triggers on source tables. WAIT_FOR_REQUEST synchronizes the calling process against a concurrent request identifier. CHECK_MV_CONT_REF_TYPE and CHECK_ENTITY_CONT_REF_TYPE validate refresh type and container reference metadata. CHECK_DB_LINK and CHECK_USAF_FLAG verify database connectivity and the application’s planning flag setting. PURGE_OBSOLETE_DATA clears stale rows. LOG_DEBUG and LOG_ERROR provide diagnostic and error logging. The remaining documented entry points complete the administrative and validation surface of the package.
Tables Accessed
The package accesses several dictionary and setup tables through APPS synonyms. FND_APPLICATION and FND_ID_FLEX_SEGMENTS, FND_ID_FLEX_STRUCTURES, FND_PROFILE_OPTIONS, FND_PROFILE_OPTION_VALUES, and FND_USER are read to resolve application context, key flexfield structure, profile option values, and user identity. MRP_AP_APPS_INSTANCES_ALL, MRP_AP_REFRESH_S, and MRP_REGION_SITES hold the planning instance, refresh schedule, and region-site configuration that governs which snapshots are created. ALL_SNAPSHOT_LOGS, ALL_TABLES, and DBMS_MVIEW supply snapshot log status, object existence checks, and materialized view operations. DBMS_LOCK, DBMS_UTILITY, and DUAL are used for concurrency control, session utilities, and singleton queries. FND_PROFILE and MSC_UTIL are recorded as direct package dependencies in the documented dependency listing.
Usage Notes
MRP_CL_REFRESH_SNAPSHOT is invoked indirectly rather than by end users. It is called by MRP_CL_FUNCTION and MSC_CL_COLLECTION during collection and refresh cycles, and by MSC_CL_SETUP_ODS_LOAD and MRP_MAP_REG_SITE during setup and mapping operations. In practice these calls are triggered from the planning collection concurrent programs and from the Advanced Supply Chain Planning setup flows that stage operational data stores. Because the package is classified as OTHER and is not a public API, customizations should not call its procedures directly; instead, custom code should invoke the documented collection or planning concurrent programs that in turn drive the refresh. In 12.2.2 the online patching (adop) model means snapshot and materialized view objects created by this package must be regenerated after patching cycles, and any database link validated by CHECK_DB_LINK must remain accessible for refresh to complete successfully.
-
PACKAGE: APPS.MRP_CL_REFRESH_SNAPSHOT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_CL_REFRESH_SNAPSHOT, status:VALID,
-
PACKAGE: APPS.MRP_CL_REFRESH_SNAPSHOT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_CL_REFRESH_SNAPSHOT, status:VALID,
-
PACKAGE BODY: APPS.MRP_CL_REFRESH_SNAPSHOT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_CL_REFRESH_SNAPSHOT, status:VALID,
-
PACKAGE BODY: APPS.MRP_CL_REFRESH_SNAPSHOT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_CL_REFRESH_SNAPSHOT, status:VALID,
-
SYNONYM: APPS.MRP_AP_REFRESH_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MRP_AP_REFRESH_S, status:VALID,
-
PACKAGE: APPS.MRP_FLOW_DEMAND
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_FLOW_DEMAND, status:VALID,
-
PACKAGE: APPS.MRP_FLOW_DEMAND
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_FLOW_DEMAND, status:VALID,
-
PACKAGE: APPS.FND_AMP_PRIVATE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_AMP_PRIVATE, status:VALID,
-
PACKAGE BODY: APPS.MRP_MAP_REG_SITE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_MAP_REG_SITE, status:VALID,
-
PACKAGE: APPS.MRP_CL_FUNCTION
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_CL_FUNCTION, status:VALID,
-
SYNONYM: APPS.MRP_REGION_SITES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MRP_REGION_SITES, status:VALID,
-
SYNONYM: APPS.MRP_AP_REFRESH_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MRP_AP_REFRESH_S, status:VALID,
-
PACKAGE: APPS.MRP_EXPL_STD_MANDATORY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_EXPL_STD_MANDATORY, status:VALID,
-
PACKAGE: APPS.CSP_REPAIR_PO_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSP_REPAIR_PO_GRP, status:VALID,
-
PACKAGE: APPS.CSP_REPAIR_PO_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSP_REPAIR_PO_GRP, status:VALID,
-
SYNONYM: PUBLIC.ALL_SNAPSHOT_LOGS
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:ALL_SNAPSHOT_LOGS, status:VALID,
-
PACKAGE: APPS.AD_MV
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AD_MV, status:VALID,
-
PACKAGE: APPS.MRP_EXPL_STD_MANDATORY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_EXPL_STD_MANDATORY, status:VALID,
-
PACKAGE: APPS.FND_AMP_PRIVATE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_AMP_PRIVATE, status:VALID,
-
SYNONYM: APPS.MRP_AP_APPS_INSTANCES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MRP_AP_APPS_INSTANCES_ALL, status:VALID,
-
SYNONYM: APPS.MRP_AP_APPS_INSTANCES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MRP_AP_APPS_INSTANCES_ALL, status:VALID,
-
PACKAGE BODY: APPS.MRP_MAP_REG_SITE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_MAP_REG_SITE, status:VALID,
-
PACKAGE: APPS.MRP_CL_FUNCTION
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_CL_FUNCTION, status:VALID,
-
PACKAGE: APPS.CSD_REPAIRS_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSD_REPAIRS_UTIL, status:VALID,
-
PACKAGE: APPS.MSC_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_UTIL, status:VALID,
-
PACKAGE: APPS.AD_TSPACE_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AD_TSPACE_UTIL, status:VALID,
-
SYNONYM: PUBLIC.ALL_SNAPSHOT_LOGS
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:ALL_SNAPSHOT_LOGS, status:VALID,
-
PACKAGE: APPS.MSC_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_UTIL, status:VALID,
-
PACKAGE BODY: APPS.MRP_CL_FUNCTION
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_CL_FUNCTION, status:VALID,
-
PACKAGE: APPS.CSD_REPAIRS_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSD_REPAIRS_UTIL, status:VALID,
-
SYNONYM: PUBLIC.DBMS_MVIEW
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_MVIEW, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.MRP_CL_FUNCTION
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_CL_FUNCTION, status:VALID,
-
PACKAGE: APPS.AD_TSPACE_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AD_TSPACE_UTIL, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_COLLECTION
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_COLLECTION, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_SETUP_ODS_LOAD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_SETUP_ODS_LOAD, status:VALID,
-
SYNONYM: PUBLIC.DBMS_MVIEW
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_MVIEW, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_COLLECTION
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_COLLECTION, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_SETUP_ODS_LOAD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_SETUP_ODS_LOAD, status:VALID,
-
VIEW: APPS.MSC_COLL_SNAPSHOTS_V
12.2.2
owner:APPS, object_type:VIEW, object_name:MSC_COLL_SNAPSHOTS_V, status:VALID,
-
PACKAGE: APPS.MRP_CL_REFRESH_SNAPSHOT
12.1.1
-
VIEW: APPS.MSC_COLL_SNAPSHOTS_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MSC_COLL_SNAPSHOTS_V, status:VALID,
-
PACKAGE: APPS.MRP_CL_REFRESH_SNAPSHOT
12.2.2
-
SYNONYM: APPS.FND_PROFILE_OPTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_PROFILE_OPTIONS, status:VALID,
-
SYNONYM: APPS.FND_PROFILE_OPTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_PROFILE_OPTIONS, status:VALID,
-
SYNONYM: PUBLIC.DBMS_OUTPUT
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_OUTPUT, status:VALID,
-
SYNONYM: APPS.FND_PROFILE_OPTION_VALUES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_PROFILE_OPTION_VALUES, status:VALID,