Search Results qa_pc_criteria_columns_v
Overview
QA_PC_CRITERIA_COLUMNS_V is a Quality (QA) module view owned by the APPS schema. It is defined to retrieve all elements that constitute the criteria elements of the current plan. In practical terms, the view resolves the relationship between a parent plan and the characteristics (criteria) attached to it, exposing for each criterion both the runtime form field name and the underlying database column that stores the value. This makes it a metadata bridge: it tells integration and reporting layers which database column corresponds to which user-facing form field for a given plan criterion.
Because the view derives the FORM_FIELD value through a DECODE against the hardcoded column indicator on QA_CHARS and then applies a REPLACE to translate 'CHARACTER' to 'DISPLAY', it provides a presentation-ready label alongside the physical column name. This dual-column output is significant for dynamic form generation, criteria-driven data extraction, and any customization that must map UI-level criterion elements to their storage locations without hardcoding column names.
Underlying Base Objects
The view text is defined over four base objects, all referenced through APPS synonyms in the EBS 12.1.1 and 12.2.2 environments:
- QA_PC_CRITERIA — supplies the CHAR_ID and the PLAN_RELATIONSHIP_ID join key linking a plan relationship to its criteria.
- QA_PC_PLAN_RELATIONSHIP — provides PARENT_PLAN_ID and PLAN_RELATIONSHIP_ID, anchoring each criterion to its parent plan.
- QA_CHARS — supplies HARDCODED_COLUMN, DEVELOPER_NAME, and DATATYPE, which drive the FORM_FIELD derivation and describe the criterion's data type.
- QA_PLAN_CHARS — supplies RESULT_COLUMN_NAME and the CHAR_ID/PLAN_ID join keys that bind a characteristic to a specific plan.
Joins are established on PLAN_RELATIONSHIP_ID between QA_PC_CRITERIA and QA_PC_PLAN_RELATIONSHIP, on CHAR_ID between QA_PLAN_CHARS and QA_CHARS as well as between QA_PLAN_CHARS and QA_PC_CRITERIA, and on PLAN_ID between QA_PLAN_CHARS and PARENT_PLAN_ID from the plan relationship. The net effect is a set of criteria rows scoped to the current (parent) plan.
Key Columns
- PLAN_ID — the parent plan identifier to which the criterion belongs; the scoping key for retrieval.
- CHAR_ID — the characteristic identifier of the criterion element.
- FORM_FIELD — the presentation-layer field name. Computed as REPLACE(DECODE(QC.HARDCODED_COLUMN, NULL, QPC.RESULT_COLUMN_NAME, QC.DEVELOPER_NAME), 'CHARACTER', 'DISPLAY'). When the characteristic is not hardcoded, the result column name is used; otherwise the developer name is used, with 'CHARACTER' substituted by 'DISPLAY'.
- DATABASE_COLUMN — the physical result column name (QPC.RESULT_COLUMN_NAME) where the criterion value is persisted.
- DATATYPE — the declared data type of the characteristic (QC.DATATYPE), indicating whether the criterion is numeric, character, date, or similar.
Common Use Cases and Queries
The view is typically used to discover which columns to select when extracting plan criteria results, and to drive dynamic form or report field generation. A representative query returns all criteria columns for a specific plan:
SELECT plan_id, char_id, form_field, database_column, datatype FROM qa_pc_criteria_columns_v WHERE plan_id = :plan_id;- To filter by data type:
SELECT char_id, form_field, database_column FROM qa_pc_criteria_columns_v WHERE plan_id = :plan_id AND datatype = 'NUMBER'; - To resolve a form field back to its storage column:
SELECT database_column FROM qa_pc_criteria_columns_v WHERE plan_id = :plan_id AND form_field = :field_name;
These patterns support criteria-driven extracts, report builders, and integrations that must remain independent of hardcoded schema column names across EBS releases.
-
View: QA_PC_CRITERIA_COLUMNS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_PC_CRITERIA_COLUMNS_V, object_name:QA_PC_CRITERIA_COLUMNS_V, status:VALID, product: QA - Quality , description: This view is for getting all elements that form the criteria elements of current plan. , implementation_dba_data: APPS.QA_PC_CRITERIA_COLUMNS_V ,
-
View: QA_PC_CRITERIA_COLUMNS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_PC_CRITERIA_COLUMNS_V, object_name:QA_PC_CRITERIA_COLUMNS_V, status:VALID, product: QA - Quality , description: This view is for getting all elements that form the criteria elements of current plan. , implementation_dba_data: APPS.QA_PC_CRITERIA_COLUMNS_V ,
-
12.2.2 FND Design Data
12.2.2
-
SYNONYM: APPS.QA_PC_CRITERIA
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QA_PC_CRITERIA, status:VALID,
-
VIEW: APPS.QA_PC_CRITERIA_COLUMNS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_PC_CRITERIA_COLUMNS_V, object_name:QA_PC_CRITERIA_COLUMNS_V, status:VALID,
-
SYNONYM: APPS.QA_PC_CRITERIA
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QA_PC_CRITERIA, status:VALID,
-
SYNONYM: APPS.QA_PC_PLAN_RELATIONSHIP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QA_PC_PLAN_RELATIONSHIP, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
SYNONYM: APPS.QA_PC_PLAN_RELATIONSHIP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QA_PC_PLAN_RELATIONSHIP, status:VALID,
-
VIEW: APPS.QA_PC_CRITERIA_COLUMNS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QA.QA_PC_CRITERIA_COLUMNS_V, object_name:QA_PC_CRITERIA_COLUMNS_V, status:VALID,
-
SYNONYM: APPS.QA_PLAN_CHARS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QA_PLAN_CHARS, status:VALID,
-
SYNONYM: APPS.QA_CHARS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QA_CHARS, status:VALID,
-
SYNONYM: APPS.QA_PLAN_CHARS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QA_PLAN_CHARS, status:VALID,
-
SYNONYM: APPS.QA_CHARS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QA_CHARS, status:VALID,
-
eTRM - QA Tables and Views
12.1.1
description: Define information on applicability of a collection plan for a Quality Collection transaction ,
-
eTRM - QA Tables and Views
12.2.2
description: Define information on applicability of a collection plan for a Quality Collection transaction ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - QA Tables and Views
12.1.1
description: Define information on applicability of a collection plan for a Quality Collection transaction ,
-
eTRM - QA Tables and Views
12.2.2
description: Define information on applicability of a collection plan for a Quality Collection transaction ,