Search Results oe_pc_validation_pkgs
Overview
The OE_PC_VALIDATION_PKGS table is a core repository within the Oracle E-Business Suite (EBS) Order Management (ONT) module, specifically for versions 12.1.1 and 12.2.2. Its primary function is to store metadata that links business entities and validation templates to dynamically generated PL/SQL validation packages. These packages are created by the system to enforce complex, user-defined constraints and business rules during order entry and processing. The table acts as a critical lookup mechanism, enabling the Order Management engine to locate and execute the appropriate procedural validation logic for a given entity and rule set, thereby ensuring data integrity and compliance with configured business policies.
Key Information Stored
The table's structure is designed to map validation logic to specific entities and contexts. Its key columns, as defined by its primary key and foreign key relationships, are:
- VALIDATING_ENTITY_ID: A foreign key to OE_AK_OBJECTS_EXT, this column identifies the primary business object or entity (e.g., a line type, order type) that is being validated.
- VALIDATION_ENTITY_ID: This serves a dual role. It is a foreign key to both OE_AK_OBJECTS_EXT and OE_PC_VTMPLTS. It identifies the specific validation entity or template that defines the rules to be applied against the validating entity.
- VALIDATION_TMPLT_ID: Works in conjunction with VALIDATION_ENTITY_ID to pinpoint the exact validation template.
- RECORD_SET_ID: A foreign key to OE_PC_RSETS, this column links to a defined record set, which groups specific records of the validating entity for batch or targeted validation processing.
The combination of these columns uniquely identifies a specific, dynamically generated PL/SQL package name stored by the system.
Common Use Cases and Queries
This table is primarily accessed for diagnostic, administrative, and enhancement purposes within the Order Management technical stack. A common scenario involves troubleshooting the failure of a custom constraint by identifying the associated validation package for analysis or debugging. Developers may also query this table when extending validation logic to understand existing integrations. A typical investigative query would join to related metadata tables:
SELECT vp.VALIDATING_ENTITY_ID, obj1.NAME VALIDATING_ENTITY, vp.VALIDATION_ENTITY_ID, obj2.NAME VALIDATION_ENTITY, vp.VALIDATION_TMPLT_ID, vp.RECORD_SET_ID FROM ONT.OE_PC_VALIDATION_PKGS vp, ONT.OE_AK_OBJECTS_EXT obj1, ONT.OE_AK_OBJECTS_EXT obj2 WHERE vp.VALIDATING_ENTITY_ID = obj1.OBJECT_ID(+) AND vp.VALIDATION_ENTITY_ID = obj2.OBJECT_ID(+) AND obj1.NAME = '<Your_Entity_Name>';
Direct data manipulation in this table is rare, as entries are typically created and managed by the application's constraint definition forms and underlying engine.
Related Objects
OE_PC_VALIDATION_PKGS is centrally connected to several key metadata tables in Order Management, forming the backbone of the procedural constraint validation framework.
- OE_AK_OBJECTS_EXT: Provides the descriptive names and definitions for the entities stored in both the VALIDATING_ENTITY_ID and VALIDATION_ENTITY_ID columns.
- OE_PC_VTMPLTS (Validation Templates): Stores the definition of the validation rules themselves, linked via VALIDATION_ENTITY_ID and VALIDATION_TMPLT_ID.
- OE_PC_RSETS (Record Sets): Defines the grouping of records for validation, linked via the RECORD_SET_ID column.
The dynamically generated packages whose names are referenced in this table are typically executed by the core Order Management validation engine and are integral to the functionality of the Constraints Manager.
-
Table: OE_PC_VALIDATION_PKGS
12.2.2
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_PC_VALIDATION_PKGS, object_name:OE_PC_VALIDATION_PKGS, status:VALID, product: ONT - Order Management , description: This table stores the names of the dynamically generated constraints validation packages. , implementation_dba_data: ONT.OE_PC_VALIDATION_PKGS ,
-
Table: OE_PC_VALIDATION_PKGS
12.1.1
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_PC_VALIDATION_PKGS, object_name:OE_PC_VALIDATION_PKGS, status:VALID, product: ONT - Order Management , description: This table stores the names of the dynamically generated constraints validation packages. , implementation_dba_data: ONT.OE_PC_VALIDATION_PKGS ,
-
Table: OE_AK_OBJECTS_EXT
12.2.2
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_AK_OBJECTS_EXT, object_name:OE_AK_OBJECTS_EXT, status:VALID, product: ONT - Order Management , description: Extension tables to AK_OBJECTS which is used to store additional data , implementation_dba_data: ONT.OE_AK_OBJECTS_EXT ,
-
Table: OE_AK_OBJECTS_EXT
12.1.1
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_AK_OBJECTS_EXT, object_name:OE_AK_OBJECTS_EXT, status:VALID, product: ONT - Order Management , description: Extension tables to AK_OBJECTS which is used to store additional data , implementation_dba_data: ONT.OE_AK_OBJECTS_EXT ,
-
Table: OE_PC_VTMPLTS
12.1.1
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_PC_VTMPLTS, object_name:OE_PC_VTMPLTS, status:VALID, product: ONT - Order Management , description: This table stores the constraint validation templates that are used in constraint conditions. , implementation_dba_data: ONT.OE_PC_VTMPLTS ,
-
Table: OE_PC_VTMPLTS
12.2.2
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_PC_VTMPLTS, object_name:OE_PC_VTMPLTS, status:VALID, product: ONT - Order Management , description: This table stores the constraint validation templates that are used in constraint conditions. , implementation_dba_data: ONT.OE_PC_VTMPLTS ,
-
Table: OE_PC_RSETS
12.2.2
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_PC_RSETS, object_name:OE_PC_RSETS, status:VALID, product: ONT - Order Management , description: This table store the constraint record sets and the constraint conditions can be built to validate against any or all the records in this record set. , implementation_dba_data: ONT.OE_PC_RSETS ,
-
Table: OE_PC_RSETS
12.1.1
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_PC_RSETS, object_name:OE_PC_RSETS, status:VALID, product: ONT - Order Management , description: This table store the constraint record sets and the constraint conditions can be built to validate against any or all the records in this record set. , implementation_dba_data: ONT.OE_PC_RSETS ,