Results for “line_type_lookup_code”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
AP_CHARGE_ALLOCATIONS_V is a reporting view owned by the APPS schema within the Oracle E-Business Suite Payables (AP) module. It presents a filtered, enriched projection of accounts payable invoice distribution lines, restricted to charge-bearing distribution types. Specifically, the view surfaces distributions whose LINE_TYPE_LOOKUP_CODE is one of ITEM, MISCELLANEOUS, FREIGHT, or PREPAY — the categories that represent tangible charges on an invoice — while excluding other distribution types such as tax, withholding, and recoupment lines.
The view's primary role is to provide a simplified, presentation-ready dataset for reporting and integration. Rather than requiring the report developer or integration consumer to manually join AP_INVOICE_DISTRIBUTIONS against the distribution type lookup view and hand-filter the qualifying line types, this view encapsulates that logic. It also renames several physical columns to friendlier aliases (for example, AMOUNT is exposed as DISTRIBUTION_AMOUNT and the lookup's DISPLAYED_FIELD as LINE_TYPE), reducing the interpretation burden on downstream consumers.
The object is documented as VALID in ETRM and is present across both Oracle EBS 12.1.1 and 12.2.2 releases. Because it is a view, no separate storage or maintenance is required; it always reflects the current committed state of its underlying tables at query time.
Underlying Base Objects
The documented metadata identifies three referenced objects. The principal base object is AP_INVOICE_DISTRIBUTIONS (referenced through a synonym), which holds the individual accounting distribution lines for every invoice. The view selects only those distribution rows whose line type matches the qualifying charge categories.
The second base object is AP_LOOKUP_CODES, itself a view that exposes lookup code values and their user-facing display strings. AP_CHARGE_ALLOCATIONS_V joins to it with LOOKUP_TYPE = 'INVOICE DISTRIBUTION TYPE', matching the distribution's LINE_TYPE_LOOKUP_CODE to the lookup's LOOKUP_CODE. This join supplies the human-readable label exposed as LINE_TYPE.
The third referenced object is the FND_GLOBAL package, the standard Oracle Application Object Library package used for session context (such as responsibility, user, and organization identifiers). Its inclusion in the dependency list indicates that the view or its referenced objects consult session-level context during resolution.
Key Columns
- INVOICE_ID — Identifier of the parent invoice; joins to AP_INVOICES_ALL for header-level attributes such as vendor, invoice number, and currency.
- INVOICE_DISTRIBUTION_ID — Primary key of the underlying distribution line; the unique identifier for each row returned.
- DISTRIBUTION_LINE_NUMBER — Sequence number of the distribution within the invoice, defining display and processing order.
- LINE_TYPE_LOOKUP_CODE — The raw lookup code (ITEM, MISCELLANEOUS, FREIGHT, or PREPAY) identifying the nature of the charge.
- LINE_TYPE — The descriptive label resolved from AP_LOOKUP_CODES (DISPLAYED_FIELD), suitable for direct display in reports.
- DESCRIPTION — Free-text description entered on the distribution line.
- DISTRIBUTION_AMOUNT — The amount of the distribution line, sourced from AP_INVOICE_DISTRIBUTIONS.AMOUNT.
Common Use Cases and Queries
The view is typically used for charge analysis, freight and miscellaneous cost reporting, and reconciliation extracts feeding subledger or data-warehouse processes. A representative query totals charges by type for a given invoice:
SELECT LINE_TYPE, SUM(DISTRIBUTION_AMOUNT) TOTAL_AMOUNT
FROM APPS.AP_CHARGE_ALLOCATIONS_V
WHERE INVOICE_ID = :p_invoice_id
GROUP BY LINE_TYPE;
A second pattern joins to the invoice header to correlate charges with suppliers and periods:
SELECT ai.invoice_num, ai.vendor_id, ca.line_type, ca.distribution_amount
FROM APPS.AP_CHARGE_ALLOCATIONS_V ca,
APPS.AP_INVOICES_ALL ai
WHERE ca.invoice_id = ai.invoice_id
AND ai.invoice_date BETWEEN :p_start AND :p_end;
Because the view already filters to ITEM, MISCELLANEOUS, FREIGHT, and PREPAY lines, consumers should not expect tax, withholding, or other non-charge distributions to appear. Reports requiring the full population of distributions must query AP_INVOICE_DISTRIBUTIONS directly.
-
APPS.AP_CHARGE_ALLOCATIONS_V·↳ AP_INVOICE_DISTRIBUTIONS·↳ AP_LOOKUP_CODES·↳ FND_GLOBAL·Explore AP module →
-
View: AP_APPLICABLE_LINES_V 12.2.2
APPS.AP_APPLICABLE_LINES_V·↳ AP_INVOICE_LINES·↳ AP_LOOKUP_CODES·↳ FND_GLOBAL·Explore AP module →
-
View: AP_APPLICABLE_LINES_V 12.1.1
APPS.AP_APPLICABLE_LINES_V·↳ AP_INVOICE_LINES·↳ AP_LOOKUP_CODES·↳ FND_GLOBAL·Explore AP module →
-
View for TDS Distributions
APPS.JAI_AP_TDS_DISTRIBUTION_V·↳ AP_INVOICES_ALL·↳ AP_INVOICE_DISTRIBUTIONS_ALL·↳ JAI_AP_MATCH_INV_TAXES·Explore JA module →
-
Payment distribution information
-
This table is used to store the taxes related with standalone payables invoices
-
Table: JAI_AP_TDS_DEFAULT 12.2.2
This is an intermediate table that is used to derive the TDS Section Code and Tax category based on Defaultation Setup before populating into JAI_AP_TDS_INV_TAXES
-
Payment distribution information
-
APPS.AP_CHARGE_ALLOCATIONS_V·↳ AP_INVOICE_DISTRIBUTIONS·↳ AP_LOOKUP_CODES·↳ FND_GLOBAL·Explore AP module →
-
Invoice distribution line information in MRC defined reporting currency
-
Table to hold data in Oracle Payables not posted to SLA.
-
Reconciliation distributions records
-
Table to hold data in Oracle Payables not posted to SLA.
-
APPS.APBV_EXPENSE_REPORT_PARAMS·↳ AP_EXPENSE_REPORT_PARAMS_ALL·Explore AP module →
-
Expense type information for expense report templates
-
Stores information on Single Third Party netting transactions.
-
This table is used to store the taxes related with standalone payables invoices
-
Stores information on Single Third Party netting transactions.
-
Expense type information for expense report templates
-
Invoice distribution line information in MRC defined reporting currency
-
Reconciliation distributions records
-
Stores details of all MISCELLANEOUS distributions added for tax in AP invoice.
-
This table holds AP Summary Information. It is used to support AP and POA portlets.
-
APPS.APBV_EXPENSE_REPORT_PARAMS·↳ AP_EXPENSE_REPORT_PARAMS_ALL·Explore AP module →
-
APPS.AP_INVOICE_DISTS_INQUIRY_V·↳ AP_AWT_GROUPS·↳ AP_BATCHES·↳ AP_INCOME_TAX_REGIONS·Explore AP module →
-
View: APFV_AP_INVOICE_LINES 12.2.2
Business View
APPS.APFV_AP_INVOICE_LINES·↳ AP_INVOICE_LINES_ALL·Explore AP module →
-
APPS.AP_INVOICE_DISTS_INQUIRY_V·↳ AP_AWT_GROUPS·↳ AP_BATCHES·↳ AP_INCOME_TAX_REGIONS·Explore AP module →
-
View of project-related invoice distributions in AP for NL
APPS.PA_NL_TRANSFER_AP_INV_VIEW·↳ AP_INVOICE_DISTRIBUTIONS_ALL·↳ MTL_SYSTEM_ITEMS·↳ PO_DISTRIBUTIONS·Explore PA module →
-
View of project-related invoice distributions in AP for NL
APPS.PA_NL_TRANSFER_AP_INV_VIEW·↳ AP_INVOICE_DISTRIBUTIONS_ALL·↳ MTL_SYSTEM_ITEMS·↳ PO_DISTRIBUTIONS·Explore PA module →
-
APPS.AP_INVOICE_DISTRIBUTIONS_V·↳ AP_AWT_GROUPS·↳ AP_BATCHES_ALL·↳ AP_INCOME_TAX_REGIONS·Explore AP module →
-
Stores details of all MISCELLANEOUS distributions added for tax in AP invoice.
-
APPS.APBV_EXPENSE_REPORT_LINES·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore AP module →
-
This table is the staging table for AP Summary Information.
-
View of project-related invoice distributions in AP
APPS.PA_TRANSFER_AP_INVOICES_VIEW·↳ AP_INVOICES_ALL·↳ AP_INVOICE_DISTRIBUTIONS·↳ AP_SYSTEM_PARAMETERS·Explore PA module →
-
Copy of AP_INVOICE_DISTRIBUTIONS and two more columns for investment tax
-
View of project-related invoice distributions in AP
APPS.PA_TRANSFER_AP_INVOICES_VIEW·↳ AP_INVOICES_ALL·↳ AP_INVOICE_DISTRIBUTIONS·↳ AP_SELF_ASSESSED_TAX_DIST·Explore PA module →
-
APPS.AP_INVOICE_LINES_INTERFACE_V·↳ AP_AWT_GROUPS·↳ AP_DISTRIBUTION_SETS·↳ AP_INVOICES_INTERFACE·Explore AP module →
-
View: AP_INVOICE_LINES_V 12.2.2
APPS.AP_INVOICE_LINES_V·↳ AP_AWT_GROUPS·↳ AP_DISTRIBUTION_SETS_ALL·↳ AP_INVOICES_ALL·Explore AP module →
-
Expense item information for employee expense reports
-
APPS.APBV_EXPENSE_REPORT_LINES·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore AP module →