Search Results validate_flex_step_resources




Overview

APPS.GME_VALIDATE_FLEX_FLD_PVT is a private (PVT) PL/SQL package within the Oracle E-Business Suite Process Manufacturing (OPM/GME) product family. It provides the internal infrastructure for validating and populating descriptive flexfield (DFF) attribute columns on the principal Process Manufacturing transactional entities: batch headers, batch steps, step activities, step resources, material details, resource transactions, and process parameters. The package shields calling APIs from the mechanics of resolving flexfield definitions and applying the appropriate validation rules to user-entered attribute values before persistence.

The package header declares several global variables that govern flexfield context resolution at runtime, including pkg_application_short_name, pkg_application_id, pkg_flex_field_name, pkg_flex_enabled, pkg_context_column_name, and pkg_context_required. These are used to identify the owning application and target flexfield, determine whether the flexfield is enabled, and establish whether a context segment is mandatory. The package carries an early header revision (120.3, dated 2006) and was extended over time by targeted bug fixes and feature changes, notably enhancements tracked under Bug#3406639 and Bug#5078853.

Key Procedures and Functions

The package exposes paired validation and creation routines for each supported entity. The validation routines accept an inbound row record and return an updated record along with a return status indicator, signalling success or failure of flexfield validation.

Tables Accessed

The package references the following tables through APPS synonyms:

Usage Notes

GME_VALIDATE_FLEX_FLD_PVT is classified as a private package and is not intended for direct invocation from forms or concurrent programs. It is referenced by approximately ten other packages, which are the public API layer that Process Manufacturing forms, concurrent programs, and external integrations call. Typical callers are the batch, material, resource transaction, and process parameter public APIs, which delegate flexfield handling to this package during record validation and creation.

Custom code should not call this package directly, because its signature and behaviour are subject to change without notice. Developers requiring flexfield validation for OPM entities should invoke the corresponding public API instead. The presence of IN OUT NOCOPY record parameters means callers must supply the full entity row; the package mutates flexfield attribute columns in place and reports outcome through the return status parameter.