Search Results ap_payment_hist_dists
Overview
The AP_PAYMENT_HIST_DISTS table is a core transactional table within the Oracle E-Business Suite Payables module (AP). It serves as a critical staging and historical repository for payment distribution data specifically during the accounting process. As documented in the ETRM, this table is populated during the pre-processing phase of the accounting extract, which is triggered when a user initiates the Payables accounting process. Its primary role is to associate detailed payment distribution lines with their corresponding payment accounting events, thereby providing the granular data necessary for generating accurate and auditable accounting entries for payments in the general ledger.
Key Information Stored
While the provided metadata does not list specific columns, the table's description and foreign key relationship indicate it stores distribution-level details for payments. Based on its function and standard Oracle EBS table naming conventions, it typically holds data such as the distribution amount, accounting date, and the associated accounting event identifier. The most critical column documented is the INVOICE_PAYMENT_ID, which is the foreign key linking each distribution record back to its parent payment in the AP_INVOICE_PAYMENTS_ALL table. This link is essential for tracing the full accounting lifecycle from invoice payment to its final general ledger impact.
Common Use Cases and Queries
The primary use case for this table is troubleshooting and auditing the accounting entries created for supplier payments. Analysts and accountants query this table to verify the distributions that were processed for a specific accounting event or payment batch. A common reporting need is to reconcile payment amounts to the sum of their distributions. A sample query pattern would join this table to its parent payment table to analyze distribution details:
- Sample SQL: SELECT aiph.check_id, aphd.* FROM ap_payment_hist_dists aphd, ap_invoice_payments_all aiph WHERE aphd.invoice_payment_id = aiph.invoice_payment_id AND aiph.check_id = :p_check_id;
- Use Case: Identifying discrepancies in payment accounting or investigating errors from the Payables accounting process by examining the pre-processed distribution data before it is posted to the GL.
Related Objects
The AP_PAYMENT_HIST_DISTS table has a direct and documented foreign key relationship with a core Payables table, as per the provided metadata:
- AP_INVOICE_PAYMENTS_ALL: This is the primary parent table. The relationship is defined on the column AP_PAYMENT_HIST_DISTS.INVOICE_PAYMENT_ID, which references AP_INVOICE_PAYMENTS_ALL. This join is fundamental for retrieving the payment header information (e.g., check number, payment date) associated with the distribution records.
- This table is also intrinsically linked to the Payables Accounting Event Manager infrastructure. It feeds data into the accounting engine (XLA – Subledger Accounting) and is related to objects like AP_AE_HEADERS and AP_AE_LINES for the final created accounting entries.
-
Table: AP_PAYMENT_HIST_DISTS
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_PAYMENT_HIST_DISTS, object_name:AP_PAYMENT_HIST_DISTS, status:VALID, product: AP - Payables , description: The APHD table is populated during the pre-processing of the accounting extract that occurs when the Payables user launches the accounting process. Payment distributions are associated with payment accounting events referenced in each row , implementation_dba_data: AP.AP_PAYMENT_HIST_DISTS ,
-
Table: AP_PAYMENT_HIST_DISTS
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_PAYMENT_HIST_DISTS, object_name:AP_PAYMENT_HIST_DISTS, status:VALID, product: AP - Payables , description: The APHD table is populated during the pre-processing of the accounting extract that occurs when the Payables user launches the accounting process. Payment distributions are associated with payment accounting events referenced in each row , implementation_dba_data: AP.AP_PAYMENT_HIST_DISTS ,
-
APPS.PAAPIMP_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.AP_MASS_ADDITIONS_CREATE_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.PAAP_PWP_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.PA_CMT_UTILS dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.PAAPIMP_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.PAAPIMP_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.AP_ACCTG_PAY_DIST_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.AP_SLA_PROCESSING_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.JL_CO_GL_NIT_MANAGEMENT dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.AP_ACCTG_PAY_DIST_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.FII_AP_INV_LINES_F_C dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.AP_ACCTG_DATA_FIX_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.FV_SLA_AP_PROCESSING_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.PA_TRX_IMPORT dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.PAAP_PWP_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.GMS_PA_COSTING_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.ZX_AP_ACTG_POPULATE_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.AP_ACCTG_PAY_ROUND_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.PA_CMT_UTILS dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.FV_FACTS_TRX_REGISTER dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.AP_ACCTG_PAY_ROUND_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.AP_SLA_PROCESSING_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.PA_TRX_IMPORT dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.AP_ACCTG_PAY_DIST_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.AP_ACCOUNTING_PAY_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.PA_PURGE_VALIDATE_COSTING dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.FV_GTAS_TRX_REGISTER dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.PA_PURGE_VALIDATE_COSTING dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.ZX_AP_ACTG_POPULATE_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.AP_XLA_UPGRADE_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.AP_ACCTG_DATA_FIX_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.FV_GTAS_GL_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.ZX_AP_POPULATE_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.AP_ACCTG_PAY_DIST_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.GMS_PA_COSTING_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.2.2
-
APPS.AP_XLA_UPGRADE_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.AP_ACCOUNTING_PAY_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.ZX_AP_POPULATE_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.FV_FACTS_TRX_REGISTER dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.PAAPIMP_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.JE_IL_TAX_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.AP_MASS_ADDITIONS_CREATE_PKG dependencies on AP_PAYMENT_HIST_DISTS
12.1.1
-
APPS.AP_SLA_PROCESSING_PKG dependencies on DUAL
12.2.2
-
APPS.AP_ACCOUNTING_PAY_PKG dependencies on AP_PAYMENT_HISTORY_ALL
12.1.1
-
APPS.AP_ACCTG_PAY_ROUND_PKG dependencies on AP_PAYMENT_HISTORY_ALL
12.1.1
-
APPS.AP_ACCTG_PAY_ROUND_PKG dependencies on AP_PAYMENT_HISTORY
12.2.2
-
APPS.AP_ACCTG_PAY_ROUND_PKG SQL Statements
12.2.2
-
APPS.AP_ACCTG_PAY_ROUND_PKG dependencies on AP_PAYMENT_HISTORY_ALL
12.2.2