Search Results get_null_pk




Overview

The APPS.MSD_DEM_SR_UTIL package is a utility package within the Oracle EBS Mobile Supply Chain / Demand Planning integration layer. Its name and contents indicate that it belongs to the MSD (Mobile Supply Chain/Demand) product family, and the source header references version 120.2.12000000.3 with a 2007 revision tied to Bug 3509147. The package serves as a centralized helper library that supplies source-instance configuration values, master organization identifiers, unit-of-measure conversion logic, and service-related attribute lookups to other packages in the MSD_DEM family. It is classified as a UTIL package, meaning it exposes no public business-entity API of its own; instead, it provides reusable primitives that higher-level collection and synchronization processes call.

A significant portion of the package retrieves values from source profiles (such as MSD_DEM_CATEGORY_SET_NAME, MSD_DEM_CONVERSION_TYPE, and MSD_DEM_CUSTOMER_ATTRIBUTE) so that downstream programs operate with consistent, centrally maintained configuration rather than hard-coded values. This makes the package the single point of reference for environment-specific settings across the Demand/collection subsystem.

Key Procedures and Functions

The documented interface contains roughly 28 procedures and functions. Core entries include:

Tables Accessed

The package references the following tables through APPS synonyms: MTL_SYSTEM_ITEMS and MTL_PARAMETERS (item master and inventory organization parameters, used by the master-organization and item-rule functions); MTL_UOM_CONVERSIONS (UOM_CONV); MSD_DEM_APP_INSTANCE_ORGS and MSD_DEM_SETUP_PARAMETERS (source-instance configuration and setup); FND_PRODUCT_GROUPS and FND_DESCR_FLEX_COLUMN_USAGES (product group and descriptive flexfield column metadata); OE_ORDER_LINES_ALL (order-line context for configuration and conversion logic); CSD_REPAIR_JOB_XREF and WSH_REGION_LOCATIONS, WSH_ZONE_REGIONS (depot repair linkage and zone/region resolution for service requests).

Usage Notes

MSD_DEM_SR_UTIL is invoked internally by at least seven other packages in the MSD_DEM collection and synchronization stack rather than by end users directly. Its functions are typically called from concurrent collection programs and integration routines that push or pull data between source and destination EBS instances, and from service-request processing logic that needs zone and depot-repair resolution. GET_MASTER_ORGANIZATION is commonly referenced in metadata scripts and custom code that must resolve the source instance's master organization when mapping inventory items across instances. Because the package is a utility and not a public API, direct customization is discouraged; callers should rely on the documented function signatures, and profile-driven configuration should be maintained through the MSD_DEM setup rather than code changes.