Search Results copy_category_sets




Overview

MSC_CL_COPY_STG_TBL is an Oracle Advanced Supply Chain Planning (ASCP) staging package that resides in the APPS schema and is declared with AUTHID CURRENT_USER. Its principal business function is to support the collection and staging of planning data from one Oracle E-Business Suite source instance into the MSC (Material and Supply Chain) staging tables of a destination planning instance. In multi-instance or distributed planning architectures, this package moves source-side supply chain entities — calendars, resources, routings, sourcing rules, trading partners, demands, bills of resources, and business intelligence data — into a consolidated staging area so that the planning engine can run against a coherent snapshot.

The package manages a state machine that governs the lifecycle of a copy operation. Constants defined in the specification track stage status: G_ST_EMPTY (no instance data exists), G_ST_PULLING, G_ST_READY, G_ST_COLLECTING, and G_ST_PURGING. These states allow the copy process to be monitored and orchestrated across multiple worker processes.

Key Procedures and Functions

The reported inventory lists 106 documented procedures and functions. The following highlights the procedures captured in the ETRM excerpt:

Each COPY_ procedure isolates the logic for extracting its respective entity from the source and writing it into the corresponding MSC staging table, allowing parallel execution and granular progress reporting.

Tables Accessed

The package references the following tables through APPS synonyms:

  • MSC_APPS_INSTANCES — Stores metadata about registered E-Business Suite source instances. COPY_APPS_INSTANCES maintains this registry, and LAUNCH_MONITOR uses instance identifiers to determine which source to pull from and which destination to populate.
  • MSC_COLL_PARAMETERS — Holds collection and copy parameters that govern what data is staged and how. The copy procedures consult these parameters to determine scope and behavior during a copy request.
  • FND_USER — Used to resolve the identity and effective user context (relevant given AUTHID CURRENT_USER) when the copy request is submitted or monitored.

Usage Notes

MSC_CL_COPY_STG_TBL is typically invoked through the ASCP collection and staging infrastructure rather than directly by end users. When a planner submits a copy or collection request for a source instance, the concurrent program and its associated monitor call LAUNCH_MONITOR, which in turn coordinates the individual COPY_ procedures across worker processes. The user search term "submit_copy_request" corresponds to this submission path: a copy request is created and submitted, LAUNCH_MONITOR is launched with the instance and source instance identifiers, and the package proceeds through the pulling, ready, and collecting states until staging completes.

Because the package runs with AUTHID CURRENT_USER and references data through APPS synonyms, customizations should avoid modifying it in place; any extension should be implemented in a separate package that calls the public procedures. The absence of dependent packages in the metadata means it is a top-level orchestrator and can generally be invoked safely from concurrent programs, provided the correct instance identifiers and collection parameters are supplied.