Results for “ap_awt_temp_distributions_all”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

AP_AWT_TEMP_DISTRIBUTIONS_ALL is a Payables (AP) module table in Oracle E-Business Suite, documented as VALID in the AP schema and titled "Withholding tax temporary distributions." It exists to hold the intermediate withholding tax calculation results generated during the Payables payment process for invoices subject to withholding tax (AWT) rules. Where the permanent withholding tax distributions are ultimately posted to the General Ledger, this table stores the temporary, process-scoped records that the withholding tax engine creates as it evaluates invoice lines, tax rates, and withholding groups against a given payment batch. It is populated and consumed during payment processing and withholding tax reporting, and its contents are specific to a selected payment run rather than being a long-lived transactional ledger in the ordinary sense.

From a data-modeling perspective, the heuristic Data Vault classification mined from the foreign key structure is link. This is consistent with the table's role: it associates an invoice, a withholding group, a tax rate, an invoice payment, and a payment selection run, and it carries a small number of descriptive and amount-bearing attributes (gross amount, withholding amount, base withholding amount). Practically, the table functions as a transaction-level staging link, and its rows should be thought of as belonging to a processing run identified by CHECKRUN_NAME / CHECKRUN_ID.

Key Information Stored

The table is physically defined with 37 columns in the documented 12.2.2 schema. The most significant columns are:

No surrogate primary key column is named in the documented metadata; the FK structure indicates the table is best keyed by the combination of invoice, payment, group, tax rate, and check run rather than by a single synthetic column. The GLOBAL_ATTRIBUTE_CATEGORY and GLOBAL_ATTRIBUTE1 through GLOBAL_ATTRIBUTE20 columns provide the standard EBS extensibility descriptor set.

Common Use Cases and Queries

Typical reporting use cases include reconciling withholding tax deducted on payments, auditing the tax amounts computed for a payment batch, and validating that the distribution was coded to the correct tax code combination before it posts to GL. A representative query joins the table to AP_INVOICES_ALL and GL_CODE_COMBINATIONS to list withholding amounts by check run:

  • SELECT a.invoice_id, a.payment_num, a.tax_name, a.withholding_amount, a.period_name FROM ap_awt_temp_distributions_all a WHERE a.checkrun_name = :checkrun_name;
  • Join to AP_AWT_GROUPS and AP_AWT_TAX_RATES_ALL to attribute withholding per group and rate.
  • Join to GL_CODE_COMBINATIONS to verify the tax account assignment for auditor review.
  • Aggregate BASE_WITHHOLDING_AMOUNT by ORG_ID and PERIOD_NAME for functional-currency withholding summaries.

Because rows are generated per payment processing run, reporting should always filter by CHECKRUN_ID or CHECKRUN_NAME rather than assuming persistent history.

Related Objects

  • AP_INVOICES_ALL — via INVOICE_ID.
  • AP_INVOICE_PAYMENTS_ALL — via INVOICE_PAYMENT_ID.
  • AP_AWT_GROUPS — via GROUP_ID.
  • AP_AWT_TAX_RATES_ALL — via TAX_RATE_ID.
  • AP_INV_SELECTION_CRITERIA_ALL — via CHECKRUN_NAME and CHECKRUN_ID.
  • GL_CODE_COMBINATIONS — via TAX_CODE_COMBINATION_ID.