Search Results icx_ap_expense_lines_v
Overview
ICX_AP_EXPENSE_LINES_V is a reporting view owned by the APPS schema in Oracle E-Business Suite, shipped as part of the ICX (Oracle iProcurement) product family. The view is described in the ETRM repository as the "Employee Expense Reports Line View" and is registered with a status of VALID in both 12.1.1 and 12.2.2 environments. Its primary purpose is to expose expense report distribution lines — that is, the individual expense lines flowing into an AP invoice — in a form suitable for display and processing within the iProcurement self-service expense entry and review flows.
Functionally, the view resolves the gap between the normalized Payables expense distribution model and the flattened, presentation-oriented structure that Internet Computing Architecture (ICX) pages require. Rather than joining AP tables directly, ICX pages and related reports query this view, which supplies both raw identifiers (invoice ID, distribution line number) and pre-formatted, currency-masked monetary amounts. It also injects security and descriptive enrichment through lookups, project and task segments, grants award numbers, and workforce management prompts.
Underlying Base Objects
Per the ETRM 12.2.2 metadata, ICX_AP_EXPENSE_LINES_V is defined over the following documented base objects, most of which are APPS synonyms over the corresponding ERP tables:
- AP_EXPENSE_REPORT_HEADERS and AP_EXPENSE_REPORT_LINES — the core expense report structures.
- AP_EXPENSE_REPORT_PARAMS — supplies the web-friendly prompt that replaces the raw description for the expense type.
- AP_INVOICES and AP_INVOICE_DISTRIBUTIONS — source of invoice currency, distribution amounts, dates, flags, and descriptive attributes.
- FND_CURRENCY (package) and FND_GLOBAL (package) — currency format masks and session context.
- FND_LOOKUPS (view) — seeded lookups used for supplemental display values.
- HR_GENERAL and HR_SECURITY (packages) — person and security context for the expense report owner.
- PA_PROJECTS_ALL and PA_TASKS — project segment and task identifier for expense allocations.
- GMS_SSA_AWARDS_V — award number derivation for grant-funded expenses.
The view text confirms an inner join between AP_INVOICES and AP_INVOICE_DISTRIBUTIONS on INVOICE_ID, with an outer join to AP_EXPENSE_REPORT_PARAMS via WEB_PARAMETER_ID, plus additional joins to project, task, and award sources. A filter excludes credit-card reversal lines (CC_REVERSAL_FLAG <> 'Y').
Key Columns
The view exposes both identifiers and formatted display values. Notable columns include:
- REPORT_FOREIGN_KEY — the invoice ID, used by ICX pages to anchor the line to its parent expense report.
- DISTRIBUTION_LINE_NUMBER — the line sequence within the invoice distribution.
- DAYS, START_EXPENSE_DATE, END_EXPENSE_DATE — duration and date range computed as END minus START plus one.
- DAILY_AMOUNT, AMOUNT, RECEIPT_CURRENCY_AMOUNT — monetary values converted to character strings through FND_CURRENCY.GET_FORMAT_MASK, ensuring currency-appropriate formatting on screen.
- RECEIPT_CURRENCY_CODE and RECEIPT_CONVERSION_RATE — receipt-level currency context.
- EXPENSE_TYPE — NVL of the web-friendly prompt and the raw description.
- JUSTIFICATION, RECEIPT_REQUIRED_FLAG, RECEIPT_MISSING_FLAG, RECEIPT_VERIFIED_FLAG — audit and policy indicators.
- DOCUMENT_TYPE — hard-coded as 'INVOICE' to signal the document class.
- SEGMENT1, TASK_NUMBER, AWARD_NUMBER — project, task, and grant context.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–ATTRIBUTE15 — the standard EBS descriptive flexfield columns passed through for extensibility.
Common Use Cases and Queries
Typical use cases include: rendering the expense line detail region in iProcurement expense pages, building custom operational reports of employee expense lines, feeding downstream reconciliation or audit extracts, and joining to AP invoices for approval analysis. Because the view returns formatted monetary strings, it is frequently used directly in BI Publisher and Discoverer reports without additional formatting.
A simple query retrieving the primary expense line attributes for an invoice might resemble:
SELECT REPORT_FOREIGN_KEY, DISTRIBUTION_LINE_NUMBER, EXPENSE_TYPE, AMOUNT, DAYS, SEGMENT1, TASK_NUMBER, AWARD_NUMBER FROM apps.icx_ap_expense_lines_v WHERE REPORT_FOREIGN_KEY = :p_invoice_id ORDER BY DISTRIBUTION_LINE_NUMBER;
To list lines with missing receipts for a date range:
SELECT REPORT_FOREIGN_KEY, EXPENSE_TYPE, AMOUNT, START_EXPENSE_DATE FROM apps.icx_ap_expense_lines_v WHERE RECEIPT_MISSING_FLAG = 'Y' AND START_EXPENSE_DATE BETWEEN :p_from AND :p_to;
Because the view is a thin reporting layer, joins to HR or project tables should generally be performed via the exposed identifiers (invoice ID, segment, task) rather than re-deriving them. Standard APPS security through HR_SECURITY governs which expense lines a user can retrieve, so custom code querying this view inherits the same row-level restrictions as iProcurement screens.
-
View: ICX_AP_EXPENSE_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ICX.ICX_AP_EXPENSE_LINES_V, object_name:ICX_AP_EXPENSE_LINES_V, status:VALID, product: ICX - Oracle iProcurement , description: Employee Expense Reports Line View , implementation_dba_data: APPS.ICX_AP_EXPENSE_LINES_V ,
-
View: ICX_AP_EXPENSE_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ICX.ICX_AP_EXPENSE_LINES_V, object_name:ICX_AP_EXPENSE_LINES_V, status:VALID, product: ICX - Oracle iProcurement , description: Employee Expense Reports Line View , implementation_dba_data: APPS.ICX_AP_EXPENSE_LINES_V ,
-
SYNONYM: APPS.AP_EXPENSE_REPORT_PARAMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_EXPENSE_REPORT_PARAMS, status:VALID,
-
SYNONYM: APPS.AP_EXPENSE_REPORT_PARAMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_EXPENSE_REPORT_PARAMS, status:VALID,
-
VIEW: APPS.GMS_SSA_AWARDS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:GMS.GMS_SSA_AWARDS_V, object_name:GMS_SSA_AWARDS_V, status:VALID,
-
SYNONYM: APPS.AP_EXPENSE_REPORT_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_EXPENSE_REPORT_LINES, status:VALID,
-
VIEW: APPS.GMS_SSA_AWARDS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:GMS.GMS_SSA_AWARDS_V, object_name:GMS_SSA_AWARDS_V, status:VALID,
-
SYNONYM: APPS.AP_EXPENSE_REPORT_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_EXPENSE_REPORT_LINES, status:VALID,
-
SYNONYM: APPS.AP_EXPENSE_REPORT_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_EXPENSE_REPORT_HEADERS, status:VALID,
-
SYNONYM: APPS.AP_EXPENSE_REPORT_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_EXPENSE_REPORT_HEADERS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.ICX_AP_EXPENSE_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ICX.ICX_AP_EXPENSE_LINES_V, object_name:ICX_AP_EXPENSE_LINES_V, status:VALID,
-
VIEW: APPS.ICX_AP_EXPENSE_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ICX.ICX_AP_EXPENSE_LINES_V, object_name:ICX_AP_EXPENSE_LINES_V, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
SYNONYM: APPS.AP_INVOICE_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_DISTRIBUTIONS, status:VALID,
-
SYNONYM: APPS.AP_INVOICE_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_DISTRIBUTIONS, status:VALID,
-
SYNONYM: APPS.AP_INVOICES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES, status:VALID,
-
SYNONYM: APPS.AP_INVOICES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES, status:VALID,
-
PACKAGE: APPS.FND_CURRENCY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_CURRENCY, status:VALID,
-
PACKAGE: APPS.FND_CURRENCY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_CURRENCY, status:VALID,
-
PACKAGE: APPS.HR_SECURITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_SECURITY, status:VALID,
-
PACKAGE: APPS.HR_SECURITY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_SECURITY, status:VALID,
-
SYNONYM: APPS.PA_TASKS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_TASKS, status:VALID,
-
SYNONYM: APPS.PA_TASKS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_TASKS, status:VALID,
-
SYNONYM: APPS.PA_PROJECTS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_PROJECTS_ALL, status:VALID,
-
SYNONYM: APPS.PA_PROJECTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_PROJECTS_ALL, status:VALID,
-
VIEW: APPS.FND_LOOKUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_LOOKUPS, object_name:FND_LOOKUPS, status:VALID,
-
VIEW: APPS.FND_LOOKUPS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_LOOKUPS, object_name:FND_LOOKUPS, status:VALID,
-
eTRM - GMS Tables and Views
12.1.1
description: Versions of award and budget workflows. There can be many workflows for an award or budget. ,
-
eTRM - GMS Tables and Views
12.2.2
description: Versions of award and budget workflows. There can be many workflows for an award or budget. ,
-
PACKAGE: APPS.HR_GENERAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_GENERAL, status:VALID,
-
PACKAGE: APPS.HR_GENERAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_GENERAL, status:VALID,
-
eTRM - ICX Tables and Views
12.2.2
-
eTRM - ICX Tables and Views
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - GMS Tables and Views
12.1.1
description: Versions of award and budget workflows. There can be many workflows for an award or budget. ,
-
eTRM - GMS Tables and Views
12.2.2
description: Versions of award and budget workflows. There can be many workflows for an award or budget. ,
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
PACKAGE: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
eTRM - FND Tables and Views
12.2.2
description: No longer used ,
-
eTRM - FND Tables and Views
12.1.1
description: No longer used ,
-
eTRM - ICX Tables and Views
12.2.2
-
eTRM - ICX Tables and Views
12.1.1
-
eTRM - FND Tables and Views
12.2.2
description: No longer used ,
-
eTRM - FND Tables and Views
12.1.1
description: No longer used ,