Search Results cp_flow




Overview

APPS.MSC_X_CP_FLOW is a PL/SQL package body within the Oracle Advanced Supply Chain Planning (ASCP) and Supply Chain Event Management (SCEM) module. Its primary business function is to orchestrate the flow of collaborative planning and supplier collaboration information across the supply chain. Specifically, the package provides the programmatic bridge between Oracle E-Business Suite and the SCEM/ASCP engine infrastructure, enabling the launch of planning engine concurrent requests, the initiation of Oracle Workflow processes for supplier capacity and forecast interactions, and the publication of supply commits and order forecasts to trading partners. The package is classified under the OTHER API category in ETRM documentation and, as of the source header shown, carries a version reference to 2005, indicating that it is a long-standing component of the supply chain planning architecture reused across 12.1.1 and 12.2.2.

Key Procedures and Functions

The package exposes 15 documented procedures and functions, grouped into logical families:

Tables Accessed

The package reads and writes several core planning and workflow tables through APPS synonyms:

Usage Notes

MSC_X_CP_FLOW is not invoked directly from EBS forms. Instead, it is called programmatically by five other packages and by Oracle Workflow activities. In practice, the workflow routines (START_*_WF) create workflow items, while the corresponding callback procedures (LAUNCH_*, RECEIVE_*, PUBLISH_*) execute inside the workflow engine to submit concurrent requests or post messages. The use of FND_REQUEST.SET_MODE(TRUE) in LAUNCH_SCEM_ENGINE is significant: it forces trigger mode so that any SAVEPOINT and ROLLBACK commands within the workflow activity are bypassed, allowing the concurrent request submission to commit immediately. Because PRINT_USER_INFO is referenced directly in the source, the note that this procedure replaces traditional log-message calls is relevant to anyone tracing concurrent request output. Developers integrating with the SCEM or ASCP flow should call the workflow starters rather than the callback procedures directly, and should ensure the associated concurrent programs (for example MSCXNETG) remain enabled and properly assigned to the requesting responsibility.