Results for “orgn_code”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
IC_PURG_VW1 is an APPS-owned view within the GMI - Process Manufacturing Inventory module of Oracle E-Business Suite, documented as VALID in ETRM for releases 12.1.1 and 12.2.2. Its description, "Transaction purge view," identifies its purpose: presenting a consolidated, cross-functional register of documents eligible for purge processing. The view is a UNION of header records drawn from batch, purchase order, receiving, inventory transaction, and process order tables, each filtered to a status that signals the document is closed, completed, or otherwise eligible for archival or deletion. Because no single EBS table spans these diverse document families, IC_PURG_VW1 provides a single read-only access point for purge programs and reconciliation reports that must enumerate purgeable transactions across production, procurement, receiving, and inventory.
In the user's search context of "ship_status," the view is directly relevant because two of its UNION branches reference SHIP_STATUS in OP_ORDR_DTL. Those branches exclude process orders and bills of lading that have detail lines with SHIP_STATUS below 20 and an incomplete status, ensuring that partially shipped or open shipment lines are not swept into purge processing.
Underlying Base Objects
The documented base objects are APPS synonyms: IC_TRAN_CMP, OP_BILL_LAD, OP_ORDR_DTL, OP_ORDR_HDR, PM_BTCH_HDR, PO_ORDR_HDR, and PO_RECV_HDR. The UNION comprises six branches, each tagged with a literal DOC_TYPE value:
- PROD — PM_BTCH_HDR where BATCH_STATUS = 4 (closed batches).
- PORD — PO_ORDR_HDR where PO_STATUS = 20 (closed purchase orders).
- RECV — PO_RECV_HDR where DELETE_MARK = 0 (active receipt headers).
- Inventory and process transactions — IC_TRAN_CMP filtered on DOC_TYPE in ('ADJI','ADJR','GRDI','GRDR','STSI','STSR','TRNI','TRNR'), covering adjustments, goods receipts, stock transfers, and transfer issues/receipts.
- OPSO (orders) — OP_ORDR_HDR where DELETE_MARK = 0, COMPLETED_IND >= 0, and ORDER_ID not in any OP_ORDR_DTL line having SHIP_STATUS < 20 with COMPLETED_IND = 0.
- OPSO (bills of lading) — OP_BILL_LAD where DELETE_MARK = 0 and BOL_ID not referenced by any OP_ORDR_DTL line with SHIP_STATUS < 20 and COMPLETED_IND = 0.
The commented-out ORDER_TYPE = 1 predicate in the order branch indicates a previously narrower scope that was deliberately broadened to include all process order types.
Key Columns
The view projects five columns from heterogeneous sources, aligned positionally across the UNION:
- DOC_TYPE — document classification tag ('PROD', 'PORD', 'RECV', 'OPSO', or the underlying IC_TRAN_CMP type such as 'ADJI', 'GRDI', 'STSI', 'TRNI').
- ORGN_CODE — the organization (plant or warehouse) that owns the document.
- DOC_NO — the human-readable document number (batch, PO, receipt, BOL, or order number). Inventory transaction rows supply an empty string here.
- DOC_ID — the internal surrogate key (BATCH_ID, PO_ID, RECV_ID, ORDER_ID, BOL_ID, or IC_TRAN_CMP DOC_ID) used by purge routines for row-level operations.
- DOC_DATE — the reference date, populated from LAST_UPDATE_DATE, RECV_DATE, or TRANS_DATE depending on the source branch.
Common Use Cases and Queries
The principal use case is driving purge or archive processing. A purge program selects candidate documents by organization and age, then uses DOC_ID with DOC_TYPE to invoke the appropriate deletion logic. A second use case is reconciliation reporting: counting closed documents by type and organization before a purge window.
To identify purgeable shipment-related documents while honoring SHIP_STATUS logic:
SELECT doc_type, orgn_code, doc_no, doc_id, doc_date FROM apps.ic_purg_vw1 WHERE doc_type = 'OPSO' AND orgn_code = :org AND doc_date < :cutoff;SELECT doc_type, COUNT(*) FROM apps.ic_purg_vw1 GROUP BY doc_type;
Because the OPSO branches already exclude orders and BOLs whose detail lines show SHIP_STATUS below 20 with COMPLETED_IND = 0, the view itself enforces the shipping-completion rule; querying OP_ORDR_DTL separately is unnecessary unless line-level detail is required.
-
View: IC_PURG_VW1 12.1.1
Transaction purge view.
APPS.IC_PURG_VW1·↳ IC_TRAN_CMP·↳ OP_BILL_LAD·↳ OP_ORDR_DTL·Explore GMI module →
-
View: GMI_LOTS_DEST_LIST_V 12.1.1
This view is used to populate the Lot Genealogy Tree Navigator (on the Lot Genealogy Inquiry) when the navigation mode is Where Used, and the user has submitted query parameters through the Find dialogue box.
APPS.GMI_LOTS_DEST_LIST_V·↳ GMI_LOTS_LIST_V·↳ GMI_LOT_TRACE_PKG·Explore GMI module →
-
View: GMI_LOTS_LIST_V 12.2.2
This view is the basis for the views GMI_LOTS_DEST_LIST_V and GMI_LOTS_SOURCE_LIST_V.
APPS.GMI_LOTS_LIST_V·↳ IC_ITEM_MST·↳ IC_LOTS_MST·↳ IC_TRAN_CMP·Explore GMI module →
-
View: GMI_LOTS_LIST_V 12.1.1
This view is the basis for the views GMI_LOTS_DEST_LIST_V and GMI_LOTS_SOURCE_LIST_V.
APPS.GMI_LOTS_LIST_V·↳ IC_ITEM_MST·↳ IC_LOTS_MST·↳ IC_TRAN_CMP·Explore GMI module →
-
Translations table table holding OPM inventory calendar descriptions in multiple languages
-
View: INV_CALENDAR_VIEW 12.1.1
APPS.INV_CALENDAR_VIEW·↳ IC_CLDR_DTL·↳ IC_CLDR_HDR·Explore GMI module →
-
View: INV_CALENDAR_VIEW 12.2.2
APPS.INV_CALENDAR_VIEW·↳ IC_CLDR_DTL·↳ IC_CLDR_HDR·Explore GMI module →
-
View: IC_PURG_VW1 12.2.2
Transaction purge view.
APPS.IC_PURG_VW1·↳ IC_TRAN_CMP·↳ OP_BILL_LAD·↳ OP_ORDR_DTL·Explore GMI module →
-
Inventory calendar detail
-
View: IC_CLDR_HDR_VL 12.2.2
MLS enabled view of OPM inventory calendar
APPS.IC_CLDR_HDR_VL·↳ IC_CLDR_HDR_B·↳ IC_CLDR_HDR_TL·Explore GMI module →
-
Translations table table holding OPM inventory calendar descriptions in multiple languages
-
View: GMI_LOTS_SOURCE_LIST_V 12.1.1
This view is used to populate the Lot Genealogy Tree Navigator (on the Lot Genealogy Inquiry) when the navigation mode is Lot Source, and the user has submitted query parameters through the Find dialogue box.
APPS.GMI_LOTS_SOURCE_LIST_V·↳ GMI_LOTS_LIST_V·↳ GMI_LOT_TRACE_PKG·Explore GMI module →
-
View: GMI_LOTS_SOURCE_LIST_V 12.2.2
This view is used to populate the Lot Genealogy Tree Navigator (on the Lot Genealogy Inquiry) when the navigation mode is Lot Source, and the user has submitted query parameters through the Find dialogue box.
APPS.GMI_LOTS_SOURCE_LIST_V·↳ GMI_LOTS_LIST_V·↳ GMI_LOT_TRACE_PKG·Explore GMI module →
-
This table contains header information for the inventory calendar. The fiscal year is defined, calendar periods will be setup in the IC_CLDR_DTL table.
-
This table contains header information for the inventory calendar. The fiscal year is defined, calendar periods will be setup in the IC_CLDR_DTL table.
-
View: GMI_LOTS_EVENT_V 12.2.2
This view is used to populate the Lot Events tab of the Lot Genealogy Inquiry.
APPS.GMI_LOTS_EVENT_V·↳ IC_ITEM_MST·↳ IC_LOTS_MST·↳ IC_TRAN_VW1·Explore GMI module →
-
View: GMI_LOTS_DEST_LIST_V 12.2.2
This view is used to populate the Lot Genealogy Tree Navigator (on the Lot Genealogy Inquiry) when the navigation mode is Where Used, and the user has submitted query parameters through the Find dialogue box.
APPS.GMI_LOTS_DEST_LIST_V·↳ GMI_LOTS_LIST_V·↳ GMI_LOT_TRACE_PKG·Explore GMI module →
-
View: IC_TRAN_CMP_VW1 12.1.1
Completed inventory transaction
APPS.IC_TRAN_CMP_VW1·↳ IC_TRAN_CMP·↳ IC_TRAN_PND·Explore GMI module →
-
Journal master header table
-
Inventory calendar detail
-
View: IC_CLDR_HDR_VL 12.1.1
MLS enabled view of OPM inventory calendar
APPS.IC_CLDR_HDR_VL·↳ IC_CLDR_HDR_B·↳ IC_CLDR_HDR_TL·Explore GMI module →
-
View: IC_WHSE_MST_VW 12.1.1
View for pre migration UI mapping of warehouse
APPS.IC_WHSE_MST_VW·↳ CM_WHSE_ASC·↳ IC_WHSE_MST·↳ SY_ORGN_MST·Explore GMI module →
-
View: IC_TRAN_VW1 12.2.2
Transaction view.
APPS.IC_TRAN_VW1·↳ IC_TRAN_CMP·↳ IC_TRAN_PND·Explore GMI module →
-
View: IC_TRAN_VW1 12.1.1
Transaction view.
APPS.IC_TRAN_VW1·↳ IC_TRAN_CMP·↳ IC_TRAN_PND·Explore GMI module →
-
This table contains the cycle header information. It will define the warehouse for which the count is taking place.
-
EC Statistics Header. Intrastat statistics header file.
-
EC Statistics Header. Intrastat statistics header file.
-
Table: GMI_MASSTRANS_CTL 12.2.2
Contains record of mass move transaction created.
-
This table contains the cycle header information. It will define the warehouse for which the count is taking place.
-
Table: GMI_MASSTRANS_CTL 12.1.1
Contains record of mass move transaction created.
-
View: GMI_LOTS_EVENT_V 12.1.1
This view is used to populate the Lot Events tab of the Lot Genealogy Inquiry.
APPS.GMI_LOTS_EVENT_V·↳ IC_ITEM_MST·↳ IC_LOTS_MST·↳ IC_TRAN_VW1·Explore GMI module →
-
Inventory transaction archive
-
Inventory adjustment detail
-
Inventory adjustment detail
-
Inventory transfer master
-
Journal master header table
-
View: IC_TRAN_CMP_VW1 12.2.2
Completed inventory transaction
APPS.IC_TRAN_CMP_VW1·↳ IC_TRAN_CMP·↳ IC_TRAN_PND·Explore GMI module →
-
Completed inventory transactions
-
Process to/from Discrete inventory transfer table. Holds transfer header information
-
Inventory transaction archive
-
Warehouse master.This table contains warehouse definition information.
-
View: IC_WHSE_MST_VW 12.2.2
View for pre migration UI mapping of warehouse
APPS.IC_WHSE_MST_VW·↳ CM_WHSE_ASC·↳ IC_WHSE_MST·↳ SY_ORGN_MST·Explore GMI module →
-
Completed inventory transactions
-
Production rules, by item and plant. These rules are used by MRP and supply defaults for Production Batch creation.
-
Production rules, by item and plant. These rules are used by MRP and supply defaults for Production Batch creation.
-
Inventory transfer master
-
Pending inventory transactions
-
Warehouse master.This table contains warehouse definition information.
-
Process to/from Discrete inventory transfer table. Holds transfer header information
-
Pending inventory transactions