Search Results validate_structure_tl




Overview

APPS.GL_CHART_OF_ACCOUNTS_API_PKG is a public PL/SQL API in Oracle E-Business Suite that validates Chart of Accounts information loaded through the iSpeed data migration utility. The package specification declares AUTHID CURRENT_USER, indicating it executes with the privileges of the calling session rather than the definer. Its scope is confined to validation and compilation of Accounting Key Flexfield (id-flex) metadata imported in bulk, rather than to transactional general ledger activity.

The package begins with the header comment $Header: gluvcoas.pls 120.0 2003/01/31 23:40:47 djogg ship $, and its history records creation on 10.09.2000 by O Monnier. The specification exposes a large family of predefined exceptions (for example invalid_dml_mode, flexfield_must_exist, gl_value_set_must_exist, invalid_value, invalid_minimum_maximum, and value_meaning_not_unique) that mirror the validation rules applied across structure, segment, value set, and value records. In ETRM 12.2.2 the package is classified as API type OTHER and is listed as referenced by zero other packages, confirming its role as an entry point invoked by external loaders rather than by other server-side code.

Key Procedures and Functions

The package exposes 13 documented procedures and functions, grouped by the metadata object they validate:

The procedures address a specific rule from the exception list and raise the corresponding predefined exception when validation fails. A user searching for validate_value is therefore directed to VALIDATE_VALUE and VALIDATE_VALUE_TL, which cover the value records in FND_FLEX_VALUES and FND_FLEX_VALUES_TL.

Tables Accessed

The package reads and writes the following tables through APPS synonyms, and the reasons are evident from their ownership:

Usage Notes

GL_CHART_OF_ACCOUNTS_API_PKG is invoked during the iSpeed chart of accounts import process. The loader calls the VALIDATE_* procedures as each type of record (structure, segment, value set, value, qualifier, hierarchy) is staged, and then calls VALIDATE_FINAL_STRUCTURE followed by COMPILE_KEY_FLEXFIELD and COMPILE_HIERARCHY once the structure is complete. Because the package runs with AUTHID CURRENT_USER, the calling session must hold the appropriate privileges on the FND flexfield tables. In 12.2.2 it is documented as referenced by zero other packages, so custom migration code, concurrent program wrappers, or forms-based loaders are the typical callers. When validation fails, the caller should catch the named exception matching the specific procedure and report the associated condition rather than attempting to parse a generic SQL error.