Search Results from_organization_code
Overview
MTL_TRANSACTION_FLOW_LINES_V is an Oracle E-Business Suite Inventory (INV) view owned by the APPS schema. It exposes the intercompany transaction flow lines associated with shipping and procuring flows for each transaction flow header. In the Oracle EBS 12.1.1 and 12.2.2 data models, intercompany transaction flows are persisted in the MTL_TRANSACTION_FLOW_HEADERS and MTL_TRANSACTION_FLOW_LINES tables, which record the logical movement of material between organizations and operating units as part of internal sales order and intercompany invoicing processing. This view provides a denormalized, reporting-friendly projection of the line-level data, joining in descriptive names for the source and destination organizations.
The view is intended primarily for inquiry, reporting, and integration use cases where the caller needs to resolve organization identifiers into human-readable names without writing the multi-table join manually. It is a read-only definition; no DML should be performed against it.
Underlying Base Objects
Per the documented ETRM metadata for 12.2.2, MTL_TRANSACTION_FLOW_LINES_V is defined over the following referenced objects:
- MTL_TRANSACTION_FLOW_LINES (SYNONYM) — the primary driving table, providing header, line, from/to organization identifiers, audit columns, and the ATTRIBUTE1 through ATTRIBUTE15 descriptive flexfield columns.
- HR_OPERATING_UNITS (VIEW) — joined twice, as HOU1 on FROM_ORG_ID and HOU3 on TO_ORG_ID, to supply the operating unit names exposed as FROM_ORG_NAME and TO_ORG_NAME.
- MTL_PARAMETERS (SYNONYM) — joined twice, as MP2 on FROM_ORGANIZATION_ID and MP4 on TO_ORGANIZATION_ID, to supply the inventory organization codes exposed as FROM_ORGANIZATION_CODE and TO_ORGANIZATION_CODE.
The view is constructed as a UNION ALL of two branches. The first branch returns rows where both FROM_ORGANIZATION_ID and TO_ORGANIZATION_ID are populated, joining all four descriptive tables so that both organization codes are resolved. The second branch handles the remaining cases and suppresses the FROM_ORGANIZATION_CODE value (returning NULL) while still resolving the destination organization code, ensuring that lines with incomplete organization pairing remain visible rather than being eliminated by inner joins.
Key Columns
- ROW_ID — the ROWID of the underlying MTL_TRANSACTION_FLOW_LINES row, useful for direct keyed lookups.
- HEADER_ID — foreign key to the parent transaction flow header; lines are grouped under this value.
- LINE_NUMBER — the sequence of the line within its header.
- FROM_ORG_ID / FROM_ORG_NAME — the source operating unit identifier and its name from HR_OPERATING_UNITS. This is the column most commonly matched against the search term from_org_name.
- FROM_ORGANIZATION_ID / FROM_ORGANIZATION_CODE — the source inventory organization identifier and its code from MTL_PARAMETERS.
- TO_ORG_ID / TO_ORG_NAME — the destination operating unit identifier and name.
- TO_ORGANIZATION_ID / TO_ORGANIZATION_CODE — the destination inventory organization identifier and code.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — standard EBS audit columns.
- ATTRIBUTE_CATEGORY, ATTRIBUTE1–ATTRIBUTE15 — descriptive flexfield context and segment columns.
Common Use Cases and Queries
The view is typically used to report on intercompany movements and to reconcile shipping and procuring flows between operating units. A common requirement is filtering or grouping by the source organization name:
- Listing all flow lines originating from a named operating unit:
SELECT header_id, line_number, from_org_name, to_org_name FROM mtl_transaction_flow_lines_v WHERE from_org_name = :p_org_name; - Resolving organization codes for a given header:
SELECT line_number, from_organization_code, to_organization_code FROM mtl_transaction_flow_lines_v WHERE header_id = :p_header_id ORDER BY line_number; - Producing a from-to matrix for reconciliation:
SELECT from_org_name, to_org_name, COUNT(*) FROM mtl_transaction_flow_lines_v GROUP BY from_org_name, to_org_name;
Because the definition uses UNION ALL and inner joins to the descriptive tables, queries should account for rows where FROM_ORGANIZATION_CODE is NULL. Application of standard EBS security predicates through HR_OPERATING_UNITS is advisable when the view is exposed to end users, and results should be filtered by header or organization to limit the volume returned.
-
View: MTL_TRANSACTION_FLOW_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_TRANSACTION_FLOW_LINES_V, object_name:MTL_TRANSACTION_FLOW_LINES_V, status:VALID, product: INV - Inventory , description: MTL_TRANSACTION_FLOW_LINES_V is a view for Intercompany transaction flow lines of type shipping and procuring flow for each header. , implementation_dba_data: APPS.MTL_TRANSACTION_FLOW_LINES_V ,
-
View: MTL_TRANSACTION_FLOW_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_TRANSACTION_FLOW_LINES_V, object_name:MTL_TRANSACTION_FLOW_LINES_V, status:VALID, product: INV - Inventory , description: MTL_TRANSACTION_FLOW_LINES_V is a view for Intercompany transaction flow lines of type shipping and procuring flow for each header. , implementation_dba_data: APPS.MTL_TRANSACTION_FLOW_LINES_V ,
-
View: MTL_SHIPPING_NETWORK_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_SHIPPING_NETWORK_VIEW, object_name:MTL_SHIPPING_NETWORK_VIEW, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.MTL_SHIPPING_NETWORK_VIEW ,
-
View: MTL_SHIPPING_NETWORK_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_SHIPPING_NETWORK_VIEW, object_name:MTL_SHIPPING_NETWORK_VIEW, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.MTL_SHIPPING_NETWORK_VIEW ,
-
View: INVFV_INTERORG_LEAD_TIMES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.INVFV_INTERORG_LEAD_TIMES, object_name:INVFV_INTERORG_LEAD_TIMES, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.INVFV_INTERORG_LEAD_TIMES ,
-
View: INVFV_INTERORG_LEAD_TIMES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.INVFV_INTERORG_LEAD_TIMES, object_name:INVFV_INTERORG_LEAD_TIMES, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.INVFV_INTERORG_LEAD_TIMES ,
-
View: INVFV_INTERORG_SHIPPING_INFO
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.INVFV_INTERORG_SHIPPING_INFO, object_name:INVFV_INTERORG_SHIPPING_INFO, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.INVFV_INTERORG_SHIPPING_INFO ,
-
View: INVFV_INTERORG_SHIPPING_INFO
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.INVFV_INTERORG_SHIPPING_INFO, object_name:INVFV_INTERORG_SHIPPING_INFO, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.INVFV_INTERORG_SHIPPING_INFO ,
-
View: INVFV_MOVEMENT_STATISTICS
12.1.1
product: INV - Inventory , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: INVFV_MOVEMENT_STATISTICS
12.2.2
product: INV - Inventory , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: INVFV_INVENTORY_SUPPLIES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.INVFV_INVENTORY_SUPPLIES, object_name:INVFV_INVENTORY_SUPPLIES, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.INVFV_INVENTORY_SUPPLIES ,
-
View: INVFV_INVENTORY_SUPPLIES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.INVFV_INVENTORY_SUPPLIES, object_name:INVFV_INVENTORY_SUPPLIES, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.INVFV_INVENTORY_SUPPLIES ,