Search Results ak_unique_keys
Overview
The AK_UNIQUE_KEYS table is a core metadata repository within the Oracle E-Business Suite (EBS) Application Object Library (AK), specifically the Common Modules-AK product. It serves as the central definitional store for unique key constraints associated with application objects registered in the system. This table is fundamental to the AK module's framework, which manages the definition, validation, and relationships of flexfields, descriptive flexfields, and other application metadata objects. Its primary role is to enforce and maintain data integrity rules at the metadata level, ensuring that the uniqueness constraints defined for business objects are systematically cataloged and can be programmatically enforced and referenced by other framework components.
Key Information Stored
The table stores the defining attributes of a unique key constraint. While the full column list is not detailed in the provided metadata, the structure can be inferred from the primary and foreign key relationships. The central column is UNIQUE_KEY_NAME, which serves as the primary identifier for the constraint. A critical foreign key column is DATABASE_OBJECT_NAME, which links the unique key to its parent object definition in the AK_OBJECTS table. This establishes which application object (e.g., a flexfield) the constraint belongs to. Other columns, implied by related tables, would store metadata such as the enabled status of the constraint and potentially a description.
Common Use Cases and Queries
This table is primarily accessed by the EBS framework itself during application runtime for metadata validation and dependency management. Common administrative and development use cases include auditing the uniqueness rules defined across application objects and troubleshooting metadata issues. A typical query would join to AK_OBJECTS to list all unique keys for a specific object or module.
- Listing Unique Keys for an Object:
SELECT uk.unique_key_name FROM ak_unique_keys uk, ak_objects ao WHERE uk.database_object_name = ao.database_object_name AND ao.object_name = '&OBJECT_NAME'; - Identifying Dependencies: Before modifying or deleting an object definition, developers can query this table to check for dependent unique key constraints that must be addressed.
Related Objects
The AK_UNIQUE_KEYS table is a pivotal node in the AK metadata schema, with several key dependencies as outlined in the ETRM data.
- AK_OBJECTS: The parent table. The DATABASE_OBJECT_NAME foreign key defines the object to which the unique key belongs.
- AK_UNIQUE_KEY_COLUMNS: A child table that defines the specific columns or attributes that constitute the unique key. There is a one-to-many relationship from a key definition to its component columns.
- AK_FOREIGN_KEYS: Another child table. The unique keys defined here are referenced by foreign key constraints, establishing relationships between different application objects within the AK framework.
-
Table: AK_UNIQUE_KEYS
12.2.2
owner:AK, object_type:TABLE, fnd_design_data:AK.AK_UNIQUE_KEYS, object_name:AK_UNIQUE_KEYS, status:VALID, product: AK - Common Modules-AK , description: Unique keys for an object , implementation_dba_data: AK.AK_UNIQUE_KEYS ,
-
Table: AK_UNIQUE_KEYS
12.1.1
owner:AK, object_type:TABLE, fnd_design_data:AK.AK_UNIQUE_KEYS, object_name:AK_UNIQUE_KEYS, status:VALID, product: AK - Common Modules-AK , description: Unique keys for an object , implementation_dba_data: AK.AK_UNIQUE_KEYS ,
-
APPS.AK_OBJECT2_PVT dependencies on AK_UNIQUE_KEYS
12.1.1
-
APPS.AK_UNIQUE_KEYS_PKG dependencies on AK_UNIQUE_KEYS
12.1.1
-
APPS.AK_KEY_PVT dependencies on AK_UNIQUE_KEYS
12.2.2
-
APPS.AK_OBJECT3_PVT dependencies on AK_UNIQUE_KEYS
12.2.2
-
APPS.AK_UNIQUE_KEYS_PKG dependencies on AK_UNIQUE_KEYS
12.2.2
-
APPS.AK_FLOW3_PVT dependencies on AK_UNIQUE_KEYS
12.2.2
-
APPS.OE_DEFAULTING_FWK_PUB dependencies on AK_UNIQUE_KEYS
12.2.2
-
APPS.JTF_AK_QUERY dependencies on AK_UNIQUE_KEYS
12.2.2
-
APPS.AK_QUERY_PKG dependencies on AK_UNIQUE_KEYS
12.1.1
-
APPS.AK_FLOW3_PVT dependencies on AK_UNIQUE_KEYS
12.1.1
-
APPS.AK_KEY_PVT dependencies on AK_UNIQUE_KEYS
12.1.1
-
APPS.AK_OBJECT_PVT dependencies on AK_UNIQUE_KEYS
12.1.1
-
APPS.OE_DEFAULTING_FWK_PUB dependencies on AK_UNIQUE_KEYS
12.1.1
-
APPS.AK_QUERY_PKG dependencies on AK_UNIQUE_KEYS
12.2.2
-
APPS.JTF_AK_QUERY dependencies on AK_UNIQUE_KEYS
12.1.1
-
APPS.AK_ATTRIBUTES2_PKG dependencies on AK_UNIQUE_KEYS
12.1.1
-
APPS.AK_OBJECT3_PVT dependencies on AK_UNIQUE_KEYS
12.1.1
-
APPS.AK_OBJECT_PVT dependencies on AK_UNIQUE_KEYS
12.2.2
-
APPS.AK_ATTRIBUTES2_PKG dependencies on AK_UNIQUE_KEYS
12.2.2
-
APPS.AK_OBJECT2_PVT dependencies on AK_UNIQUE_KEYS
12.2.2
-
APPS.OE_DEFAULTING_FWK_PUB dependencies on AK_UNIQUE_KEY_COLUMNS
12.1.1
-
VIEW: AK.AK_UNIQUE_KEYS#
12.2.2
owner:AK, object_type:VIEW, object_name:AK_UNIQUE_KEYS#, status:VALID,
-
APPS.AK_FLOW3_PVT dependencies on AK_FOREIGN_KEYS
12.2.2
-
APPS.AK_FLOW3_PVT dependencies on AK_FOREIGN_KEYS
12.1.1
-
APPS.OE_DEFAULTING_FWK_PUB dependencies on AK_FOREIGN_KEYS
12.1.1
-
APPS.OE_DEFAULTING_FWK_PUB dependencies on AK_FOREIGN_KEYS
12.2.2
-
APPS.AK_UNIQUE_KEYS_PKG SQL Statements
12.1.1
-
APPS.OE_DEFAULTING_FWK_PUB dependencies on AK_UNIQUE_KEY_COLUMNS
12.2.2
-
APPS.AK_UNIQUE_KEYS_PKG SQL Statements
12.2.2
-
VIEW: APPS.OE_PC_FKEYS_V
12.1.1
-
VIEW: APPS.OE_PC_FKEYS_V
12.2.2
-
TRIGGER: APPS.AK_UNIQUE_KEYS+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:AK_UNIQUE_KEYS+, status:VALID,
-
VIEW: APPS.AK_UNIQUE_KEYS_V
12.1.1
-
VIEW: APPS.OE_PC_UKEY_COLS_V
12.1.1
-
VIEW: APPS.OE_DEF_AK_FKEYS_V
12.1.1
-
VIEW: APPS.OE_DEF_AK_FKEYS_V
12.2.2
-
APPS.AK_OBJECT2_PVT dependencies on AK_UNIQUE_KEY_COLUMNS
12.2.2
-
VIEW: AK.AK_UNIQUE_KEYS#
12.2.2
-
SYNONYM: APPS.AK_UNIQUE_KEYS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AK_UNIQUE_KEYS, status:VALID,
-
APPS.AK_OBJECT2_PVT dependencies on AK_UNIQUE_KEY_COLUMNS
12.1.1
-
APPS.AK_FLOW3_PVT dependencies on AK_REGIONS
12.1.1
-
VIEW: APPS.AK_UNIQUE_KEYS_V
12.2.2
-
SYNONYM: APPS.AK_UNIQUE_KEYS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AK_UNIQUE_KEYS, status:VALID,
-
TRIGGER: APPS.AK_UNIQUE_KEYS+
12.2.2
-
PACKAGE BODY: APPS.AK_UNIQUE_KEYS_PKG
12.1.1
-
VIEW: APPS.OE_PC_FKEY_COLS_V
12.1.1
-
VIEW: APPS.OE_PC_UKEY_COLS_V
12.2.2
-
APPS.AK_ON_OBJECTS_PVT dependencies on AD_ZD_SEED
12.2.2