Search Results gme_validate_flex_fld_pvt
Overview
GME_VALIDATE_FLEX_FLD_PVT is a private (PVT) PL/SQL package body owned by the APPS schema in Oracle E-Business Suite. It belongs to the Process Manufacturing (GME) product family and provides the validation and defaulting engine that governs flexible-field (descriptive flexfield) values captured against process manufacturing entities such as batches, batch steps, step activities, step resources, material details, process parameters, and resource transactions.
In Oracle EBS, descriptive flexfields allow customers to add attribute columns to standard GME tables without modifying the underlying data model. Before such attribute values can be persisted, they must be validated against the flexfield definition — checking value-set membership, required flags, security rules, and cross-field dependencies. GME_VALIDATE_FLEX_FLD_PVT encapsulates this logic in one centralized package so that every process manufacturing program that writes flexfield data applies identical validation semantics. The package name carries the classification suffix PVT, indicating it is an internal implementation package intended for use by GME APIs and forms rather than a public integration interface. Its dependencies confirm this role: it references FND_FLEX_APIS, FND_FLEX_DESCVAL, FND_MSG_PUB, FND_API, and FND_PROFILE for flexfield and message infrastructure, together with the GME batch, material, parameter, and resource tables.
Key Procedures and Functions
The ETRM documentation records fourteen documented program units in this package body. They divide naturally into two families: validation routines and creation/defaulting routines.
- VALIDATE_FLEX_BATCH_HEADER — validates descriptive flexfield values entered against the batch header.
- VALIDATE_FLEX_BATCH_STEP — validates flexfield values for an individual batch step.
- VALIDATE_FLEX_STEP_ACTIVITIES — validates flexfield values for batch step activities.
- VALIDATE_FLEX_STEP_RESOURCES — validates flexfield values for resources assigned to a batch step.
- VALIDATE_RSRC_TXN_FLEX — validates flexfield values for resource transactions.
- VALIDATE_FLEX_MATERIAL_DETAILS — validates flexfield values for batch material detail lines.
- VALIDATE_FLEX_PROCESS_PARAM — validates flexfield values for process parameters.
- CREATE_FLEX_BATCH_HEADER — creates/derives the flexfield value record associated with a batch header.
- CREATE_FLEX_MATERIAL_DETAILS — creates flexfield value records for material detail rows.
- CREATE_FLEX_BATCH_STEP — creates flexfield value records for batch steps.
- CREATE_FLEX_STEP_ACTIVITIES — creates flexfield value records for step activities.
- CREATE_FLEX_STEP_RESOURCES — creates flexfield value records for step resources.
- CREATE_FLEX_PROCESS_PARAM — creates flexfield value records for process parameters.
- CREATE_FLEX_RESOURCE_TXNS — creates flexfield value records for resource transactions.
The naming symmetry (a VALIDATE_ and a CREATE_ variant for each entity) reflects a consistent pattern of cross-validating input and then materializing the flexfield row once validation succeeds.
Tables Accessed
Validation and creation routines operate directly on the GME transactional tables, using APPS synonyms resolved through the GME_*_DBL dependent packages:
- GME_BATCH_HEADER — batch master rows carrying batch-header flexfield attributes.
- GME_BATCH_STEPS — step-level rows carrying step flexfield attributes.
- GME_BATCH_STEP_ACTIVITIES — activity rows within a batch step.
- GME_BATCH_STEP_RESOURCES — resource assignments within a batch step.
- GME_MATERIAL_DETAILS — batch material detail (ingredient/consumption) lines.
- GME_PROCESS_PARAMETERS — process parameter definitions and values.
- GME_RESOURCE_TXNS — actual resource transaction records.
- FND_APPLICATION — application registration lookups used to resolve flexfield context and application identifiers.
Reference is made to the RDBMS STANDARD package and to FND_FLEX_APIS, FND_FLEX_DESCVAL, FND_MSG_PUB, and FND_PROFILE for flexfield resolution, message stack handling, and profile option evaluation.
Usage Notes
GME_VALIDATE_FLEX_FLD_PVT is an internal API. It is documented as not being referenced by any database object in the ETRM dependency report, yet the metadata notes it is referenced by ten other packages and it invokes itself recursively for nested structures — indicating use by sibling GME public APIs rather than direct invocation from SQL.
Typical invocation paths include process manufacturing forms (batch maintenance, step and resource entry, material detail maintenance) and concurrent programs or public GME APIs that create or update batch, material, parameter, and resource transaction data. Customizations should not call this package directly; instead, callers should route through the corresponding public GME API, which in turn delegates flexfield validation and creation here. Because the package depends on FND_MSG_PUB and FND_API, error conditions are surfaced through the standard EBS message stack and API return-status conventions. Behavior is identical across Oracle EBS 12.1.1 and 12.2.2; the 12.2.2 ETRM metadata confirms the package remains status VALID in the APPS schema.
-
SYNONYM: APPS.GME_PROCESS_PARAMETERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GME_PROCESS_PARAMETERS, status:VALID,
-
PACKAGE BODY: APPS.GME_VALIDATE_FLEX_FLD_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GME_VALIDATE_FLEX_FLD_PVT, status:VALID,
-
PACKAGE BODY: APPS.GME_VALIDATE_FLEX_FLD_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GME_VALIDATE_FLEX_FLD_PVT, status:VALID,
-
PACKAGE: APPS.GME_VALIDATE_FLEX_FLD_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GME_VALIDATE_FLEX_FLD_PVT, status:VALID,
-
PACKAGE: APPS.GME_VALIDATE_FLEX_FLD_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GME_VALIDATE_FLEX_FLD_PVT, status:VALID,
-
SYNONYM: APPS.GME_PROCESS_PARAMETERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GME_PROCESS_PARAMETERS, status:VALID,
-
SYNONYM: APPS.GME_RESOURCE_TXNS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GME_RESOURCE_TXNS, status:VALID,
-
SYNONYM: APPS.GME_RESOURCE_TXNS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GME_RESOURCE_TXNS, status:VALID,
-
SYNONYM: APPS.GME_BATCH_STEP_ACTIVITIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GME_BATCH_STEP_ACTIVITIES, status:VALID,
-
SYNONYM: APPS.GME_BATCH_STEP_ACTIVITIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GME_BATCH_STEP_ACTIVITIES, status:VALID,
-
SYNONYM: APPS.GME_BATCH_STEP_RESOURCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GME_BATCH_STEP_RESOURCES, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.GME_INSERT_STEP_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GME_INSERT_STEP_PVT, status:VALID,
-
PACKAGE: APPS.GME_PROCESS_PARAMETERS_DBL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GME_PROCESS_PARAMETERS_DBL, status:VALID,
-
PACKAGE BODY: APPS.GME_RELEASE_BATCH_STEP_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GME_RELEASE_BATCH_STEP_PVT, status:VALID,
-
SYNONYM: APPS.GME_BATCH_STEP_RESOURCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GME_BATCH_STEP_RESOURCES, status:VALID,
-
PACKAGE: APPS.GME_BATCH_STEP_ACTIVITIES_DBL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GME_BATCH_STEP_ACTIVITIES_DBL, status:VALID,
-
PACKAGE BODY: APPS.GME_PROCESS_PARAMETERS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GME_PROCESS_PARAMETERS_PVT, status:VALID,
-
PACKAGE: APPS.GME_BATCH_STEP_RESOURCES_DBL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GME_BATCH_STEP_RESOURCES_DBL, status:VALID,
-
PACKAGE: APPS.GME_PROCESS_PARAMETERS_DBL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GME_PROCESS_PARAMETERS_DBL, status:VALID,
-
PACKAGE: APPS.GME_RESOURCE_TXNS_DBL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GME_RESOURCE_TXNS_DBL, status:VALID,
-
PACKAGE: APPS.GME_RESOURCE_TXNS_DBL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GME_RESOURCE_TXNS_DBL, status:VALID,
-
PACKAGE: APPS.GME_BATCH_STEPS_DBL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GME_BATCH_STEPS_DBL, status:VALID,
-
PACKAGE: APPS.GME_BATCH_STEP_ACTIVITIES_DBL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GME_BATCH_STEP_ACTIVITIES_DBL, status:VALID,
-
PACKAGE: APPS.GME_MATERIAL_DETAILS_DBL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GME_MATERIAL_DETAILS_DBL, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.GME_BATCHSTEP_RSRC_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GME_BATCHSTEP_RSRC_PVT, status:VALID,
-
PACKAGE: APPS.GME_BATCH_STEP_RESOURCES_DBL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GME_BATCH_STEP_RESOURCES_DBL, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.GME_PROCESS_PARAMETERS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GME_PROCESS_PARAMETERS_PVT, status:VALID,
-
PACKAGE BODY: APPS.GME_BATCHSTEP_ACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GME_BATCHSTEP_ACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.GME_RELEASE_BATCH_STEP_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GME_RELEASE_BATCH_STEP_PVT, status:VALID,
-
PACKAGE BODY: APPS.GME_BATCHSTEP_RSRC_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GME_BATCHSTEP_RSRC_PVT, status:VALID,
-
SYNONYM: APPS.GME_BATCH_STEPS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GME_BATCH_STEPS, status:VALID,
-
PACKAGE: APPS.GME_VALIDATE_FLEX_FLD_PVT
12.2.2
-
PACKAGE BODY: APPS.GME_INSERT_STEP_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GME_INSERT_STEP_PVT, status:VALID,
-
PACKAGE BODY: APPS.GME_RELEASE_BATCH_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GME_RELEASE_BATCH_PVT, status:VALID,
-
PACKAGE BODY: APPS.GME_BATCHSTEP_ACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GME_BATCHSTEP_ACT_PVT, status:VALID,
-
PACKAGE: APPS.GME_VALIDATE_FLEX_FLD_PVT
12.1.1
-
SYNONYM: APPS.GME_BATCH_STEPS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GME_BATCH_STEPS, status:VALID,
-
PACKAGE BODY: APPS.GME_MATERIAL_DETAIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GME_MATERIAL_DETAIL_PVT, status:VALID,
-
SYNONYM: APPS.GME_MATERIAL_DETAILS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GME_MATERIAL_DETAILS, status:VALID,
-
SYNONYM: APPS.GME_MATERIAL_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GME_MATERIAL_DETAILS, status:VALID,
-
PACKAGE BODY: APPS.GME_RESOURCE_ENGINE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GME_RESOURCE_ENGINE_PVT, status:VALID,
-
PACKAGE: APPS.GME_MATERIAL_DETAILS_DBL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GME_MATERIAL_DETAILS_DBL, status:VALID,
-
PACKAGE: APPS.GME_BATCH_HEADER_DBL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GME_BATCH_HEADER_DBL, status:VALID,
-
PACKAGE BODY: APPS.GME_RESOURCE_ENGINE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GME_RESOURCE_ENGINE_PVT, status:VALID,
-
PACKAGE BODY: APPS.GME_RELEASE_BATCH_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GME_RELEASE_BATCH_PVT, status:VALID,
-
PACKAGE: APPS.GME_BATCH_STEPS_DBL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GME_BATCH_STEPS_DBL, status:VALID,