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 ,
-
Table: AK_UNIQUE_KEY_COLUMNS
12.1.1
owner:AK, object_type:TABLE, fnd_design_data:AK.AK_UNIQUE_KEY_COLUMNS, object_name:AK_UNIQUE_KEY_COLUMNS, status:VALID, product: AK - Common Modules-AK , description: Links an attribute to a unique key , implementation_dba_data: AK.AK_UNIQUE_KEY_COLUMNS ,
-
Table: AK_FOREIGN_KEYS
12.2.2
owner:AK, object_type:TABLE, fnd_design_data:AK.AK_FOREIGN_KEYS, object_name:AK_FOREIGN_KEYS, status:VALID, product: AK - Common Modules-AK , description: Foreign keys for an object , implementation_dba_data: AK.AK_FOREIGN_KEYS ,
-
Table: AK_UNIQUE_KEY_COLUMNS
12.2.2
owner:AK, object_type:TABLE, fnd_design_data:AK.AK_UNIQUE_KEY_COLUMNS, object_name:AK_UNIQUE_KEY_COLUMNS, status:VALID, product: AK - Common Modules-AK , description: Links an attribute to a unique key , implementation_dba_data: AK.AK_UNIQUE_KEY_COLUMNS ,
-
Table: AK_OBJECTS
12.1.1
owner:AK, object_type:TABLE, fnd_design_data:AK.AK_OBJECTS, object_name:AK_OBJECTS, status:VALID, product: AK - Common Modules-AK , description: Defines an object and the application id of the owner of the object , implementation_dba_data: AK.AK_OBJECTS ,
-
Table: AK_FOREIGN_KEYS
12.1.1
owner:AK, object_type:TABLE, fnd_design_data:AK.AK_FOREIGN_KEYS, object_name:AK_FOREIGN_KEYS, status:VALID, product: AK - Common Modules-AK , description: Foreign keys for an object , implementation_dba_data: AK.AK_FOREIGN_KEYS ,
-
Table: AK_OBJECTS
12.2.2
owner:AK, object_type:TABLE, fnd_design_data:AK.AK_OBJECTS, object_name:AK_OBJECTS, status:VALID, product: AK - Common Modules-AK , description: Defines an object and the application id of the owner of the object , implementation_dba_data: AK.AK_OBJECTS ,
-
View: AK_UNIQUE_KEYS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AK.AK_UNIQUE_KEYS_V, object_name:AK_UNIQUE_KEYS_V, status:VALID, product: AK - Common Modules-AK , description: 10SC ONLY , implementation_dba_data: APPS.AK_UNIQUE_KEYS_V ,
-
View: AK_UNIQUE_KEYS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AK.AK_UNIQUE_KEYS_V, object_name:AK_UNIQUE_KEYS_V, status:VALID, product: AK - Common Modules-AK , description: 10SC ONLY , implementation_dba_data: APPS.AK_UNIQUE_KEYS_V ,
-
View: AK_FOREIGN_KEY_MAPPING_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AK.AK_FOREIGN_KEY_MAPPING_V, object_name:AK_FOREIGN_KEY_MAPPING_V, status:VALID, product: AK - Common Modules-AK , description: 10SC ONLY , implementation_dba_data: APPS.AK_FOREIGN_KEY_MAPPING_V ,
-
View: AK_FOREIGN_KEY_MAPPING_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AK.AK_FOREIGN_KEY_MAPPING_V, object_name:AK_FOREIGN_KEY_MAPPING_V, status:VALID, product: AK - Common Modules-AK , description: 10SC ONLY , implementation_dba_data: APPS.AK_FOREIGN_KEY_MAPPING_V ,
-
View: AK_FOREIGN_KEYS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AK.AK_FOREIGN_KEYS_VL, object_name:AK_FOREIGN_KEYS_VL, status:VALID, product: AK - Common Modules-AK , description: 10SC ONLY , implementation_dba_data: APPS.AK_FOREIGN_KEYS_VL ,
-
View: AK_FOREIGN_KEYS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AK.AK_FOREIGN_KEYS_VL, object_name:AK_FOREIGN_KEYS_VL, status:VALID, product: AK - Common Modules-AK , description: 10SC ONLY , implementation_dba_data: APPS.AK_FOREIGN_KEYS_VL ,