Search Results msc_item_pkg
Overview
APPS.MSC_ITEM_PKG is a PL/SQL package in the Oracle E-Business Suite Advanced Supply Chain Planning (ASCP) module. It is declared with AUTHID CURRENT_USER, meaning its procedures execute with the privilege set of the calling user rather than the package owner, which is a standard convention for ASCP planning engine packages invoked from concurrent manager sessions. The package, whose header carries the source identifier MSCHBITS.pls at version 120.8 (dated 2011/05/04), acts as the item-level data management routine for the MSC (Supply Chain Planning) schema. It orchestrates the movement of item inventory and order data between the planning staging tables and the planning fact tables, and supports the export and import of that data across instances — for example, between a source transaction system and a planning server, or between two EBS instances in a supply chain hub configuration.
Key Procedures and Functions
The package exposes seven documented procedures, invoked as concurrent program entry points with the standard errbuf and retcode out parameters:
- POPULATE_DETAILS — Populates detailed planning data for a given plan and plan run. It is the foundational routine that seeds lower-level item details consumed by the summarize and export procedures.
- SUMMARIZE_ITEM_INVENTORY_F — Aggregates inventory level data into the MSC_ITEM_INVENTORY_F planning fact table for a specified plan and run.
- SUMMARIZE_ITEM_ORDERS_F — Aggregates supply and demand order data into the MSC_ITEM_ORDERS_F planning fact table.
- EXPORT_ITEM_INVENTORY_F — Extracts item inventory data for a source transaction ID and plan run, writing it across a database link (p_dblink) to a target instance, tagged with a source version.
- EXPORT_ITEM_ORDERS_F — Performs the equivalent extraction for order data, again across a database link.
- IMPORT_ITEM_INVENTORY_F — Imports previously exported inventory data into the local planning tables. This is the procedure most commonly associated with the search term import_item_inventory_f. It accepts a transaction ID, plan and run identifiers, plan type, plan start and cutoff dates, an upload mode, an overwrite-after date, and a default instance code, which together govern how incoming records are merged and how stale data is replaced.
- IMPORT_ITEM_ORDERS_F — Mirrors the inventory import for order data, using the same controlling parameters.
Tables Accessed
The package references a broad set of ASCP tables via APPS synonyms. MSC_PLANS and MSC_PLAN_RUNS provide plan definition and run context. MSC_ITEM_INVENTORY_F, MSC_ITEM_ORDERS_F, MSC_ST_ITEM_INVENTORY_F, and MSC_ST_ITEM_ORDERS_F are the planning fact and staging tables that are written during summarize and import operations. MSC_INVENTORY_LEVELS and MSC_SAFETY_STOCKS supply on-hand and safety stock inputs, while MSC_DEMANDS and MSC_DEMANDS_F hold demand data. MSC_EXCEPTIONS_F, MSC_FULL_PEGGING, MSC_APCC_ITEM_D, MSC_BIS_INV_DETAIL, and MSC_HUB_QUERY are consulted or updated during detail population and pegging analysis.
Usage Notes
In practice, MSC_ITEM_PKG procedures are registered as concurrent programs and invoked by the ASCP planning manager rather than called interactively. The export and import procedures are central to distributed planning or multi-instance supply chain deployments, where data is staged, transferred over a database link, and merged using the upload mode and overwrite-after-date parameters. Custom code should call these procedures only through a concurrent request or a similarly controlled session, supplying valid plan, run, and transaction identifiers, and should respect the AUTHID CURRENT_USER security model by ensuring the invoking user has the necessary privileges on the referenced MSC tables.
-
PACKAGE: APPS.MSC_ITEM_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ITEM_PKG, status:VALID,
-
PACKAGE: APPS.MSC_ITEM_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ITEM_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_ITEM_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ITEM_PKG, status:VALID,
-
PACKAGE: APPS.MSC_ITEM_PKG
12.1.1
-
PACKAGE BODY: APPS.MSC_ITEM_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ITEM_PKG, status:VALID,
-
PACKAGE: APPS.MSC_ITEM_PKG
12.2.2
-
SYNONYM: APPS.MSC_SUPPLIES_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_SUPPLIES_F, status:VALID,
-
SYNONYM: APPS.MSC_ITEM_INVENTORY_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ITEM_INVENTORY_F, status:VALID,
-
SYNONYM: APPS.MSC_ITEM_ORDERS_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ITEM_ORDERS_F, status:VALID,
-
SYNONYM: APPS.MSC_EXCEPTIONS_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_EXCEPTIONS_F, status:VALID,
-
SYNONYM: APPS.MSC_DEMANDS_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_DEMANDS_F, status:VALID,
-
SYNONYM: APPS.MSC_ITEM_ORDERS_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ITEM_ORDERS_F, status:VALID,
-
SYNONYM: APPS.MSC_ST_ITEM_ORDERS_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ST_ITEM_ORDERS_F, status:VALID,
-
SYNONYM: APPS.MSC_ST_ITEM_INVENTORY_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ST_ITEM_INVENTORY_F, status:VALID,
-
SYNONYM: APPS.MSC_DEMANDS_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_DEMANDS_F, status:VALID,
-
SYNONYM: APPS.MSC_EXCEPTIONS_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_EXCEPTIONS_F, status:VALID,
-
SYNONYM: APPS.MSC_SUPPLIES_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_SUPPLIES_F, status:VALID,
-
SYNONYM: APPS.MSC_WHSE_REQUIREMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_WHSE_REQUIREMENTS, status:VALID,
-
SYNONYM: APPS.MSC_ITEM_INVENTORY_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ITEM_INVENTORY_F, status:VALID,
-
SYNONYM: APPS.MSC_INVENTORY_LEVELS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_INVENTORY_LEVELS, status:VALID,
-
SYNONYM: APPS.MSC_HUB_QUERY_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_HUB_QUERY_S, status:VALID,
-
SYNONYM: APPS.MSC_CALENDAR_DTL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_CALENDAR_DTL, status:VALID,
-
SYNONYM: APPS.MSC_INVENTORY_LEVELS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_INVENTORY_LEVELS, status:VALID,
-
SYNONYM: APPS.MSC_HUB_QUERY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_HUB_QUERY, status:VALID,
-
SYNONYM: APPS.MSC_APCC_ITEM_D
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_APCC_ITEM_D, status:VALID,
-
SYNONYM: APPS.MSC_BIS_INV_DETAIL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_BIS_INV_DETAIL, status:VALID,
-
SYNONYM: APPS.MSC_HUB_QUERY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_HUB_QUERY, status:VALID,
-
PACKAGE: APPS.MSC_HUB_CALENDAR
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_HUB_CALENDAR, status:VALID,
-
SYNONYM: APPS.MSC_BIS_INV_DETAIL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_BIS_INV_DETAIL, status:VALID,
-
PACKAGE: APPS.MSC_PHUB_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_PHUB_UTIL, status:VALID,
-
SYNONYM: APPS.MSC_PLAN_RUNS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_PLAN_RUNS, status:VALID,
-
SYNONYM: APPS.MSC_SAFETY_STOCKS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_SAFETY_STOCKS, status:VALID,
-
SYNONYM: APPS.MSC_SAFETY_STOCKS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_SAFETY_STOCKS, status:VALID,
-
PACKAGE: APPS.MSC_PHUB_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_PHUB_UTIL, status:VALID,
-
SYNONYM: APPS.MSC_FULL_PEGGING
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_FULL_PEGGING, status:VALID,
-
TABLE: APPS.MSC_CURRENCY_CONV_MV
12.2.2
owner:APPS, object_type:TABLE, fnd_design_data:FND.MSC_CURRENCY_CONV_MV MSC.MSC_CURRENCY_CONV_MV, object_name:MSC_CURRENCY_CONV_MV, status:VALID,
-
TABLE: APPS.MSC_CURRENCY_CONV_MV
12.1.1
owner:APPS, object_type:TABLE, fnd_design_data:FND.MSC_CURRENCY_CONV_MV, object_name:MSC_CURRENCY_CONV_MV, status:VALID,
-
TABLE: APPS.MSC_PHUB_FISCAL_PERIODS_MV
12.1.1
owner:APPS, object_type:TABLE, fnd_design_data:FND.MSC_PHUB_FISCAL_PERIODS_MV, object_name:MSC_PHUB_FISCAL_PERIODS_MV, status:VALID,
-
TABLE: APPS.MSC_PHUB_MFG_CAL_WEEKS_MV
12.1.1
owner:APPS, object_type:TABLE, fnd_design_data:FND.MSC_PHUB_MFG_CAL_WEEKS_MV, object_name:MSC_PHUB_MFG_CAL_WEEKS_MV, status:VALID,
-
TABLE: APPS.MSC_PHUB_ITEM_CATEGORIES_MV
12.1.1
owner:APPS, object_type:TABLE, fnd_design_data:FND.MSC_PHUB_ITEM_CATEGORIES_MV, object_name:MSC_PHUB_ITEM_CATEGORIES_MV, status:VALID,
-
SYNONYM: APPS.MSC_FULL_PEGGING
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_FULL_PEGGING, status:VALID,
-
SYNONYM: APPS.MSC_PLAN_BUCKETS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_PLAN_BUCKETS, status:VALID,
-
SYNONYM: APPS.MSC_PLAN_ORGANIZATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_PLAN_ORGANIZATIONS, status:VALID,
-
TABLE: APPS.MSC_PHUB_ITEM_CATEGORIES_MV
12.2.2
owner:APPS, object_type:TABLE, fnd_design_data:FND.MSC_PHUB_ITEM_CATEGORIES_MV MSC.MSC_PHUB_ITEM_CATEGORIES_MV, object_name:MSC_PHUB_ITEM_CATEGORIES_MV, status:VALID,
-
SYNONYM: APPS.MSC_ITEM_SUPPLIERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ITEM_SUPPLIERS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
TABLE: APPS.MSC_PHUB_DATES_MV
12.2.2
owner:APPS, object_type:TABLE, fnd_design_data:MSC.MSC_PHUB_DATES_MV, object_name:MSC_PHUB_DATES_MV, status:VALID,
-
12.2.2 DBA Data
12.2.2