Results for “association_count”

16 results




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

Overview

PMI_LOT_GENEALOGY is a table owned by the PMI schema within Oracle E-Business Suite, classified under the PMI - Process Manufacturing Intelligence product. In ETRM 12.1.1 and 12.2.2, PMI is documented as an obsolete module, meaning the table persists in the database for backward compatibility, historical reporting, and residual integration with downstream objects rather than active feature development. Its documented purpose is to store product-ingredient associations that support the PMI Lot Genealogy Views, enabling forward and backward traceability between a manufactured (product) lot and the ingredient lots consumed in its production.

Heuristic Data Vault classification mined from the foreign key structure identifies this object as standalone. In modeling terms, this suggests a link-style association table combining two lot identifiers into a composite key, without a governed parent hub or satellite chain documented in the ETRM metadata. Teams performing lineage remediation, data vault migration, or modernization studies should treat PMI_LOT_GENEALOGY as the association artifact capturing the many-to-many relationship between product lots and ingredient lots.

Key Information Stored

The physical schema includes five documented columns. The primary key, PMI_LOT_GENEALOGY_PK, is a composite of PRODUCT_LOT_ID and INGRED_LOT_ID, which jointly serve as the unique business-key candidate; there is no separate surrogate key column.

  • PRODUCT_LOT_ID — identifier of the manufactured or output lot in the genealogy relationship; first component of the composite primary key.
  • INGRED_LOT_ID — identifier of the consumed or input (ingredient) lot; second component of the composite primary key.
  • PRODUCT_ITEM_ID — the item (product) associated with the product lot, providing item-level context for the relationship.
  • INGRED_ITEM_ID — the item associated with the ingredient lot, enabling item-to-item traceability independent of lot numbering.
  • ASSOCIATION_COUNT — quantity or count value describing the strength or multiplicity of the association between the product lot and ingredient lot.

The uniqueness constraint on (PRODUCT_LOT_ID, INGRED_LOT_ID) guarantees that any product-ingredient lot pairing appears only once, with ASSOCIATION_COUNT capturing aggregation rather than row duplication.

Common Use Cases and Queries

The principal use case is lot genealogy tracing: identifying all ingredient lots that fed a given product lot (backward trace) or all product lots that consumed a given ingredient lot (forward trace). This supports recall investigations, regulatory compliance, quality disposition, and yield analysis in process manufacturing environments.

Backward trace for a product lot:

  • SELECT g.INGRED_ITEM_ID, g.INGRED_LOT_ID, g.ASSOCIATION_COUNT FROM PMI.PMI_LOT_GENEALOGY g WHERE g.PRODUCT_LOT_ID = :product_lot_id;

Forward trace and item-level rollup:

  • SELECT g.PRODUCT_ITEM_ID, g.PRODUCT_LOT_ID, SUM(g.ASSOCIATION_COUNT) FROM PMI.PMI_LOT_GENEALOGY g WHERE g.INGRED_LOT_ID = :ingredient_lot_id GROUP BY g.PRODUCT_ITEM_ID, g.PRODUCT_LOT_ID;

Reporting use cases include bill-of-material consumption reconciliation, multi-level genealogy explosion via recursive joins on PRODUCT_LOT_ID to INGRED_LOT_ID, and item-level traceability matrices for quality and audit teams. Because PMI is obsolete, extraction into a supported analytics store is often preferable to live transactional querying.

Related Objects

PMI_LOT_GENEALOGY participates in a small, tightly scoped dependency set. The most significant related objects include:

  • PMI Lot Genealogy Views — the documented consumers of this table; they expose the product-ingredient relationships for reporting.
  • PMI_LOT_GENEALOGY_PK — the composite primary key index on (PRODUCT_LOT_ID, INGRED_LOT_ID), enforcing pairing uniqueness.
  • Lot master tables — joined on PRODUCT_LOT_ID and INGRED_LOT_ID to resolve lot attributes and status.
  • Item master (MTL_SYSTEM_ITEMS_B) — joined on PRODUCT_ITEM_ID and INGRED_ITEM_ID to resolve item names, categories, and descriptions.
  • Inventory transaction tables — joined on lot and item identifiers to reconcile genealogy against actual material movements.
  • Process manufacturing batch and formula tables — used to correlate genealogy relationships with production events and recipe definitions.

Given the obsolete status of the PMI module, integrators should confirm whether these relationships remain populated in the target release before building dependencies on them.