Search Results additional_attr_validations




Overview

EGO_AG_BULKLOAD_PVT is a private (PVT-classified) PL/SQL package body in the APPS schema that implements the bulk-load processing engine for Oracle E-Business Suite Attribute Groups and Data Levels. Attribute Groups and Data Levels are the extensibility constructs used throughout Oracle Product Information Management and related modules to attach user-defined descriptive flexfield attributes to business entities such as items, catalogs, and organizations. When users or external systems need to load or maintain these attribute definitions in volume, the operations cannot realistically be performed one row at a time through the standard maintenance forms. This package supplies the set-based validation, identifier resolution, construction, and import logic that converts raw staging rows in the interface tables into validated, constructed Attribute Group and Data Level records.

The package operates in a two-stage model. The first stage handles interface-table rows: initialization of control columns, resolution of coded values into surrogate identifiers, and bulk validation against EGO's own configuration and Oracle Application Object Library reference data. The second stage consumes the validated interface rows and constructs the final Attribute Group, Data Level, and Attribute structures prior to import into the base tables.

Key Procedures and Functions

The 39 documented routines fall into four functional clusters.

Tables Accessed

The package reads and writes the EGO interface tables EGO_ATTR_GROUPS_INTERFACE, EGO_ATTR_GROUPS_DL_INTERFACE, and EGO_ATTR_GROUP_COLS_INTF, which hold staging data for attribute groups, their data levels, and their columns. Base-table targets include EGO_ATTR_GROUP_DL, EGO_DATA_LEVEL_B, and EGO_OBJ_AG_ASSOCS_B, which store the persisted data level definitions, base data level rows, and object-to-attribute-group associations. Configuration and object-metadata reads come from EGO_FND_DF_COL_USGS_EXT, EGO_FND_DSC_FLX_CTX_EXT, FND_DESCRIPTIVE_FLEXS, FND_DESCR_FLEX_CONTEXTS_TL, FND_DESCR_FLEX_COLUMN_USAGES, FND_FLEX_VALUE_SETS, FND_COLUMNS, FND_FORM_FUNCTIONS, and FND_APPLICATION. The FND table access supplies flexfield definition and context information, value set validation, column metadata, and application identifiers required to map interface values to valid EGO constructs.

Usage Notes

Because the package is classified as PVT, it is not a supported public API and is invoked internally by the EGO Attribute Group bulk-load concurrent programs and by the EGO maintenance forms that stage data in the interface tables. The standard flow is: rows are inserted into the interface tables (by the forms, an upstream concurrent program, or external integration), INITIALIZE stamps and normalizes them, the value-to-ID and validation routines check them, and the construct and import routines move validated rows into the base tables. Custom code should not call this package directly; integrations should populate the documented interface tables and submit the seeded concurrent program, allowing the package to run under a controlled request context (REQUEST_ID, PROGRAM_ID, SET_PROCESS_ID) so that validation results and process_status values are tracked correctly. Developers extending validation should be aware that ADDITIONAL_ATTR_VALIDATIONS is one of the layered validation hooks, with COMMON_ATTR_VALIDATIONS providing the shared ruleset beneath it.