Search Results inv_line_count
Overview
APPS.FII_AP_INV_LINES_FCV is a denormalized reporting view within the Oracle Business Intelligence Applications (OBIA) / Financial Analytics for EBS data model. In Oracle EBS 12.1.1 and 12.2.2, this view serves as the extract source for Payables invoice line fact and dimension loading into the FII (Financials Intelligence Infrastructure) warehouse. The view flattens the transactional Payables invoice line structure into a star-schema-friendly shape by joining invoice distribution, purchase order match, supplier, currency, and accounting flexfield context into a single row per invoice line.
The view is significant for users searching on MATCH_LINE_AMT_T, which is the transactional (entered) currency amount associated with matched invoice line quantities against a purchase order or receipt. Together with the business (_B) and global/functional (_G) currency counterparts, these amounts underpin procurement spend, price variance, and quantity variance analysis. The view's role is thus dual: it supports incremental ETL into the OBIA warehouse and can be queried directly for ad hoc reconciliation between Payables invoice lines and their matched PO commitments.
Underlying Base Objects
The ETRM metadata documents the view as defined entirely by its SQL SELECT text over a set of joined Payables and purchasing entities rather than exposing a single underlying base table. No base objects are separately documented in the ETRM record, so the lineage must be inferred from the column names and the FII naming conventions. The column set — including INV_LINE_PK, PO_DISTRIBUTION_ID, INV_FK, SUPPLIER_FK, and the FK-suffixed foreign keys (ORG_FK, SOB_FK, ITEM_FK, ACCOUNTING_DATE_FK) — indicates joins across AP invoice headers and lines, AP invoice distributions, PO distributions, and supplier master data. The naming convention _FCV denotes a fact-collector view, distinguishing it from dimension views and from the base staging tables populated during the ETL run. Because the metadata documents no referenced base objects, the exact join graph should be confirmed against the view's DDL in the target instance; the documented view text, however, confirms that it projects both keys and measures from these joined sources.
Key Columns
- MATCH_LINE_AMT_T / _B / _G — Transactional, base, and global currency amounts for invoice lines matched to a PO or receipt. This is the primary column of interest for match amount reporting.
- UNMATCH_LINE_AMT_T / _B / _G and INV_LINE_AMT_T / _B / _G — Unmatched and total invoice line amounts in each currency context, enabling matched versus unmatched analysis.
- MATCH_LINE_COUNT, UNMATCH_LINE_COUNT, INV_LINE_COUNT — Line counts supporting quantity and match-rate metrics.
- INV_UNIT_PRICE_T/_B/_G, PO_UNIT_PRICE_T/_B/_G — Invoice and purchase order unit prices used to derive price variance.
- INV_PRICE_VAR_AMT_T/_B/_G, QTY_VAR_AMT_T/_B/_G, TOTAL_VAR_AMT_T/_B/_G — Invoice price, quantity, and total variance amounts.
- MATCH_STATUS_FLAG, ACCRUAL_POSTED_FLAG, POSTED_FLAG, CASH_POSTED_FLAG, AWT_FLAG, ENCUMBERED_FLAG — Status indicators for match state, accrual, posting, payment, withholding tax, and encumbrance.
- INV_NUM, INV_TYPE, INV_DATE, ACCOUNTING_DATE, INV_LINE_DESCRIPTION, PO_NUMBER, PO_DISTRIBUTION_ID — Descriptive and linking identifiers for the invoice line and its PO context.
- EXCHANGE_RATE, EXCHANGE_RATE_TYPE, EXCHANGE_DATE, GLOBAL_CURRENCY_RATE, BASE_CURRENCY_CODE — Currency conversion context.
- GL_ACCT1_FK … GL_ACCTn_FK — Accounting flexfield segments derived via the decode logic on GL_SEG, with the special 'NA_EDW' placeholder retained for unassigned segments.
Common Use Cases and Queries
A primary use case is reconciling matched invoice line amounts against PO commitments in transactional currency, often by supplier and period. A second use case is variance analysis, comparing invoice and PO unit prices or isolating quantity variances. A third is tracking unmatched lines to identify accrual or receipt-matching exceptions.
Sample query isolating matched amounts by supplier site:
SELECT supplier_site_id, org_fk, SUM(match_line_amt_t) matched_amt, SUM(unmatch_line_amt_t) unmatched_amt, SUM(inv_line_count) line_cnt FROM apps.fii_ap_inv_lines_fcv WHERE accounting_date BETWEEN :p_start AND :p_end AND match_status_flag IS NOT NULL GROUP BY supplier_site_id, org_fk;
Sample query for price variance detail:
SELECT inv_num, po_number, inv_unit_price_t, po_unit_price_t, inv_price_var_amt_t, qty_var_amt_t, total_var_amt_t FROM apps.fii_ap_inv_lines_fcv WHERE total_var_amt_t <> 0 ORDER BY ABS(total_var_amt_t) DESC;
Because the view is a fact-collector construct, queries should generally be restricted by accounting date and organization to limit scan volume, and joined to FII dimension views via the exposed FK columns rather than re-joining to EBS base tables.
-
VIEW: APPS.FII_AP_INV_LINES_FCV
12.1.1
-
View: FII_AP_INV_LINES_FCV
12.2.2
product: FII - Financial Intelligence (Obsolete) , description: Internal view used for warehouse data extraction. , implementation_dba_data: Not implemented in this database ,
-
View: FII_AP_INV_LINES_FCV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FII.FII_AP_INV_LINES_FCV, object_name:FII_AP_INV_LINES_FCV, status:VALID, product: FII - Financial Intelligence , description: Internal view used for warehouse data extraction. , implementation_dba_data: APPS.FII_AP_INV_LINES_FCV ,
-
VIEW: APPS.FII_AP_INV_LINES_FCV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FII.FII_AP_INV_LINES_FCV, object_name:FII_AP_INV_LINES_FCV, status:VALID,
-
View: FIIBV_AP_INV_LINES_FCV
12.2.2
product: FII - Financial Intelligence (Obsolete) , description: FIIBV_AP_INV_LINES_FCV is the base view for FII_AP_INV_LINES_F fact , implementation_dba_data: Not implemented in this database ,
-
View: FIIBV_AP_INV_LINES_FCV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FII.FIIBV_AP_INV_LINES_FCV, object_name:FIIBV_AP_INV_LINES_FCV, status:VALID, product: FII - Financial Intelligence , description: FIIBV_AP_INV_LINES_FCV is the base view for FII_AP_INV_LINES_F fact , implementation_dba_data: APPS.FIIBV_AP_INV_LINES_FCV ,
-
VIEW: APPS.FIIBV_AP_INV_LINES_FCV
12.1.1
-
APPS.FII_AP_INV_LINES_F_C SQL Statements
12.1.1
-
VIEW: APPS.FIIBV_AP_INV_LINES_FCV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FII.FIIBV_AP_INV_LINES_FCV, object_name:FIIBV_AP_INV_LINES_FCV, status:VALID,
-
VIEW: APPS.POA_FII_AP_INV_LINES_F_V
12.1.1
owner:APPS, object_type:VIEW, object_name:POA_FII_AP_INV_LINES_F_V, status:VALID,
-
TABLE: FII.FII_AP_INV_LINES_F
12.1.1
owner:FII, object_type:TABLE, fnd_design_data:FII.FII_AP_INV_LINES_F, object_name:FII_AP_INV_LINES_F, status:VALID,
-
TABLE: FII.FII_AP_INV_LINES_FSTG
12.1.1
owner:FII, object_type:TABLE, fnd_design_data:FII.FII_AP_INV_LINES_FSTG, object_name:FII_AP_INV_LINES_FSTG, status:VALID,
-
PACKAGE BODY: APPS.FII_AP_INV_LINES_F_C
12.1.1
-
eTRM - FII Tables and Views
12.1.1
description: This table stores the mapping of leaf nodes from pruned dimension to nodes in the child value sets ,