Search Results msd_sr_util
Overview
MSD_SR_UTIL is a utility package body owned by the APPS schema in Oracle E-Business Suite, classified in the ETRM metadata under the UTIL (utility) API category. It forms part of the Oracle Service / Depot Repair (MSD) utility layer, providing shared helper routines consumed by a broad range of service, order management, shipping, and inventory modules. In EBS 12.1.1 and 12.2.2 it is a foundational, non-transactional utility rather than a business-flow API: it does not drive a single process but centralizes frequently repeated lookups, conversions, and derivations so that callers avoid duplicating SQL against core EBS tables.
The documented object metadata confirms the package is VALID in the APPS schema and that it is referenced by 70 other packages, which underscores its role as a shared dependency. The excerpt also states that MSD_SR_UTIL is not referenced by any database object, confirming it is a top-level utility invoked directly by application code rather than being a callback target.
Key Procedures and Functions
The ETRM documentation lists 60 documented program units. The following are representative of the utility's responsibilities:
- ITEM, ITEM_ORGANIZATION, MASTER_ORGANIZATION — resolve item and organization context, including master organization identification, from inventory parameters and item definitions.
- CUST — returns customer information derived from the HZ party and account model.
- SCHN, SREP — resolve schedule-related data and sales representative references.
- UOM_CONV — performs unit-of-measure conversion using inventory conversion definitions.
- GET_ITEM_COST — retrieves item cost values for service and repair costing.
- CONVERT_GLOBAL_AMT — converts amounts across currencies, typically delegating to GL currency APIs.
- SHIPPED_DATE, BOOKED_DATE — derive shipping and order-booking dates from order and shipping tables.
- LOCATION — resolves a location/address reference from the geography and party-site model.
- GET_EOL_CATEGORY_SET_ID, GET_CONVERSION_TYPE — return configuration identifiers used by downstream logic.
- GET_CUSTOMER_ATTR — retrieves a customer attribute from descriptive flexfield usages.
- GET_NULL_PK, GET_NULL_DESC, GET_ALL_SCS_PK, GET_ALL_SCS_DESC, GET_ALL_GEO_PK — provide null-safe default keys, descriptions, and "all" sets for service/geo lookup lists.
Parameter lists are not reproduced here; callers should consult the live package specification in the target environment.
Tables Accessed
The dependency listing shows MSD_SR_UTIL reading, and occasionally writing, the following APPS-synonym objects:
- MTL_SYSTEM_ITEMS, MTL_SYSTEM_ITEMS_KFV, MTL_PARAMETERS, MTL_UOM_CONVERSIONS — item, organization, and UOM conversion data.
- BOM_BILL_OF_MATERIALS, BOM_INVENTORY_COMPONENTS — bill-of-material structure used in serviceable item logic.
- CSD_REPAIRS, CSD_REPAIR_JOB_XREF, CS_INCIDENTS_ALL_B — depot repair orders and service incidents.
- HZ_CUST_ACCOUNTS, HZ_CUST_ACCT_SITES_ALL, HZ_CUST_SITE_USES_ALL, HZ_PARTIES, HZ_PARTY_SITES — the Trading Community Architecture party and customer model.
- OE_ORDER_HEADERS_ALL, OE_ORDER_LINES_ALL, OE_ORDER_HOLDS_ALL — order and hold context for booked/shipped date derivation.
- WSH_DEPARTURES, WSH_REGIONS_V, WSH_REGION_LOCATIONS, WSH_ZONE_REGIONS — shipping and geographic zone data.
- FND_LOOKUP_VALUES, FND_PROFILE, FND_PRODUCT_GROUPS, FND_DESCR_FLEX_COLUMN_USAGES — flexfield, profile, and setup metadata.
- MSD_APP_INSTANCE_ORGS, MSD_SETUP_PARAMETERS — MSD application setup and organization configuration.
- RA_SALESREPS_ALL, OPI_INV_VAL_SUM_MV, FII_TIME_RPT_STRUCT_V — sales representative, inventory valuation summary, and reporting structure references.
Usage Notes
MSD_SR_UTIL is invoked programmatically by the 70 dependent MSD, CSD, and service-related packages rather than exposed through a single concurrent program or responsibility menu. Typical invocation paths include Depot Repair and service request forms, order and shipping flows that require item, customer, or currency resolution, and custom extensions that need consistent handling of null keys, UOM conversions, and global amount conversion. Because the package depends on FND_PROFILE and MSD_SETUP_PARAMETERS, callers should ensure the correct organization and application context are initialized before invocation. In 12.1.1 and 12.2.2 the package remains an internal utility; it should not be modified or patched directly, and any customer extension should call the public specification routines rather than replace the body.
-
PACKAGE BODY: APPS.MSD_SR_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_SR_UTIL, status:VALID,
-
PACKAGE BODY: APPS.MSD_SR_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_SR_UTIL, status:VALID,
-
PACKAGE: APPS.MSD_SR_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSD_SR_UTIL, status:VALID,
-
PACKAGE: APPS.MSD_SR_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSD_SR_UTIL, status:VALID,
-
eTRM - MSD Tables and Views
12.2.2
description: This is the fact table that stores the UOM conversions information. ,
-
eTRM - MSD Tables and Views
12.1.1
description: This is the fact table that stores the UOM conversions information. ,
-
SYNONYM: APPS.WSH_DEPARTURES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_DEPARTURES, status:VALID,
-
PACKAGE BODY: APPS.MSD_BOM_COLLECTIONS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_BOM_COLLECTIONS, status:VALID,
-
SYNONYM: APPS.MSD_APP_INSTANCE_ORGS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSD_APP_INSTANCE_ORGS, status:VALID,
-
SYNONYM: APPS.WSH_ZONE_REGIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_ZONE_REGIONS, status:VALID,
-
PACKAGE BODY: APPS.MSD_DEM_SR_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_DEM_SR_UTIL, status:VALID,
-
SYNONYM: APPS.WSH_DEPARTURES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WSH_DEPARTURES, status:VALID,
-
SYNONYM: APPS.MSD_APP_INSTANCE_ORGS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSD_APP_INSTANCE_ORGS, status:VALID,
-
PACKAGE BODY: APPS.MSD_BOM_COLLECTIONS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_BOM_COLLECTIONS, status:VALID,
-
PACKAGE BODY: APPS.MSD_COMMON_UTILITIES_LB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_COMMON_UTILITIES_LB, status:VALID,
-
PACKAGE BODY: APPS.MSD_COMMON_UTILITIES_LB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_COMMON_UTILITIES_LB, status:VALID,
-
SYNONYM: APPS.WSH_ZONE_REGIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WSH_ZONE_REGIONS, status:VALID,
-
SYNONYM: APPS.WSH_REGION_LOCATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_REGION_LOCATIONS, status:VALID,
-
PACKAGE BODY: APPS.MSD_DEM_SR_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_DEM_SR_UTIL, status:VALID,
-
SYNONYM: APPS.MSD_SETUP_PARAMETERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSD_SETUP_PARAMETERS, status:VALID,
-
SYNONYM: APPS.WSH_REGION_LOCATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WSH_REGION_LOCATIONS, status:VALID,
-
SYNONYM: APPS.MSD_SETUP_PARAMETERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSD_SETUP_PARAMETERS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.MSD_COLLECT_LEVEL_VALUES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_COLLECT_LEVEL_VALUES, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.MSD_COLLECT_LEVEL_VALUES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_COLLECT_LEVEL_VALUES, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.CSD_REPAIR_JOB_XREF
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSD_REPAIR_JOB_XREF, status:VALID,
-
SYNONYM: APPS.OE_ORDER_HOLDS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_HOLDS_ALL, status:VALID,
-
VIEW: APPS.MSD_SR_CMRO_FCST_MTLREQ_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MSD_SR_CMRO_FCST_MTLREQ_V, status:VALID,
-
VIEW: APPS.MSD_SR_CMRO_PLAN_HIST_V
12.2.2
owner:APPS, object_type:VIEW, object_name:MSD_SR_CMRO_PLAN_HIST_V, status:VALID,
-
VIEW: APPS.MSD_SR_PRD_ORG_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MSD_SR_PRD_ORG_V, status:VALID,
-
VIEW: APPS.MSD_SR_PRD_ORG_V
12.2.2
owner:APPS, object_type:VIEW, object_name:MSD_SR_PRD_ORG_V, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
VIEW: APPS.MSD_SR_CMRO_FIRM_MTLREQ_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MSD_SR_CMRO_FIRM_MTLREQ_V, status:VALID,
-
SYNONYM: APPS.RA_SALESREPS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_SALESREPS_ALL, status:VALID,
-
VIEW: APPS.MSD_SR_LOC_ORG_V
12.2.2
owner:APPS, object_type:VIEW, object_name:MSD_SR_LOC_ORG_V, status:VALID,
-
PACKAGE BODY: APPS.MSD_CL_PRE_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_CL_PRE_PROCESS, status:VALID,
-
VIEW: APPS.MSD_SR_CMRO_FIRM_MTLREQ_V
12.2.2
owner:APPS, object_type:VIEW, object_name:MSD_SR_CMRO_FIRM_MTLREQ_V, status:VALID,
-
VIEW: APPS.MSD_SR_CMRO_FCST_MTLREQ_V
12.2.2
owner:APPS, object_type:VIEW, object_name:MSD_SR_CMRO_FCST_MTLREQ_V, status:VALID,
-
VIEW: APPS.MSD_SR_CMRO_PLAN_HIST_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MSD_SR_CMRO_PLAN_HIST_V, status:VALID,
-
VIEW: APPS.MSD_SR_CMRO_UNPLAN_HIST_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MSD_SR_CMRO_UNPLAN_HIST_V, status:VALID,
-
SYNONYM: APPS.OE_ORDER_HOLDS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_HOLDS_ALL, status:VALID,
-
VIEW: APPS.MSD_SR_CMRO_UNPLAN_HIST_V
12.2.2
owner:APPS, object_type:VIEW, object_name:MSD_SR_CMRO_UNPLAN_HIST_V, status:VALID,
-
SYNONYM: APPS.CSD_REPAIR_JOB_XREF
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSD_REPAIR_JOB_XREF, status:VALID,
-
PACKAGE BODY: APPS.MSD_CL_PRE_PROCESS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_CL_PRE_PROCESS, status:VALID,
-
VIEW: APPS.MSD_SR_ORG_ALL_LB_V
12.2.2
owner:APPS, object_type:VIEW, object_name:MSD_SR_ORG_ALL_LB_V, status:VALID,
-
VIEW: APPS.MSD_SR_LOC_ORG_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MSD_SR_LOC_ORG_V, status:VALID,
-
VIEW: APPS.MSD_SR_SUP_ALL_LB_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MSD_SR_SUP_ALL_LB_V, status:VALID,
-
SYNONYM: APPS.RA_SALESREPS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_SALESREPS_ALL, status:VALID,