Results for “g_dp_cs_req_data”

6 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

MSD_CL_PRE_PROCESS is an Oracle E-Business Suite PL/SQL package owned by the APPS schema that functions as the pre-processing stage for the Microsoft/MSC (Advanced Supply Chain Planning) collections interface. In the context of Oracle EBS 12.1.1 and 12.2.2, this package prepares and stages data extracted from transactional source systems before it is loaded into the planning engine's staging and interface tables. The "CL" in the name denotes "Collections," and the package is part of the data collection infrastructure that feeds the Demantra/MSC planning and demand management schemas.

The package is classified under the ETRM API classification category "OTHER," meaning it is not a published, customer-facing Open Interface API but rather an internal processing utility. It carries a header revision marker of $Header: MSDCLPPS.pls 120.3 2007/09/07, reflecting that it originated in the 11i/early R12 development cycle and has been carried forward largely unchanged into the 12.1.1 and 12.2.2 releases. It is referenced by zero other packages, confirming its role as a top-level driver rather than a shared library called by downstream routines.

The package defines a substantial set of constants that reveal its operating model. Error and warning severities (G_ERROR, G_WARNING, G_SEV3_ERROR, G_SEV_ERROR), sentinel values for null representation (NULL_CHAR, NULL_VALUE), request-type identifiers (G_NEW_REQUEST, G_DP_LV_REQ_DATA, G_DP_CS_REQ_DATA), process status flags (G_NEW, G_IN_PROCESS, G_ERROR_FLG, G_VALID), and calendar/bucket classifications (G_BUCKET_TYPE, G_MFG_CAL, G_FISCAL_CAL, G_COMPOSITE_CAL) collectively indicate that the package supports batch-driven, multi-step data staging with calendar and time-bucket awareness. The calling module constants G_APS and G_DP distinguish between Advanced Planning and Demand Planning invocation contexts.

The global variable v_link is declared to carry a linkage or batch correlation identifier across the loading procedures.

Key Procedures and Functions

The package exposes 23 documented procedures, all following a consistent pattern of returning ERRBUF and RETCODE out parameters plus an instance identifier and, in several cases, a batch identifier. Representative documented procedures include:

Each procedure is designed to be invoked independently as a sub-request within a larger collections run.

Tables Accessed

The package reads and writes a mixture of MSC (planning interface) and MSD (Demantra/collections staging) tables accessed through APPS synonyms:

Usage Notes

MSD_CL_PRE_PROCESS is typically invoked by concurrent programs within the Advanced Supply Chain Planning and Demand Planning collections flows, either as a parent that dispatches each LOAD_* procedure as a sub-request or as individual program calls per data category. Because it lacks an Open Interface classification, it should not be called directly from custom code without validating the expected ERRBUF/RETCODE contract and the batch/instance context. Parameter names vary per procedure (some take p_instance_id and p_batch_id, LOAD_CATEGORY adds p_link), so callers must reference the package specification. The package has remained stable across 12.1.1 and 12.2.2, with no documented dependents, meaning database upgrades are unlikely to alter its behavior.