Search Results gmd_search_replace_vers
Overview
APPS.GMD_SEARCH_REPLACE_VERS is a PL/SQL package belonging to the Oracle Process Manufacturing (OPM) product family within Oracle E-Business Suite. It supports the "search and replace" functional requirement for versioned process manufacturing master data, allowing users to propagate substitutions across dependent recipe, formula, routing, and operation definitions instead of editing each object manually. The package is classified as OTHER in the ETRM repository, indicating that it is an internal utility package rather than a public, documented API with a controlled interface contract. Its validation status is VALID in the APPS schema under both 12.1.1 and 12.2.2.
Because it operates directly on OPM master data tables rather than on interface tables, it is intended for server-side use within the application's own business flows. The package exposes four documented entry points that share a common purpose: creating the new versioned copies of manufacturing objects after a replacement operation has determined what must change.
Key Procedures and Functions
The package documents four procedures or functions:
- CREATE_NEW_FORMULA — creates the new formula (formula header and associated material detail) resulting from a search-and-replace operation.
- CREATE_NEW_RECIPE — creates the new recipe version that carries the replaced specification or material reference.
- CREATE_NEW_ROUTING — creates the new routing header and routing step records for the substituted process.
- CREATE_NEW_OPERATION — creates the new operation definition, including its activity and resource associations, that reflects the replacement.
Each routine is oriented toward versioning: rather than mutating existing master data in place, the package generates new version records. ETRM does not document parameter signatures for these routines, so callers should obtain exact argument lists from the package specification in the target environment before invoking them directly.
Tables Accessed
The package reads and writes the core OPM formula, recipe, and routing tables through APPS synonyms:
- FM_FORM_MST and FM_FORM_MST_B — formula header and its base/translation table, used when constructing replacement formulas.
- FM_MATL_DTL — formula material detail lines, where the actual ingredient or material substitution is recorded.
- FM_ROUT_HDR and FM_ROUT_DTL — routing header and routing detail/step records for the new routing version.
- GMD_OPERATION_ACTIVITIES and GMD_OPERATION_RESOURCES — operation-level activity and resource assignments created or copied during replacement.
- FND_ATTACHED_DOCUMENTS — attachments carried over to the newly created objects.
- FND_DUAL — used for single-row PL/SQL and SQL constructs.
- GEM5_FORMULA_ID_S, GEM5_FORMULALINE_ID_S, GEM5_OPRN_ID_S, GEM5_OPRNLINE_ID_S, GEM5_ROUTING_ID_S, and GEM5_ROUTINGSTEP_ID_S — the OPM sequence objects that supply primary keys for new formula, operation, and routing records.
The dependency on FND_PROFILE reflects the package's use of profile option values to determine application context, such as the current organization or installation settings.
Usage Notes
GMD_SEARCH_REPLACE_VERS is referenced by GMD_CONC_REPLACE_PKG, the concurrent-program-facing package that drives the search-and-replace process. This indicates the standard invocation path: a user submits the OPM search-and-replace concurrent request, the driving package identifies the affected objects, and GMD_SEARCH_REPLACE_VERS performs the versioned creation of formulas, recipes, routings, and operations. The package also references itself, consistent with internal recursive or shared helper logic.
Because it is an internal package rather than a documented public API, direct calls from custom code are not recommended for supported implementations. Where a business requirement demands programmatic replacement, the supported approach is to invoke the concurrent program or its driving package and let GMD_SEARCH_REPLACE_VERS handle object creation within the application's own transaction and validation logic. Direct invocation bypasses expected validations and can leave formula, routing, and operation records inconsistent with the ID sequences and attachment records that the package manages jointly.
-
PACKAGE: APPS.GMD_SEARCH_REPLACE_VERS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GMD_SEARCH_REPLACE_VERS, status:VALID,
-
PACKAGE: APPS.GMD_SEARCH_REPLACE_VERS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GMD_SEARCH_REPLACE_VERS, status:VALID,
-
PACKAGE BODY: APPS.GMD_SEARCH_REPLACE_VERS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GMD_SEARCH_REPLACE_VERS, status:VALID,
-
PACKAGE BODY: APPS.GMD_SEARCH_REPLACE_VERS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GMD_SEARCH_REPLACE_VERS, status:VALID,
-
PACKAGE: APPS.GMD_SEARCH_REPLACE_VERS
12.1.1
-
PACKAGE: APPS.GMD_SEARCH_REPLACE_VERS
12.2.2
-
SYNONYM: APPS.GEM5_ROUTINGSTEP_ID_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GEM5_ROUTINGSTEP_ID_S, status:VALID,
-
SYNONYM: APPS.GEM5_ROUTING_ID_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GEM5_ROUTING_ID_S, status:VALID,
-
SYNONYM: APPS.GEM5_FORMULALINE_ID_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GEM5_FORMULALINE_ID_S, status:VALID,
-
SYNONYM: APPS.GEM5_ROUTING_ID_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GEM5_ROUTING_ID_S, status:VALID,
-
PACKAGE: APPS.GMD_OPERATIONS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GMD_OPERATIONS_PKG, status:VALID,
-
PACKAGE: APPS.GMD_ROUTINGS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GMD_ROUTINGS_PKG, status:VALID,
-
SYNONYM: APPS.GEM5_FORMULA_ID_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GEM5_FORMULA_ID_S, status:VALID,
-
SYNONYM: APPS.GEM5_OPRN_ID_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GEM5_OPRN_ID_S, status:VALID,
-
SYNONYM: APPS.GEM5_OPRNLINE_ID_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GEM5_OPRNLINE_ID_S, status:VALID,
-
PACKAGE: APPS.FM_FORM_MST_MLS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FM_FORM_MST_MLS, status:VALID,
-
SYNONYM: APPS.GMD_RECIPE_VALIDITY_ID_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GMD_RECIPE_VALIDITY_ID_S, status:VALID,
-
SYNONYM: APPS.GEM5_ROUTINGSTEP_ID_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GEM5_ROUTINGSTEP_ID_S, status:VALID,
-
PACKAGE: APPS.GMD_ROUTINGS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GMD_ROUTINGS_PVT, status:VALID,
-
SYNONYM: APPS.GEM5_FORMULALINE_ID_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GEM5_FORMULALINE_ID_S, status:VALID,
-
SYNONYM: APPS.GMD_RECIPE_GENERATION
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GMD_RECIPE_GENERATION, status:VALID,
-
SYNONYM: APPS.GMD_RECIPE_ID_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GMD_RECIPE_ID_S, status:VALID,
-
PACKAGE: APPS.GMD_PROCESS_INSTR_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GMD_PROCESS_INSTR_UTILS, status:VALID,
-
PACKAGE: APPS.GMO_SETUP_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GMO_SETUP_GRP, status:VALID,
-
PACKAGE: APPS.GMD_STATUS_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GMD_STATUS_PUB, status:VALID,
-
SYNONYM: APPS.GMD_RECIPE_VALIDITY_ID_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GMD_RECIPE_VALIDITY_ID_S, status:VALID,
-
SYNONYM: APPS.GEM5_OPRNLINE_ID_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GEM5_OPRNLINE_ID_S, status:VALID,
-
PACKAGE: APPS.GMD_ROUTINGS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GMD_ROUTINGS_PVT, status:VALID,
-
PACKAGE: APPS.GMD_STATUS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GMD_STATUS_PUB, status:VALID,
-
SYNONYM: APPS.GEM5_OPRN_ID_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GEM5_OPRN_ID_S, status:VALID,
-
SYNONYM: APPS.GMD_RECIPE_PROCESS_LOSS_ID_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GMD_RECIPE_PROCESS_LOSS_ID_S, status:VALID,
-
SYNONYM: APPS.GMD_RECIPE_GENERATION
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GMD_RECIPE_GENERATION, status:VALID,
-
SYNONYM: APPS.GMD_RECIPE_ID_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GMD_RECIPE_ID_S, status:VALID,
-
SYNONYM: APPS.GMD_RECIPE_CUSTOMERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GMD_RECIPE_CUSTOMERS, status:VALID,
-
PACKAGE: APPS.GMO_SETUP_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GMO_SETUP_GRP, status:VALID,
-
SYNONYM: APPS.GMD_RECIPE_PROCESS_LOSS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GMD_RECIPE_PROCESS_LOSS, status:VALID,
-
SYNONYM: APPS.GMD_RECIPE_PROCESS_LOSS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GMD_RECIPE_PROCESS_LOSS, status:VALID,
-
SYNONYM: APPS.GMD_RECIPE_PROCESS_LOSS_ID_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GMD_RECIPE_PROCESS_LOSS_ID_S, status:VALID,
-
SYNONYM: APPS.GEM5_FORMULA_ID_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GEM5_FORMULA_ID_S, status:VALID,
-
SYNONYM: APPS.GMD_RECIPE_ORGN_ACTIVITIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GMD_RECIPE_ORGN_ACTIVITIES, status:VALID,
-
PACKAGE: APPS.GMD_OPERATIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GMD_OPERATIONS_PKG, status:VALID,
-
PACKAGE: APPS.GMD_ROUTINGS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GMD_ROUTINGS_PKG, status:VALID,
-
PACKAGE: APPS.FM_FORM_MST_MLS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FM_FORM_MST_MLS, status:VALID,
-
SYNONYM: APPS.GMD_RECIPE_STEP_MATERIALS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GMD_RECIPE_STEP_MATERIALS, status:VALID,
-
PACKAGE: APPS.GMD_RECIPES_MLS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GMD_RECIPES_MLS, status:VALID,
-
PACKAGE: APPS.GMD_RECIPES_MLS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GMD_RECIPES_MLS, status:VALID,
-
SYNONYM: APPS.GMD_RECIPE_CUSTOMERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GMD_RECIPE_CUSTOMERS, status:VALID,
-
PACKAGE: APPS.GMD_RECIPE_GENERATE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GMD_RECIPE_GENERATE, status:VALID,
-
PACKAGE: APPS.GMD_PROCESS_INSTR_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GMD_PROCESS_INSTR_UTILS, status:VALID,
-
PACKAGE: APPS.GMD_RECIPE_GENERATE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GMD_RECIPE_GENERATE, status:VALID,