Search Results get_scn_users




Overview

MSC_SCN_UTILS is a utility package in the Oracle E-Business Suite Advanced Supply Chain Planning (ASCP) module, owned by the APPS schema and defined with AUTHID CURRENT_USER. It centralizes reusable helper logic that supports scenario management, planning run introspection, and concurrent request orchestration within the MSC (Supply Chain Planning) schema. The package exposes functions and procedures that retrieve descriptive names, versions, owners, and statuses for plans, scenarios, and processes, and it provides procedures for archiving and purging scenarios and plans. It also supplies parameter-population helpers used by activity and LOV-driven pages, and it underpins scenario creation, copy, and default parameter setup. As noted in the ETRM metadata, the package is referenced by zero other packages, meaning it is primarily consumed directly by forms, concurrent programs, and custom code rather than through internal package dependencies.

Key Procedures and Functions

The package exposes 21 documented routines, which cluster into several functional groups.

Tables Accessed

The package reads and writes the following tables through APPS synonyms, reflecting its role in scenario and planning administration.

Usage Notes

MSC_SCN_UTILS is typically invoked in three contexts. First, ASCP planning forms and OAF pages call its lookup functions to render scenario names, plan names, owners, versions, statuses, and user lists on scenario and plan administration screens. Second, its concurrent entry points, ARCHIVE_SCN_CONC, PURGE_SCN_CONC, PURGE_PLAN_CONC, and CREATE_SCENARIO, are registered as concurrent programs and run under the concurrent manager, receiving errbuf and retcode to report success or failure. Third, custom extensions and diagnostics invoke the parameter helpers, POPULATE_ACT_PARAMS_FOR_LOV and POPULATE_DEFAULT_PARAMS, when building activity parameter LOVs or defaulting values. Because the package is declared AUTHID CURRENT_USER, privileges are evaluated against the calling user, so it should be referenced from schemas with appropriate grants on the underlying MSC tables. The presence of create_scenario in the search metadata indicates that users investigating scenario creation will find this package as the principal PL/SQL entry point for building scenarios programmatically or through concurrent submission.