Search Results qc_tran_vw2
Overview
QC_TRAN_VW2 is a read-only database view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the GMD (Process Manufacturing Product Development) product family. Its documented purpose is a where-used view: it reports the transactional lineage of material and lot movements, identifying for a given source item/lot the corresponding target item/lot and the documents through which that relationship was created. The view is therefore oriented toward genealogy, batch traceability, and quality-driven investigation rather than toward transactional data entry.
In EBS 12.1.1 and 12.2.2 the object retains the same owner and definition; the 12.2.2 documented metadata lists it as VALID with the same referenced base objects. Because it is a view and not a table, it carries no storage of its own, and it is typically consumed by reports, inquiries, and custom SQL that need to reconcile production, process order, and inventory adjustment activity in a single result set.
Underlying Base Objects
Per the documented metadata, QC_TRAN_VW2 is defined over six referenced base objects:
- IC_TRAN_VW1 (VIEW) — the inventory transaction view supplying item, lot, transaction quantity, UOM, and document context.
- IC_TRAN_PND (SYNONYM) — pending inventory transactions, providing the transaction identifier and status fields.
- PM_MATL_DTL (SYNONYM) — process material detail lines, used twice in the view (aliased C and D) to distinguish the source line and the target line.
- PM_BTCH_HDR (SYNONYM) — batch header, supplying the batch number exposed as DOC_NO.
- OP_ORDR_DTL and OP_ORDR_HDR (SYNONYMS) — process order detail and header, used for the process-order branch of the union.
The view text is a three-branch UNION. The first branch joins IC_TRAN_VW1 to IC_TRAN_PND, PM_MATL_DTL (twice), and PM_BTCH_HDR for DOC_TYPE 'PROD', restricting the source material line to LINE_TYPE = -1 and the target line to LINE_TYPE IN (1, 2). The second branch covers DOC_TYPE 'OPSO' (process orders) via OP_ORDR_DTL and OP_ORDR_HDR. The third branch covers negative-quantity inventory adjustments (DOC_TYPE IN ('ADJI','ADJR')), where the source and target item/lot collapse to the same values and LINE_TYPE is hard-coded to -1.
Key Columns
- ITEM_ID / LOT_ID — the source item and lot at the origin of the movement.
- TARGET_ITEM_ID / TARGET_LOT_ID — the destination item and lot; equal to the source values in the adjustment branch.
- DOC_TYPE / DOC_ID / DOC_LINE / DOC_NO — the document classification, internal key, line number, and the human-readable document number (batch number for PROD records).
- LINE_ID / LINE_TYPE — the material detail line identity and its role in the genealogy.
- TRANS_QTY / TRANS_QTY2 / TRANS_UM / TRANS_UM2 — transaction quantities and units of measure in primary and secondary UOMs.
- TRANS_ID / TRANS_DATE / TRANS_STAT — transaction identity, effective date, and status.
- COMPLETED_IND / CREATION_DATE — completion flag and record creation timestamp.
- OP_CODE / ORGN_CODE / WHSE_CODE / LOCATION / REASON_CODE / TEXT_CODE — operation, organization, warehouse, location, reason, and text codes providing execution context.
Common Use Cases and Queries
The view is commonly used to trace where a component lot was consumed into a parent batch, to reconcile pending and completed transactions across production and process orders, and to include negative inventory adjustments in traceability reporting.
Typical query pattern:
- SELECT item_id, lot_id, target_item_id, target_lot_id, doc_type, doc_no, trans_qty, trans_um FROM apps.qc_tran_vw2 WHERE lot_id = :lot_id;
- SELECT * FROM apps.qc_tran_vw2 WHERE doc_type = 'PROD' AND doc_id = :batch_id ORDER BY trans_date;
Because the view joins several transaction-level objects and uses DISTINCT, filtering on ITEM_ID, LOT_ID, DOC_ID, or DOC_TYPE is recommended to keep execution plans efficient. As a view, it is read-only and should be queried rather than modified.
-
View: QC_TRAN_VW2
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:GMD.QC_TRAN_VW2, object_name:QC_TRAN_VW2, status:VALID, product: GMD - Process Manufacturing Product Development , description: Where-used view. , implementation_dba_data: APPS.QC_TRAN_VW2 ,
-
View: QC_TRAN_VW2
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:GMD.QC_TRAN_VW2, object_name:QC_TRAN_VW2, status:VALID, product: GMD - Process Manufacturing Product Development , description: Where-used view. , implementation_dba_data: APPS.QC_TRAN_VW2 ,
-
SYNONYM: APPS.PM_MATL_DTL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PM_MATL_DTL, status:VALID,
-
SYNONYM: APPS.PM_MATL_DTL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PM_MATL_DTL, status:VALID,
-
SYNONYM: APPS.PM_BTCH_HDR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PM_BTCH_HDR, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
SYNONYM: APPS.PM_BTCH_HDR
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PM_BTCH_HDR, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
SYNONYM: APPS.OP_ORDR_HDR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OP_ORDR_HDR, status:VALID,
-
SYNONYM: APPS.OP_ORDR_HDR
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OP_ORDR_HDR, status:VALID,
-
SYNONYM: APPS.OP_ORDR_DTL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OP_ORDR_DTL, status:VALID,
-
SYNONYM: APPS.OP_ORDR_DTL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OP_ORDR_DTL, status:VALID,
-
VIEW: APPS.IC_TRAN_VW1
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:GMI.IC_TRAN_VW1, object_name:IC_TRAN_VW1, status:VALID,
-
VIEW: APPS.QC_TRAN_VW2
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:GMD.QC_TRAN_VW2, object_name:QC_TRAN_VW2, status:VALID,
-
VIEW: APPS.IC_TRAN_VW1
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:GMI.IC_TRAN_VW1, object_name:IC_TRAN_VW1, status:VALID,
-
VIEW: APPS.QC_TRAN_VW2
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:GMD.QC_TRAN_VW2, object_name:QC_TRAN_VW2, status:VALID,
-
SYNONYM: APPS.IC_TRAN_PND
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IC_TRAN_PND, status:VALID,
-
SYNONYM: APPS.IC_TRAN_PND
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IC_TRAN_PND, status:VALID,
-
eTRM - GMI Tables and Views
12.1.1
description: Table used to relate Item ID with Roles. If the Item ID is NULL, then Roles will be associated with the warehouse Item ID. This table will be used by the Lot Expiry/Retest Workflow. ,
-
eTRM - GMD Tables and Views
12.2.2
description: QC Module Text Lines. Descriptive text for all tables in this module. ,
-
eTRM - GMD Tables and Views
12.1.1
description: QC Module Text Lines. Descriptive text for all tables in this module. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - GMI Tables and Views
12.1.1
description: Table used to relate Item ID with Roles. If the Item ID is NULL, then Roles will be associated with the warehouse Item ID. This table will be used by the Lot Expiry/Retest Workflow. ,
-
eTRM - GMD Tables and Views
12.1.1
description: QC Module Text Lines. Descriptive text for all tables in this module. ,
-
eTRM - GMD Tables and Views
12.2.2
description: QC Module Text Lines. Descriptive text for all tables in this module. ,