Results for “i_item”

32 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

APPS.PMIFV_LOT_SOURCE_PURCH_V is a reporting view in the Oracle E-Business Suite Process Manufacturing (OPM) module. Its name reflects its function: PMI (Process Manufacturing Intelligence / OPM), FV (formula view), LOT SOURCE, PURCH — meaning it exposes the purchased lot source (genealogy origin) of ingredient and product lots. The view joins lot genealogy records to pending inventory transactions that originated from purchasing receipts, enriching them with item, lot, warehouse, receipt, purchase order, and vendor attributes.

In Oracle EBS 12.1.1 and 12.2.2, this view is used primarily for traceability and reporting. It allows a report or concurrent program to determine, for a given product lot, which purchased ingredient lots were consumed, from which vendor and purchase order they were received, and at which warehouse and receipt number. Lot genealogy in OPM records the parent-child relationships between ingredient lots and the product lots produced from them. This view narrows that genealogy to purchased (PORC) sources, making it suitable for supplier quality, recall, and audit reporting.

The view is owned by APPS and is typically queried by custom reports, Oracle Discoverer worksheets, or BI Publisher data models rather than being maintained by end users directly.

Underlying Base Objects

The view is defined over several base and synonym objects. The core genealogy linkage comes from PMI_LOT_GENEALOGY (documented as synonym PMI_LOT_GENEALOGY), which relates product lots to ingredient lots. The transaction source is IC_TRAN_PND (pending inventory transactions), filtered by doc_type = 'PORC'. Receiving details are sourced from RCV_SHIPMENT_HEADERS, RCV_SHIPMENT_LINES, and RCV_TRANSACTIONS, which connect the pending transaction's document ID and line ID to the receipt and receipt line.

Purchase order and supplier context are drawn from PO_HEADERS_ALL, PO_VENDORS_VIEW, and PO_VENDOR_SITES_ALL. Item and lot descriptions come from IC_ITEM_MST and IC_LOTS_MST, aliased separately for the ingredient (i_) and product (p_) sides. Warehouse information is retrieved from IC_WHSE_MST.

The ETRM metadata also lists PMI_LOT_SOURCE_LEAF_V (VIEW), IC_TRAN_CMP, PO_ORDR_HDR, PO_RECV_DTL, PO_RECV_HDR, and PO_VEND_MST as referenced objects, plus the FND_GLOBAL package, which is commonly used for organization or user context. These reflect the broader object dependency graph (including underlying synonyms resolved by the database). The view is therefore a composite entity drawing together OPM genealogy, inventory, and Oracle Purchasing/Receiving data.

Key Columns

  • product_item_id, product_lot_id — Identifiers for the manufactured product item and its lot.
  • ingred_item_id, ingred_lot_id — Identifiers for the ingredient item and lot consumed.
  • whse_code, location, org_code — Warehouse code, storage location, and organization code of the transaction.
  • trans_date — Date of the pending inventory transaction.
  • SUM(trans_qty), SUM(trans_qty2) — Aggregated transaction quantities in primary and secondary units of measure.
  • receipt_num — Receiving receipt number associated with the purchase.
  • segment1 — Purchase order number from PO_HEADERS_ALL.
  • vendor_number, vendor_name — Supplier identification from PO_VENDORS_VIEW.
  • i_item.item_no, i_item.item_desc1, i_item.item_um, i_item.item_um2 — Ingredient item number, description, and units of measure.
  • i_item.inv_class, i_item.planning_class, i_item.sales_class — Ingredient item classification attributes.
  • i_lot.lot_no, i_lot.sublot_no — Ingredient lot and sublot numbers.
  • p_item.item_no, p_item.item_desc1, p_item.item_um, p_item.item_um2 — Product item number, description, and units of measure.
  • p_lot.lot_no, p_lot.sublot_no — Product lot and sublot numbers.

Common Use Cases and Queries

The view supports supplier traceability, recall investigations, and purchase-to-production reconciliation. A typical query returns all purchased sources for a given product lot:

  • Determining which vendors and POs supplied ingredients for a finished product lot.
  • Reconciling received quantities against quantities consumed in production.
  • Auditing lot genealogy for regulatory compliance (e.g., FDA, food safety).

Sample SQL:

SELECT product_item_id, product_lot_id, i_item.item_no, i_lot.lot_no,
  receipt_num, segment1, vendor_name, trans_date, SUM(trans_qty)
FROM apps.pmifv_lot_source_purch_v
WHERE product_lot_id = :lot_id
GROUP BY product_item_id, product_lot_id, i_item.item_no, i_lot.lot_no,
  receipt_num, segment1, vendor_name, trans_date;

Because the view aggregates transaction quantities, care should be taken with GROUP BY clauses when additional non-aggregated columns are selected. The view is read-only and reflects data as recorded in OPM genealogy, pending inventory transactions, and purchasing/rcv tables at query time.