Search Results msd_cs_definitions_s
Overview
The APPS.MSD_CS_DEFN_LOAD_DATA package body is a data-loading utility within the Oracle E-Business Suite (EBS) applications schema. Its purpose is to load, insert, update, and translate row-level records belonging to the MSD_CS_DEFINITIONS family of tables, which in the MSD (Mobile Supply Chain / production scheduling) data model stores "CS" definition records along with their translations. Rather than presenting an end-user business function directly, this package serves as the programmatic engine that populates the definition tables. It is the kind of loader package typically generated alongside a definition table to support migration, seed data, and localization of the underlying definition set. The Status field is VALID, and the object is owned by APPS with an API classification of OTHER. It is not referenced by any other database object, confirming that it is a top-level loading entry point rather than a shared library routine.
Key Procedures and Functions
The package exposes five documented procedures:
- LOAD_ROW — The primary public entry point. It orchestrates the loading of a single definition row, determining whether the record must be inserted or updated and delegating to the appropriate internal routine.
- DEFN_INSERT_ROW — Performs the physical insert of a new definition row into the base definition table, establishing the primary key identifier used by the other routines.
- DEFN_UPDATE_ROW — Applies updates to an existing definition row when the record already exists.
- TRANSLATE_ROW — Creates or maintains the translated (TL) representation of a definition row so that the definition is available in the appropriate language.
- ADD_LANGUAGE — Ensures that the required language rows exist before translation is performed, tying the loader to the FND_LANGUAGES registry.
Together these procedures implement a standard insert-or-update plus translation pattern. Parameter lists are not documented in the ETRM metadata and are therefore not reproduced here.
Tables Accessed
The package references the following tables through APPS synonyms:
- MSD_CS_DEFINITIONS_S — The sequence table that supplies the surrogate primary key for each new definition row inserted by DEFN_INSERT_ROW.
- MSD_CS_DEFINITIONS — The base definition table holding the primary (untranslated) definition records.
- MSD_CS_DEFINITIONS_TL — The translation table storing language-specific definition text, written by TRANSLATE_ROW and populated on a per-language basis.
- FND_LANGUAGES — Read to validate and register the languages for which translations are created by ADD_LANGUAGE.
- DUAL — Used for single-row selects, constant evaluation, and sequence-related statement framing.
FND_GLOBAL also appears in the dependency list, indicating that the loader relies on session context such as the current user, login, or language established by FND_GLOBAL.
Usage Notes
Because MSD_CS_DEFN_LOAD_DATA is referenced by no other database object, it is intended to be invoked directly rather than called from within other PL/SQL units. Typical invocation patterns for a loader of this type include:
- Concurrent programs — batch jobs that seed or refresh the MSD_CS_DEFINITIONS data set, calling LOAD_ROW once per source record.
- Custom migration scripts — upgrade or data-conversion routines that bulk-load definition rows and their translations during implementation or patch application.
- Form or OAF triggers — user-interface events that add or maintain definition records and their localized text.
When invoking the package, callers should ensure the correct application and language context is initialized via FND_GLOBAL and FND_LANGUAGES before calling LOAD_ROW, so that the sequence-driven insert, update, and translation steps resolve to the intended language and operating unit context. Standard EBS conventions apply: the package runs in the APPS schema, executes with the privileges of its definer, and does not require separate grants to the underlying tables.
-
SEQUENCE: MSD.MSD_CS_DEFINITIONS_S
12.2.2
owner:MSD, object_type:SEQUENCE, object_name:MSD_CS_DEFINITIONS_S, status:VALID,
-
SYNONYM: APPS.MSD_CS_DEFINITIONS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSD_CS_DEFINITIONS_S, status:VALID,
-
SEQUENCE: MSD.MSD_CS_DEFINITIONS_S
12.1.1
owner:MSD, object_type:SEQUENCE, object_name:MSD_CS_DEFINITIONS_S, status:VALID,
-
SYNONYM: APPS.MSD_CS_DEFINITIONS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSD_CS_DEFINITIONS_S, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.MSD_CS_DEFN_LOAD_DATA
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_CS_DEFN_LOAD_DATA, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.MSD_CS_DEFN_LOAD_DATA
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_CS_DEFN_LOAD_DATA, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.MSD_CS_DEFINITIONS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MSD.MSD_CS_DEFINITIONS_VL, object_name:MSD_CS_DEFINITIONS_VL, status:VALID,
-
VIEW: APPS.MSD_CS_DEFINITIONS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MSD.MSD_CS_DEFINITIONS_VL, object_name:MSD_CS_DEFINITIONS_VL, status:VALID,
-
VIEW: APPS.MSD_CS_DEFINITIONS_V1
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MSD.MSD_CS_DEFINITIONS_V1, object_name:MSD_CS_DEFINITIONS_V1, status:VALID,
-
VIEW: APPS.MSD_CS_DEFINITIONS_V1
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MSD.MSD_CS_DEFINITIONS_V1, object_name:MSD_CS_DEFINITIONS_V1, status:VALID,
-
TABLE: MSD.MSD_CS_DEFINITIONS
12.1.1
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_CS_DEFINITIONS, object_name:MSD_CS_DEFINITIONS, status:VALID,
-
TABLE: MSD.MSD_CS_DEFINITIONS
12.2.2
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_CS_DEFINITIONS, object_name:MSD_CS_DEFINITIONS, status:VALID,
-
APPS.MSD_CS_DEFN_LOAD_DATA dependencies on MSD_CS_DEFINITIONS_S
12.1.1
-
APPS.MSD_CS_DEFN_LOAD_DATA dependencies on MSD_CS_DEFINITIONS_S
12.2.2
-
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. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1