Results for “distribution_line_number”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The AP_TRIAL_BALANCE table is a denormalized reporting structure within the Oracle Payables (AP) module. It stores summarized information about posted invoices for the accrual set of books, providing a flattened view of invoice distribution and payment data that would otherwise require joining multiple normalized tables. Its purpose is to support trial balance reporting and reconciliation activities by pre-aggregating distribution-level amounts against posted invoices.
From a Data Vault modeling perspective, the heuristic classification for this object is a link table. This is inferred from its foreign key structure, which connects AP_INVOICES_ALL and AP_INVOICE_DISTRIBUTIONS_ALL through the composite business keys INVOICE_ID and DISTRIBUTION_LINE_NUMBER. In a Data Vault design, this table would function as a transactional link capturing the relationship between an invoice header and its distribution lines, with descriptive satellite attributes such as amounts and accounting dates.
Key Information Stored
The table contains five documented columns in the ETRM 12.2.2 physical schema. The primary key, AP_TRIAL_BALANCE_PK, is a composite surrogate key comprising INVOICE_ID and DISTRIBUTION_LINE_NUMBER. These two columns also serve as the business-key candidates, as they uniquely identify each row and carry the foreign key relationships to the underlying invoice and distribution tables.
- INVOICE_ID — The unique identifier of the posted invoice. This column participates in both foreign key relationships, referencing
AP_INVOICES_ALL.INVOICE_IDandAP_INVOICE_DISTRIBUTIONS_ALL.INVOICE_ID. - DISTRIBUTION_LINE_NUMBER — The line number identifying the specific distribution within the invoice. Combined with
INVOICE_ID, it forms the composite primary key. - ACCOUNTING_DATE — The GL accounting date associated with the posted invoice, used to determine the accounting period for trial balance reporting.
- PAYMENT_AMOUNT — The payment amount applied against the invoice, supporting cash-basis or accrual reconciliation.
- DISTRIBUTION_AMOUNT — The distribution-level amount for the invoice line, representing the actual expense or liability posted to the accrual set of books.
Common Use Cases and Queries
The primary use case is generating trial balance extracts for the accrual set of books without joining the full normalized invoice and distribution tables. Typical scenarios include period-end reconciliation, audit preparation, and accrual reporting.
A representative query retrieving distribution amounts by accounting period:
SELECT INVOICE_ID, DISTRIBUTION_LINE_NUMBER, ACCOUNTING_DATE, DISTRIBUTION_AMOUNT, PAYMENT_AMOUNT FROM AP.AP_TRIAL_BALANCE WHERE ACCOUNTING_DATE BETWEEN :start_date AND :end_date ORDER BY ACCOUNTING_DATE, INVOICE_ID;
Aggregating payment versus distribution amounts to identify variances:
SELECT INVOICE_ID, SUM(DISTRIBUTION_AMOUNT) total_dist, SUM(PAYMENT_AMOUNT) total_paid FROM AP.AP_TRIAL_BALANCE GROUP BY INVOICE_ID HAVING SUM(DISTRIBUTION_AMOUNT) != SUM(PAYMENT_AMOUNT);
Joining back to AP_INVOICES_ALL for vendor and invoice number context:
SELECT ai.INVOICE_NUM, ai.VENDOR_ID, tb.ACCOUNTING_DATE, tb.DISTRIBUTION_AMOUNT FROM AP.AP_TRIAL_BALANCE tb JOIN AP.AP_INVOICES_ALL ai ON tb.INVOICE_ID = ai.INVOICE_ID;
Related Objects
The following objects are most significant to AP_TRIAL_BALANCE based on the documented foreign key relationships and module context:
- AP_INVOICES_ALL — Referenced via
AP_TRIAL_BALANCE.INVOICE_ID = AP_INVOICES_ALL.INVOICE_ID; provides invoice header attributes such as vendor, invoice number, and invoice date. - AP_INVOICE_DISTRIBUTIONS_ALL — Referenced via the composite key
INVOICE_IDandDISTRIBUTION_LINE_NUMBER; provides distribution detail including accounting flexfield and line amounts. - AP_INVOICE_PAYMENTS_ALL — Related through
INVOICE_IDto reconcile payment activity reflected inPAYMENT_AMOUNT. - AP_PAYMENT_SCHEDULES_ALL — Provides scheduled payment information that aligns with trial balance payment amounts.
- GL_JE_LINES — The General Ledger journal lines generated from posted invoice distributions, useful for cross-validating trial balance figures against GL balances.
- AP_ACCOUNTING_EVENTS_ALL — Links accounting events to invoices, supporting audit and period-close reconciliation.
These relationships make AP_TRIAL_BALANCE a practical anchor for Payables accrual reporting and reconciliation workflows in Oracle EBS 12.1.1 and 12.2.2.
-
Denormalized information about posted invoices for your accrual set of books
-
Extended multi-period posting table containing information about invoice distributions
-
APPS.AP_CHARGE_ALLOCATIONS_V·↳ AP_INVOICE_DISTRIBUTIONS·↳ AP_LOOKUP_CODES·↳ FND_GLOBAL·Explore AP module →
-
View: AP_POL_VIOLATIONS_V 12.2.2
APPS.AP_POL_VIOLATIONS_V·↳ AP_LOOKUP_CODES·↳ AP_POL_VIOLATIONS·↳ FND_GLOBAL·Explore AP module →
-
Extended multi-period posting table containing information about invoice distributions
-
OIE Archive Table for Policy Violations
-
Temporary table for processing PMC-29 Cash Position
-
View: APBV_POL_VIOLATIONS 12.1.1
Based on AP_POL_VIOLATIONS_ALL, this business view contains expense policy violation data.
APPS.APBV_POL_VIOLATIONS·↳ AP_POL_VIOLATIONS_ALL·Explore AP module →
-
View: OIE_MGR_RPT_V 12.1.1
Reporting View for Expenses Management Reporting
APPS.OIE_MGR_RPT_V·↳ AP_EXPENSE_REPORTS·↳ AP_EXPENSE_REPORT_HEADERS·↳ AP_EXPENSE_REPORT_LINES·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 →
-
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
-
This table is used to store policy violation information for expensereports.
-
Table: FA_COSTCLEAR_REP_ITF 12.2.2
Interface table for Report eXchange reports
-
Used for bulk propagation of taxes by India - to insert taxes by pay on receipt.
-
Invoice distribution line information in MRC defined reporting currency
-
Provides invoice distribution lines which fall within flexfield ranges assigned to department approvers.
APPS.IGI_AP_INV_DISTRIBUTIONS_V·↳ AP_BATCHES_ALL·↳ AP_HOLDS_ALL·↳ AP_INVOICES_ALL·Explore IGI module →
-
Stores payable invoicedetails for assets,which added as a part of bulk import.
-
View for all expense report lines that are ready for payment or have already been paid.
APPS.AP_EXPENSE_REPORT_LINES_V·↳ AP_EXPENSE_REPORTS_ALL·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore AP module →
-
View for all expense report lines that are ready for payment or have already been paid.
APPS.AP_EXPENSE_REPORT_LINES_V·↳ AP_EXPENSE_REPORTS_ALL·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore AP module →
-
View: FV_INVOICE_DTL_V 12.2.2
The View is used to retrieve Invoice details in the form 'Document Cross-Reference'
APPS.FV_INVOICE_DTL_V·↳ AP_INVOICES_ALL·↳ AP_INVOICES_PKG·↳ AP_INVOICES_UTILITY_PKG·Explore FV module →
-
Table: IGI_INV_DIST_GT 12.1.1
-
Invoice distribution line information
-
Table: IGI_INV_DIST_GT 12.2.2
-
This table is used to store policy violation information for expensereports.
-
View: IGI_SAP_EXCEPTIONS_V 12.2.2
Provides exceptions raised for invoices that require secondary approval.
APPS.IGI_SAP_EXCEPTIONS_V·↳ AP_BATCHES_ALL·↳ AP_HOLDS_ALL·↳ AP_INVOICES·Explore IGI module →
-
Denormalized information about posted invoices for your accrual set of books
-
View for all expense report violations and corresponding expense report lines that are ready for payment or have already been paid.
APPS.AP_EXPENSE_REPORT_VIOLATIONS_V·↳ AP_EXPENSE_REPORTS_ALL·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore AP module →
-
Stores the variance information detail for a purchase order distribution and each batch run
-
Provides invoice distribution lines which fall within flexfield ranges assigned to department approvers.
APPS.IGI_AP_INV_DISTRIBUTIONS_V·↳ AP_BATCHES_ALL·↳ AP_HOLDS_ALL·↳ AP_INVOICES_ALL·Explore IGI module →
-
View: AP_POL_VIOLATIONS_V 12.1.1
APPS.AP_POL_VIOLATIONS_V·↳ AP_LOOKUP_CODES·↳ AP_POL_VIOLATIONS·↳ FND_GLOBAL·Explore AP module →
-
Stores payable invoicedetails for assets,which added as a part of bulk import.
-
APPS.AP_CHARGE_ALLOCATIONS_V·↳ AP_INVOICE_DISTRIBUTIONS·↳ AP_LOOKUP_CODES·↳ FND_GLOBAL·Explore AP module →
-
Details of Oracle Payables invoices that prevent a period from being cloded.
APPS.PA_AP_INV_EXCEPTIONS_DET_V·↳ PA_AP_INV_EXCEPTIONS_SUM_V·↳ PA_EXCEPTION_REASONS_PUB·↳ PA_EXPENDITURES_UTILS·Explore PA module →
-
View: ICX_AP_EXPENSE_LINES_V 12.2.2
Employee Expense Reports Line View
APPS.ICX_AP_EXPENSE_LINES_V·↳ AP_EXPENSE_REPORT_HEADERS·↳ AP_EXPENSE_REPORT_LINES·↳ AP_EXPENSE_REPORT_PARAMS·Explore ICX module →
-
View: FA_ASSET_INVOICES_V 12.2.2
Business view of asset identification, financial, and purchasing information
APPS.FA_ASSET_INVOICES_V·↳ FA_ADDITIONS·↳ FA_ASSET_INVOICES·↳ FA_BOOKS·Explore OFA module →
-
View: FA_ASSET_INVOICES_V 12.1.1
Business view of asset identification, financial, and purchasing information
APPS.FA_ASSET_INVOICES_V·↳ FA_ADDITIONS·↳ FA_ASSET_INVOICES·↳ FA_BOOKS·Explore OFA module →
-
Invoice distribution withholding information for Argentina and Colombia
-
Used as a intermediate table for holding the purchase register report details
-
APPS.CSTBV_RCV_ACQ_COST_DETAILS·↳ AP_INVOICES_ALL·↳ AP_INVOICE_DISTRIBUTIONS_ALL·↳ CST_COST_GROUPS·Explore BOM module →
-
View: OIE_MGR_RPT_V 12.2.2
Reporting View for Expenses Management Reporting
APPS.OIE_MGR_RPT_V·↳ AP_EXPENSE_REPORTS·↳ AP_EXPENSE_REPORT_HEADERS·↳ AP_EXPENSE_REPORT_LINES·Explore AP module →
-
View: PA_PROJ_AP_INV_DIST_V 12.2.2
APPS.PA_PROJ_AP_INV_DIST_V·↳ AP_INVOICES_ALL·↳ AP_INVOICES_PKG·↳ AP_INVOICE_DISTRIBUTIONS_ALL·Explore PA module →
-
Business view
APPS.APFV_AP_INVOICE_DISTRIBUTIONS·↳ AP_INVOICE_DISTRIBUTIONS·↳ GL_CODE_COMBINATIONS·Explore AP module →
-
PA_AP_INV_EXCEPTIONS_SUM_V is a view that identifies the Payables invoices that prevent a period from being closed.
APPS.PA_AP_INV_EXCEPTIONS_SUM_V·↳ AP_CHECKS_ALL·↳ AP_INVOICES_ALL·↳ AP_INVOICE_DISTRIBUTIONS_ALL·Explore PA module →
-
PA_AP_INV_EXCEPTIONS_SUM_V is a view that identifies the Payables invoices that prevent a period from being closed.
APPS.PA_AP_INV_EXCEPTIONS_SUM_V·↳ AP_CHECKS_ALL·↳ AP_INVOICES_ALL·↳ AP_INVOICE_DISTRIBUTIONS_ALL·Explore PA module →
-
Interface table for Report eXchange reports
-
Temporary table for processing PMC-29 Cash Position
-
View: APBV_POL_VIOLATIONS 12.2.2
Based on AP_POL_VIOLATIONS_ALL, this business view contains expense policy violation data.
APPS.APBV_POL_VIOLATIONS·↳ AP_POL_VIOLATIONS_ALL·Explore AP module →