Search Results upadate parent and child in oracle
The QA_PC_PLAN_RELATIONSHIP
table in Oracle E-Business Suite (EBS) versions 12.1.1 and 12.2.2 is a critical data structure within the Quality Assurance (QA) module, specifically designed to manage relationships between Quality Plans and their associated components. This table plays a pivotal role in ensuring traceability, compliance, and structured quality control processes within manufacturing, service, and other operational domains supported by Oracle EBS.
### **Purpose and Functional Overview**
The QA_PC_PLAN_RELATIONSHIP
table serves as a junction table that establishes associations between Quality Plans (QA_PLANS
) and their child components, such as inspection criteria, test specifications, or sub-plans. It enables hierarchical structuring of quality processes, allowing organizations to define complex quality workflows where a parent plan may reference multiple child plans or inspection elements. This is particularly useful in industries requiring multi-tiered quality validations, such as pharmaceuticals, automotive, or electronics manufacturing.
### **Key Columns and Data Structure**
The table typically includes the following key columns:
- RELATIONSHIP_ID
: A unique identifier for each relationship record.
- PARENT_PLAN_ID
: References the parent Quality Plan (QA_PLANS.PLAN_ID
).
- CHILD_PLAN_ID
: References the child Quality Plan or component (QA_PLANS.PLAN_ID
or related entity).
- RELATIONSHIP_TYPE
: Defines the nature of the relationship (e.g., "INHERITANCE," "INCLUSION," or "DEPENDENCY").
- SEQUENCE_NUMBER
: Specifies the order in which child components are processed.
- ENABLED_FLAG
: Indicates whether the relationship is active (Y/N).
- CREATION_DATE
, CREATED_BY
, LAST_UPDATE_DATE
, LAST_UPDATED_BY
: Audit columns for tracking changes.
### **Integration with Oracle EBS Modules**
The QA_PC_PLAN_RELATIONSHIP
table integrates with several Oracle EBS modules:
1. **Quality Management (QA):** Forms the backbone for defining inspection plans, where parent plans may aggregate sub-plans for multi-stage inspections (e.g., raw material, in-process, and final inspections).
2. **Process Manufacturing (OPM):** Links quality plans to manufacturing batches, ensuring compliance with predefined quality checkpoints.
3. **Inventory Management (INV):** Associates quality plans with items, enabling automatic quality validations during receipt or transfer.
4. **Work in Process (WIP):** Enforces quality checks at specific production milestones.
### **Business Process Implications**
- **Hierarchical Quality Control:** Organizations can model tiered quality processes (e.g., a top-level "Product Certification" plan referencing sub-plans for "Material Testing" and "Packaging Inspection").
- **Reusability:** Child plans can be reused across multiple parent plans, reducing redundancy.
- **Dynamic Adjustments:** Relationships can be enabled/disabled based on operational needs (e.g., seasonal quality rules).
### **Technical Considerations**
- **Indexing:** The table is typically indexed on PARENT_PLAN_ID
and CHILD_PLAN_ID
for efficient querying.
- **Data Integrity:** Foreign key constraints enforce referential integrity with QA_PLANS
.
- **API Usage:** Oracle provides PL/SQL APIs (e.g., QA_PLANS_PUB
) to programmatically manage relationships, ensuring compliance with business logic.
### **Example Use Case**
A medical device manufacturer defines a parent plan "Final Product Release" with child plans for "Sterility Testing," "Dimensional Checks," and "Label Compliance." The QA_PC_PLAN_RELATIONSHIP
table stores these linkages, ensuring all checks are executed in sequence before product shipment.
### **Conclusion**
The QA_PC_PLAN_RELATIONSHIP
table is a foundational element in Oracle EBS Quality Assurance, enabling scalable, auditable, and flexible quality management. Its design supports complex regulatory requirements while maintaining data integrity and performance, making it indispensable for industries with stringent quality mandates.
-
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 ,
-
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 ,
-
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 ,
-
Table: QA_PC_PLAN_RELATIONSHIP
12.1.1
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 ,
-
Lookup Type: QA_PC_PLAN_RELATIONSHIP
12.1.1
product: QA - Quality , meaning: Quality Plan Relationship Type , description: Quality Plan Relationship Type ,
-
Lookup Type: QA_PC_PLAN_RELATIONSHIP
12.2.2
product: QA - Quality , meaning: Quality Plan Relationship Type , description: Quality Plan Relationship Type ,
-
Lookup Type: QA_PC_COPY_PLAN_TYPE
12.1.1
product: QA - Quality , meaning: Quality Parent Child Copy Plan Type , description: Quality Parent Child Copy Plan Type ,
-
Lookup Type: QA_PC_COPY_PLAN_TYPE
12.2.2
product: QA - Quality , meaning: Quality Parent Child Copy Plan Type , description: Quality Parent Child Copy Plan Type ,
-
Lookup Type: QA_PC_LAYOUT_MODE
12.2.2
product: QA - Quality , meaning: Parent Child Layout Mode , description: Parent Child Layout Mode ,
-
Lookup Type: QA_PC_LAYOUT_MODE
12.1.1
product: QA - Quality , meaning: Parent Child Layout Mode , description: Parent Child Layout Mode ,
-
Lookup Type: QA_PC_DATA_ENTRY_MODE
12.1.1
product: QA - Quality , meaning: Quality Parent Child Data Entry Mode , description: Quality Parent Child Data Entry Mode ,
-
Lookup Type: QA_PC_DATA_ENTRY_MODE
12.2.2
product: QA - Quality , meaning: Quality Parent Child Data Entry Mode , description: Quality Parent Child Data Entry Mode ,
-
View: QA_ERES_PC_RESULTS_REL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_ERES_PC_RESULTS_REL_V, object_name:QA_ERES_PC_RESULTS_REL_V, status:VALID, product: QA - Quality , description: parent child relationships for electronic records , implementation_dba_data: APPS.QA_ERES_PC_RESULTS_REL_V ,
-
View: QA_ERES_PC_RESULTS_REL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_ERES_PC_RESULTS_REL_V, object_name:QA_ERES_PC_RESULTS_REL_V, status:VALID, product: QA - Quality , description: parent child relationships for electronic records , implementation_dba_data: APPS.QA_ERES_PC_RESULTS_REL_V ,
-
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 ,
-
Table: QA_PC_RESULTS_RELATIONSHIP
12.1.1
owner:QA, object_type:TABLE, fnd_design_data:QA.QA_PC_RESULTS_RELATIONSHIP, object_name:QA_PC_RESULTS_RELATIONSHIP, status:VALID, product: QA - Quality , description: This table stores the relationship between two parent and child result rows. , implementation_dba_data: QA.QA_PC_RESULTS_RELATIONSHIP ,
-
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_RESULTS_RELATIONSHIP
12.2.2
owner:QA, object_type:TABLE, fnd_design_data:QA.QA_PC_RESULTS_RELATIONSHIP, object_name:QA_PC_RESULTS_RELATIONSHIP, status:VALID, product: QA - Quality , description: This table stores the relationship between two parent and child result rows. , implementation_dba_data: QA.QA_PC_RESULTS_RELATIONSHIP ,
-
View: QA_PC_RESULTS_RELATIONSHIP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_PC_RESULTS_RELATIONSHIP_V, object_name:QA_PC_RESULTS_RELATIONSHIP_V, status:VALID, product: QA - Quality , description: Parent/child relationship view , implementation_dba_data: APPS.QA_PC_RESULTS_RELATIONSHIP_V ,
-
View: QA_PC_RESULTS_RELATIONSHIP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_PC_RESULTS_RELATIONSHIP_V, object_name:QA_PC_RESULTS_RELATIONSHIP_V, status:VALID, product: QA - Quality , description: Parent/child relationship view , implementation_dba_data: APPS.QA_PC_RESULTS_RELATIONSHIP_V ,
-
View: QA_PC_PLAN_COLUMNS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_PC_PLAN_COLUMNS_V, object_name:QA_PC_PLAN_COLUMNS_V, status:VALID, product: QA - Quality , description: This view will be useful in getting all elements and values from current form so that these can be passed on to child plans. , implementation_dba_data: APPS.QA_PC_PLAN_COLUMNS_V ,
-
View: QA_PC_PLAN_COLUMNS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_PC_PLAN_COLUMNS_V, object_name:QA_PC_PLAN_COLUMNS_V, status:VALID, product: QA - Quality , description: This view will be useful in getting all elements and values from current form so that these can be passed on to child plans. , implementation_dba_data: APPS.QA_PC_PLAN_COLUMNS_V ,
-
Table: QA_PC_CRITERIA
12.1.1
owner:QA, object_type:TABLE, fnd_design_data:QA.QA_PC_CRITERIA, object_name:QA_PC_CRITERIA, status:VALID, product: QA - Quality , description: This table stores criteria for the child plans to be applicable , implementation_dba_data: QA.QA_PC_CRITERIA ,
-
Table: QA_PC_CRITERIA
12.2.2
owner:QA, object_type:TABLE, fnd_design_data:QA.QA_PC_CRITERIA, object_name:QA_PC_CRITERIA, status:VALID, product: QA - Quality , description: This table stores criteria for the child plans to be applicable , implementation_dba_data: QA.QA_PC_CRITERIA ,
-
Lookup Type: QA_TXN_NAME
12.1.1
product: QA - Quality , meaning: QA TXN NAME ,
-
Lookup Type: QA_TXN_NAME
12.2.2
product: QA - Quality , meaning: QA TXN NAME ,
-
View: QA_COLLECTION_PLAN_VIEWS_V
12.1.1
product: QA - Quality , description: Collection Plan Views allow you to query and inspect Quality result data for a particular collection plan in the Quality data repository. , implementation_dba_data: Not implemented in this database ,
-
View: QA_COLLECTION_PLAN_VIEWS_V
12.2.2
product: QA - Quality , description: Collection Plan Views allow you to query and inspect Quality result data for a particular collection plan in the Quality data repository. , implementation_dba_data: Not implemented in this database ,
-
View: QA_SALES_ORDERS_LOV_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_SALES_ORDERS_LOV_V, object_name:QA_SALES_ORDERS_LOV_V, status:VALID, product: QA - Quality , description: Sales Order LOV record group , implementation_dba_data: APPS.QA_SALES_ORDERS_LOV_V ,
-
View: QA_SALES_ORDERS_LOV_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_SALES_ORDERS_LOV_V, object_name:QA_SALES_ORDERS_LOV_V, status:VALID, product: QA - Quality , description: Sales Order LOV record group , implementation_dba_data: APPS.QA_SALES_ORDERS_LOV_V ,
-
View: QA_USER_GROUP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_USER_GROUP_V, object_name:QA_USER_GROUP_V, status:VALID, product: QA - Quality , description: FND user to TCA group association used in data security , implementation_dba_data: APPS.QA_USER_GROUP_V ,
-
View: QA_USER_GROUP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_USER_GROUP_V, object_name:QA_USER_GROUP_V, status:VALID, product: QA - Quality , description: FND user to TCA group association used in data security , implementation_dba_data: APPS.QA_USER_GROUP_V ,
-
File: QA_Dependencies.html
12.2.2
product: QA - Quality , size: 161.881 KBytes , file_type: HTML Report , description: QA_Dependencies.html is an html report that documents dependencies to tables and views in the QA product. ,
-
File: QAProduct_Dependencies.html
12.2.2
product: QA - Quality , size: 25.904 KBytes , file_type: HTML Report , description: QAProduct_Dependencies.html is an html report that documentsexternal dependencies to tables and views in the QA product. ,
-
View: QA_ERES_INTEGRATION_PLANS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_ERES_INTEGRATION_PLANS_V, object_name:QA_ERES_INTEGRATION_PLANS_V, status:VALID, product: QA - Quality , description: Top level plans and collection IDs for electronic records , implementation_dba_data: APPS.QA_ERES_INTEGRATION_PLANS_V ,
-
View: QA_ERES_INTEGRATION_PLANS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_ERES_INTEGRATION_PLANS_V, object_name:QA_ERES_INTEGRATION_PLANS_V, status:VALID, product: QA - Quality , description: Top level plans and collection IDs for electronic records , implementation_dba_data: APPS.QA_ERES_INTEGRATION_PLANS_V ,
-
File: QA_Dependencies.html
12.1.1
product: QA - Quality , size: 163.384 KBytes , file_type: HTML Report , description: QA_Dependencies.html is an html report that documents dependencies to tables and views in the QA product. ,
-
File: QAProduct_Dependencies.html
12.1.1
product: QA - Quality , size: 27.547 KBytes , file_type: HTML Report , description: QAProduct_Dependencies.html is an html report that documentsexternal dependencies to tables and views in the QA product. ,
-
View: QA_PC_RESULT_COLUMNS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_PC_RESULT_COLUMNS_V, object_name:QA_PC_RESULT_COLUMNS_V, status:VALID, product: QA - Quality , description: This view will be useful in dealing with copy relationship or others. , implementation_dba_data: APPS.QA_PC_RESULT_COLUMNS_V ,
-
View: QA_PC_RESULT_COLUMNS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_PC_RESULT_COLUMNS_V, object_name:QA_PC_RESULT_COLUMNS_V, status:VALID, product: QA - Quality , description: This view will be useful in dealing with copy relationship or others. , implementation_dba_data: APPS.QA_PC_RESULT_COLUMNS_V ,
-
View: QA_SPEC_ORG_ASSIGNMENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_SPEC_ORG_ASSIGNMENTS_V, object_name:QA_SPEC_ORG_ASSIGNMENTS_V, status:VALID, product: QA - Quality , description: View used in spec org assignment window , implementation_dba_data: APPS.QA_SPEC_ORG_ASSIGNMENTS_V ,
-
View: QA_SPEC_ORG_ASSIGNMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_SPEC_ORG_ASSIGNMENTS_V, object_name:QA_SPEC_ORG_ASSIGNMENTS_V, status:VALID, product: QA - Quality , description: View used in spec org assignment window , implementation_dba_data: APPS.QA_SPEC_ORG_ASSIGNMENTS_V ,
-
View: QA_HZ_PARTY_RELATIONSHIPS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_HZ_PARTY_RELATIONSHIPS_V, object_name:QA_HZ_PARTY_RELATIONSHIPS_V, status:VALID, product: QA - Quality , description: TCA obsoleted the hz_party_relationships view in R12. This is a replacement to help make the uptake easier. , implementation_dba_data: APPS.QA_HZ_PARTY_RELATIONSHIPS_V ,
-
View: QA_HZ_PARTY_RELATIONSHIPS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_HZ_PARTY_RELATIONSHIPS_V, object_name:QA_HZ_PARTY_RELATIONSHIPS_V, status:VALID, product: QA - Quality , description: TCA obsoleted the hz_party_relationships view in R12. This is a replacement to help make the uptake easier. , implementation_dba_data: APPS.QA_HZ_PARTY_RELATIONSHIPS_V ,
-
File: QA_Tables.html
12.1.1
product: QA - Quality , size: 1.16 MBytes , file_type: HTML Report , description: QA_Tables.html is an html report that documents the table and view definitions for the QA product. ,
-
View: QA_SKIPLOT_RCV_RESULTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_SKIPLOT_RCV_RESULTS_V, object_name:QA_SKIPLOT_RCV_RESULTS_V, status:VALID, product: QA - Quality , description: Skip Lot results for Receiving , implementation_dba_data: APPS.QA_SKIPLOT_RCV_RESULTS_V ,
-
File: QA_Tables.html
12.2.2
product: QA - Quality , size: 1.224 MBytes , file_type: HTML Report , description: QA_Tables.html is an html report that documents the table and view definitions for the QA product. ,
-
View: QA_SKIPLOT_RCV_RESULTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_SKIPLOT_RCV_RESULTS_V, object_name:QA_SKIPLOT_RCV_RESULTS_V, status:VALID, product: QA - Quality , description: Skip Lot results for Receiving , implementation_dba_data: APPS.QA_SKIPLOT_RCV_RESULTS_V ,
-
Table: QA_PLAN_CHAR_ACTION_OUTPUTS
12.1.1
owner:QA, object_type:TABLE, fnd_design_data:QA.QA_PLAN_CHAR_ACTION_OUTPUTS, object_name:QA_PLAN_CHAR_ACTION_OUTPUTS, status:VALID, product: QA - Quality , description: Stores mapping between output variables and collection elements in a plan , implementation_dba_data: QA.QA_PLAN_CHAR_ACTION_OUTPUTS ,
-
Table: QA_PLAN_CHAR_ACTION_OUTPUTS
12.2.2
owner:QA, object_type:TABLE, fnd_design_data:QA.QA_PLAN_CHAR_ACTION_OUTPUTS, object_name:QA_PLAN_CHAR_ACTION_OUTPUTS, status:VALID, product: QA - Quality , description: Stores mapping between output variables and collection elements in a plan , implementation_dba_data: QA.QA_PLAN_CHAR_ACTION_OUTPUTS ,