Results for “match_id”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
INL_CORR_MATCHES_V is a PL/SQL view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the INL - Oracle Landed Cost Management product. It presents corrected information about matches between actual and estimated amounts on a Landed Cost Shipment. Landed Cost Management reconciles estimated charges captured at shipment or receipt time against the actual invoice amounts subsequently received from suppliers and carriers. Each reconciliation produces a row in the matching infrastructure, and this view exposes the effective, corrected version of those rows.
The view is not a simple projection of a single table. It is a self-referencing query over matches in which a correction match (an adjustment record) is coalesced against its original match. Through NVL and DECODE constructs, the view returns a single logical record per match that reflects the most current values for adjustment group date, matched amount, currency, and processing flags. Because it derives these values dynamically from the underlying match data and applies currency conversion rules through the Landed Cost private package, the view is the authoritative source for reporting and downstream integration processes that require corrected match amounts rather than raw staging values.
Underlying Base Objects
The view is defined over the match data maintained by Landed Cost Management, exposed to the APPS schema through the INL_MATCHES synonym referenced in the ETRM metadata. The query aliases two instances of this underlying match source as MAT1 and MAT2: MAT1 supplies the base match row, and MAT2 supplies the corresponding correction or adjustment row when one exists. The join between the two instances is keyed on the match relationship, and the DECODE on MATCH_ID populates CORRECTION_MATCH_ID only when the adjustment row differs from the base row.
The view also references the INL_LANDEDCOST_PVT package. This package is invoked through its CONVERTED_AMT function, which converts the corrected matched amount from the correction's currency into the base match's currency using the conversion type and conversion date carried on the base record. This dependency means the view cannot be queried successfully if INL_LANDEDCOST_PVT is invalid; the view's VALID status therefore implies both underlying objects are compiled and accessible.
Key Columns
- MATCH_ID - Unique identifier of the base match record.
- CORRECTION_MATCH_ID - Identifier of the correcting match, returned as NULL when the row is not itself a correction.
- ADJ_GROUP_DATE - Adjustment group date, taking the correction's value when present via NVL.
- MATCH_TYPE_CODE, SHIP_HEADER_ID - Match classification and the owning Landed Cost shipment header.
- FROM_PARENT_TABLE_NAME / FROM_PARENT_TABLE_ID - Source entity (table name and primary key) from which the match originates, such as a purchase order or receipt line.
- TO_PARENT_TABLE_NAME / TO_PARENT_TABLE_ID - Target entity to which the match is applied. The TO_PARENT_TABLE_ID column is the key value most frequently used to link match rows back to the charged parent document.
- MATCHED_QTY, MATCHED_UOM_CODE - Corrected matched quantity and unit of measure.
- MATCHED_AMT, MATCHED_CURR_CODE, MATCHED_CURR_CONVERSION_TYPE, MATCHED_CURR_CONVERSION_DATE, MATCHED_CURR_CONVERSION_RATE - Corrected matched amount and the currency attributes used to convert it when the correction currency differs.
- ADJ_ALREADY_GENERATED_FLAG, EXISTING_MATCH_INFO_FLAG, REPLACE_ESTIM_QTY_FLAG - Processing flags controlling whether adjustments have been generated and how existing match information is treated.
- CHARGE_LINE_TYPE_ID, PARTY_ID, PARTY_SITE_ID, TAX_CODE, NREC_TAX_AMT, TAX_AMT_INCLUDED_FLAG - Charge, party, and tax attributes of the match.
- MATCH_AMOUNT_ID - Identifier of the associated match amount record.
- Audit columns - PROGRAM_ID, PROGRAM_APPLICATION_ID, PROGRAM_UPDATE_DATE, REQUEST_ID, CREATED_BY, CREATION_DATE.
Common Use Cases and Queries
A frequent requirement is to retrieve corrected matches for a specific Landed Cost shipment, optionally filtering to only those rows that carry a correction. The following query returns all corrected matches for a shipment:
SELECT match_id, correction_match_id, matched_amt, matched_curr_code, to_parent_table_name, to_parent_table_id FROM apps.inl_corr_matches_v WHERE ship_header_id = :p_ship_header_id;
To isolate corrections only, add WHERE correction_match_id IS NOT NULL. This pattern supports reconciliation reporting that compares estimated versus actual landed cost and highlights variances.
Because the view exposes FROM_PARENT_TABLE_NAME and TO_PARENT_TABLE_NAME alongside their identifiers, another common scenario is resolving the parent document that a match references. Filtering on to_parent_table_id allows the caller to locate every corrected match applied to a given parent record, regardless of the parent type encoded in TO_PARENT_TABLE_NAME.
SELECT match_id, ship_header_id, matched_amt, matched_qty FROM apps.inl_corr_matches_v WHERE to_parent_table_id = :p_parent_id AND to_parent_table_name = :p_parent_table;
Integration and diagnostic queries frequently inspect the processing flags, for example SELECT match_id, adj_already_generated_flag, existing_match_info_flag FROM apps.inl_corr_matches_v WHERE adj_already_generated_flag = 'N';, to identify matches whose adjustments remain outstanding. Dashboard-style reporting aggregates MATCHED_AMT by MATCHED_CURR_CODE or by ADJ_GROUP_DATE to summarize corrected landed cost by period. All such queries depend on the corrected amount logic embedded in the view, which guarantees that the correction's value and converted currency are returned in preference to the base match values.
-
View: INL_CORR_MATCHES_V 12.1.1
This view shows corrected information of matches between actual and estimated amounts of a Landed Cost Shipment.
APPS.INL_CORR_MATCHES_V·↳ INL_LANDEDCOST_PVT·↳ INL_MATCHES·Explore INL module →
-
Table: EGO_ITEM_MATCHES 12.2.2
This table stores all the matched items for a source system item within a batch.
-
Table: EGO_ITEM_MATCHES 12.1.1
This table stores all the matched items for a source system item within a batch.
-
This table is a working table for Plan Comparison Reports.
-
View: MSC_NET_HZ_GRAPH_V 12.1.1
APPS.MSC_NET_HZ_GRAPH_V·↳ MSC_NEC_EXC_DTL_COMPARE·↳ MSC_NEC_EXC_DTL_TEMP·Explore MSC module →
-
Table: INL_CHARGE_LINES 12.1.1
This table stores information on charges associated to Shipment components.
-
APPS.MSC_NET_VERTICAL_GRAPH_V·↳ MSC_NEC_EXC_DTL_COMPARE·↳ MSC_NEC_EXC_DTL_TEMP·Explore MSC module →
-
View: INL_ADJ_CHARGE_LINES_V 12.1.1
This view shows adjusted information on Charge Lines.
APPS.INL_ADJ_CHARGE_LINES_V·↳ INL_CHARGE_LINES·Explore INL module →
-
Table: INL_MATCHES 12.2.2
This table stores actual amounts and the shipment components they refer to, to be used in actual landed cost calculation.
-
This table is a working table for Plan Comparison Reports.
-
View: INL_ADJ_CHARGE_LINES_V 12.2.2
This view shows adjusted information on Charge Lines.
APPS.INL_ADJ_CHARGE_LINES_V·↳ INL_CHARGE_LINES·Explore INL module →
-
View: GMF_LC_ADJ_DETAILS_V 12.2.2
LC Adjustment details view will contain detailed information for each actual LC adjustment
APPS.GMF_LC_ADJ_DETAILS_V·↳ AP_INVOICES_ALL·↳ AP_INVOICE_DISTRIBUTIONS_ALL·↳ AP_INVOICE_LINES_ALL·Explore GMF module →
-
View: MSC_NET_EXC_DETAIL_V 12.2.2
APPS.MSC_NET_EXC_DETAIL_V·↳ MSC_GET_NAME·↳ MSC_NEC_EXC_DTL_COMPARE·↳ MSC_NEC_EXC_DTL_TEMP·Explore MSC module →
-
This table is used to match BOE with Receipt
-
This table stores information on taxes associated to Shipment components.
-
This table stores information on charges associated to Shipment components.
-
View: INL_ADJ_SHIP_LINES_V 12.2.2
This view shows adjusted information on Shipment Lines.
APPS.INL_ADJ_SHIP_LINES_V·↳ INL_SHIP_LINES_ALL·Explore INL module →
-
APPS.MSC_NET_VERTICAL_GRAPH_V·↳ MSC_NEC_EXC_DTL_COMPARE·↳ MSC_NEC_EXC_DTL_TEMP·Explore MSC module →
-
This table stores information on Shipment Lines.
-
View: INL_CORR_MATCHES_V 12.2.2
This view shows corrected information of matches between actual and estimated amounts of a Landed Cost Shipment.
APPS.INL_CORR_MATCHES_V·↳ INL_LANDEDCOST_PVT·↳ INL_MATCHES·Explore INL module →
-
View: MSC_NET_HZ_GRAPH_V 12.2.2
APPS.MSC_NET_HZ_GRAPH_V·↳ MSC_NEC_EXC_DTL_COMPARE·↳ MSC_NEC_EXC_DTL_TEMP·Explore MSC module →
-
View: INL_CHARGE_OVERALL_V 12.1.1
This view shows overall information on Charges.
APPS.INL_CHARGE_OVERALL_V·↳ HZ_PARTIES·↳ HZ_PARTY_SITES·↳ INL_ADJ_CHARGE_LINES_V·Explore INL module →
-
This table stores information on taxes associated to Shipment components.
-
View: INL_ADJ_TAX_LINES_V 12.2.2
This view shows adjusted information on Tax Lines.
APPS.INL_ADJ_TAX_LINES_V·↳ INL_TAX_LINES·Explore INL module →
-
View: INL_ADJ_TAX_LINES_V 12.1.1
This view shows adjusted information on Tax Lines.
APPS.INL_ADJ_TAX_LINES_V·↳ INL_TAX_LINES·Explore INL module →
-
View: INL_ADJ_SHIP_LINES_V 12.1.1
APPS.INL_ADJ_SHIP_LINES_V·↳ INL_SHIP_LINES_ALL·Explore INL module →
-
View: MSC_NET_EXC_DETAIL_V 12.1.1
APPS.MSC_NET_EXC_DETAIL_V·↳ MSC_GET_NAME·↳ MSC_NEC_EXC_DTL_COMPARE·↳ MSC_NEC_EXC_DTL_TEMP·Explore MSC module →
-
Table: INL_MATCHES 12.1.1
This table stores matches between actual and estimated amounts of a Landed Cost Shipment.
-
View: INL_CHARGE_OVERALL_V 12.2.2
This view shows overall information on Charges.
APPS.INL_CHARGE_OVERALL_V·↳ HZ_PARTIES·↳ HZ_PARTY_SITES·↳ INL_ADJ_CHARGE_LINES_V·Explore INL module →
-
This table stores information on Shipment Lines.
-
VIEW: EGO.EGO_ITEM_MATCHES# 12.2.2
-
VIEW: INL.INL_TAX_LINES# 12.2.2
-
VIEW: INL.INL_MATCHES# 12.2.2
-
TABLE: EGO.EGO_ITEM_MATCHES 12.1.1
-
TABLE: EGO.EGO_ITEM_MATCHES 12.2.2
-
VIEW: EGO.EGO_ITEM_MATCHES# 12.2.2
-
VIEW: INL.INL_CHARGE_LINES# 12.2.2
-
VIEW: INL.INL_TAX_LINES# 12.2.2