Search Results qa_pc_element_relationship
Overview
The QA_PC_ELEMENT_RELATIONSHIP table is a core data structure within the Oracle E-Business Suite (EBS) Quality (QA) module, specifically for versions 12.1.1 and 12.2.2. It serves as the foundational repository for defining and storing hierarchical dependencies between plan elements. In the context of Quality's Plan and Collection (PC) functionality, this table enables the construction of complex, parent-child relationships between characteristics (elements) within a collection plan. This hierarchical modeling is essential for creating structured data entry forms, enforcing conditional logic, and organizing related quality inspection criteria, thereby supporting rigorous quality management processes.
Key Information Stored
The table's primary function is to link a parent characteristic to one or more child characteristics under a specific plan relationship. Its key columns, as indicated by the metadata, are the foreign keys that establish these links. The PLAN_RELATIONSHIP_ID column ties the element relationship to a specific plan context defined in the QA_PC_PLAN_RELATIONSHIP table. The PARENT_CHAR_ID and CHILD_CHAR_ID columns store references to specific characteristic records in the QA_CHARS table, defining the directional link between them. The table's primary key, ELEMENT_RELATIONSHIP_ID, uniquely identifies each parent-child pairing. This structure allows a single parent characteristic to govern multiple children, and a child to be associated with different parents in different plan contexts.
Common Use Cases and Queries
A primary use case is analyzing the structure of a collection plan to understand its inspection hierarchy. For instance, a report showing all child elements for a specific parent characteristic within a plan would be crucial for validation and auditing. Developers often query this table to dynamically render dependent fields on a data entry screen, where the display of a child field is contingent upon the value entered for its parent. A typical SQL pattern retrieves the hierarchical chain:
- SELECT pr.plan_name, pc_parent.char_name AS parent_char, pc_child.char_name AS child_char
- FROM qa_pc_element_relationship er,
- qa_pc_plan_relationship pr,
- qa_chars pc_parent,
- qa_chars pc_child
- WHERE er.plan_relationship_id = pr.plan_relationship_id
- AND er.parent_char_id = pc_parent.char_id
- AND er.child_char_id = pc_child.char_id
- AND pr.plan_id = :p_plan_id;
This query is fundamental for troubleshooting plan configuration and building custom plan documentation.
Related Objects
QA_PC_ELEMENT_RELATIONSHIP is centrally connected to other critical Quality tables. As documented, it has foreign key dependencies to two primary objects. The QA_CHARS table is referenced twice, for both the PARENT_CHAR_ID and CHILD_CHAR_ID, providing the master definition of the characteristics involved. The QA_PC_PLAN_RELATIONSHIP table is referenced via PLAN_RELATIONSHIP_ID, anchoring the element hierarchy to a specific instance of a plan. This table is also likely referenced by various Quality application programming interfaces (APIs) and user interface forms that manage collection plan setup. Its data underpins the runtime behavior of collection plans during transaction inspection.
-
Table: QA_PC_ELEMENT_RELATIONSHIP
12.1.1
owner:QA, object_type:TABLE, fnd_design_data:QA.QA_PC_ELEMENT_RELATIONSHIP, object_name:QA_PC_ELEMENT_RELATIONSHIP, status:VALID, product: QA - Quality , description: This table stores the relationships between parent and child plan elements , implementation_dba_data: QA.QA_PC_ELEMENT_RELATIONSHIP ,
-
Table: QA_PC_ELEMENT_RELATIONSHIP
12.2.2
owner:QA, object_type:TABLE, fnd_design_data:QA.QA_PC_ELEMENT_RELATIONSHIP, object_name:QA_PC_ELEMENT_RELATIONSHIP, status:VALID, product: QA - Quality , description: This table stores the relationships between parent and child plan elements , implementation_dba_data: QA.QA_PC_ELEMENT_RELATIONSHIP ,
-
Lookup Type: QA_PC_ELEMENT_RELATIONSHIP
12.2.2
product: QA - Quality , meaning: Quality Parent Child Element Relationship Type , description: Quality Parent Child Element Relationship Type ,
-
Lookup Type: QA_PC_ELEMENT_RELATIONSHIP
12.1.1
product: QA - Quality , meaning: Quality Parent Child Element Relationship Type , description: Quality Parent Child Element Relationship Type ,
-
APPS.QA_PARENT_CHILD_PKG dependencies on QA_PC_ELEMENT_RELATIONSHIP
12.1.1
-
APPS.QA_PARENT_CHILD_COPY_PKG dependencies on QA_PC_ELEMENT_RELATIONSHIP
12.2.2
-
APPS.QA_SS_PARENT_CHILD_PKG dependencies on QA_PC_ELEMENT_RELATIONSHIP
12.1.1
-
APPS.QA_PC_ELEMENT_REL_PKG dependencies on QA_PC_ELEMENT_RELATIONSHIP
12.2.2
-
APPS.QA_PARENT_CHILD_PKG dependencies on QA_PC_ELEMENT_RELATIONSHIP
12.2.2
-
APPS.QA_PC_ELEMENT_REL_PKG dependencies on QA_PC_ELEMENT_RELATIONSHIP
12.1.1
-
APPS.QA_PARENT_CHILD_COPY_PKG dependencies on QA_PC_ELEMENT_RELATIONSHIP
12.1.1
-
APPS.QA_SS_PARENT_CHILD_PKG dependencies on QA_PC_ELEMENT_RELATIONSHIP
12.2.2
-
APPS.QA_PC_ELEMENT_REL_PKG SQL Statements
12.1.1
-
SYNONYM: APPS.QA_PC_ELEMENT_RELATIONSHIP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QA_PC_ELEMENT_RELATIONSHIP, status:VALID,
-
VIEW: QA.QA_PC_ELEMENT_RELATIONSHIP#
12.2.2
owner:QA, object_type:VIEW, object_name:QA_PC_ELEMENT_RELATIONSHIP#, status:VALID,
-
APPS.QA_PC_ELEMENT_REL_PKG SQL Statements
12.2.2
-
TRIGGER: APPS.QA_PC_ELEMENT_RELATIONSHIP+
12.2.2
-
SYNONYM: APPS.QA_PC_ELEMENT_RELATIONSHIP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QA_PC_ELEMENT_RELATIONSHIP, status:VALID,
-
PACKAGE BODY: APPS.QA_PC_ELEMENT_REL_PKG
12.2.2
-
Table: QA_CHARS
12.1.1
owner:QA, object_type:TABLE, fnd_design_data:QA.QA_CHARS, object_name:QA_CHARS, status:VALID, product: QA - Quality , description: Collection elements definitions , implementation_dba_data: QA.QA_CHARS ,
-
TRIGGER: APPS.QA_PC_ELEMENT_RELATIONSHIP+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:QA_PC_ELEMENT_RELATIONSHIP+, status:VALID,
-
VIEW: QA.QA_PC_ELEMENT_RELATIONSHIP#
12.2.2
-
Table: QA_CHARS
12.2.2
owner:QA, object_type:TABLE, fnd_design_data:QA.QA_CHARS, object_name:QA_CHARS, status:VALID, product: QA - Quality , description: Collection elements definitions , implementation_dba_data: QA.QA_CHARS ,
-
PACKAGE BODY: APPS.QA_PC_ELEMENT_REL_PKG
12.1.1
-
APPS.QA_SS_PARENT_CHILD_PKG dependencies on QA_PC_CRITERIA
12.1.1
-
TABLE: QA.QA_PC_ELEMENT_RELATIONSHIP
12.1.1
owner:QA, object_type:TABLE, fnd_design_data:QA.QA_PC_ELEMENT_RELATIONSHIP, object_name:QA_PC_ELEMENT_RELATIONSHIP, status:VALID,
-
VIEW: APPS.QA_PC_RESULT_COLUMNS_V
12.1.1
-
APPS.QA_SS_PARENT_CHILD_PKG dependencies on QA_PC_CRITERIA
12.2.2
-
APPS.QA_PARENT_CHILD_PKG dependencies on QA_PLAN_CHARS
12.1.1
-
TABLE: QA.QA_PC_ELEMENT_RELATIONSHIP
12.2.2
owner:QA, object_type:TABLE, fnd_design_data:QA.QA_PC_ELEMENT_RELATIONSHIP, object_name:QA_PC_ELEMENT_RELATIONSHIP, status:VALID,
-
VIEW: APPS.QA_PC_RESULT_COLUMNS_V
12.2.2
-
APPS.QA_PC_ELEMENT_REL_PKG dependencies on DUAL
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.QA_PC_ELEMENT_REL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QA_PC_ELEMENT_REL_PKG, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
FUNCTION: APPS.QA_PC_ELEMENT_RELATIONSHIP=
12.2.2
-
APPS.QA_PC_ELEMENT_REL_PKG dependencies on DUAL
12.1.1
-
APPS.QA_PC_ELEMENT_REL_PKG dependencies on QA_PC_ELEMENT_RELATIONSHIP_S
12.1.1
-
APPS.QA_PC_ELEMENT_REL_PKG dependencies on QA_PC_ELEMENT_RELATIONSHIP_S
12.2.2
-
PACKAGE BODY: APPS.QA_PC_ELEMENT_REL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QA_PC_ELEMENT_REL_PKG, status:VALID,
-
FUNCTION: APPS.QA_PC_ELEMENT_RELATIONSHIP=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:QA_PC_ELEMENT_RELATIONSHIP=, status:VALID,
-
APPS.QA_PARENT_CHILD_PKG dependencies on QA_PLAN_CHARS
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
Table: QA_PC_PLAN_RELATIONSHIP
12.2.2
owner:QA, object_type:TABLE, fnd_design_data:QA.QA_PC_PLAN_RELATIONSHIP, object_name:QA_PC_PLAN_RELATIONSHIP, status:VALID, product: QA - Quality , description: This table stores the parent plan id and the child plan id, along with the relation type and a flag to indicate if the child plan is mandatory , implementation_dba_data: QA.QA_PC_PLAN_RELATIONSHIP ,
-
PACKAGE BODY: APPS.QA_PARENT_CHILD_COPY_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QA_PARENT_CHILD_COPY_PKG, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.QA_SS_PARENT_CHILD_PKG dependencies on QA_PC_CRITERIA_PKG
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 FND Design Data
12.1.1