Search Results ap_ppa_invoice_dists_gt
Overview
AP_PPA_INVOICE_DISTS_GT is a Payables module table owned by the AP schema in Oracle E-Business Suite 12.1.1 and 12.2.2. The suffix _GT identifies it as a global temporary table. In the Oracle EBS architecture, global temporary tables are used as transient staging structures whose data is visible only within a session or transaction. In the context of Payables, AP_PPA_INVOICE_DISTS_GT supports the Public Sector Payables (PPA) processing path, which handles invoice distributions subject to special accounting treatments such as award tracking, project-related expenditure recognition, and withholding tax processing.
The physical schema documented in ETRM 12.1.1 contains 108 columns, reflecting the breadth of attributes required to capture invoice distribution detail while also carrying ancillary data for assets, projects, encumbrances, tax, and payables withholding. Although the object is not formally constrained as a parent or child within a warehouse star schema, the heuristic Data Vault classification derived from its foreign key structure is standalone, suggesting it is best modeled as an independent staging or source object rather than a standard hub, link, or satellite.
Key Information Stored
The most consequential columns in this table describe the identity, accounting, and classification of each invoice distribution line:
- INVOICE_DISTRIBUTION_ID — the surrogate primary key for an invoice distribution, linking back to the permanent AP_INVOICE_DISTRIBUTIONS_ALL table.
- INVOICE_ID and INVOICE_LINE_NUMBER — the parent invoice header and line to which the distribution belongs.
- DIST_CODE_COMBINATION_ID — the accounting flexfield combination for the distribution.
- AMOUNT and BASE_AMOUNT — the entered and functional-currency distribution amounts.
- ACCOUNTING_DATE and PERIOD_NAME — the accounting date and Payables period for the distribution.
- DISTRIBUTION_LINE_NUMBER and DISTRIBUTION_CLASS — ordering and classification of the distribution line (for example, ITEM, TAX, FREIGHT).
- LINE_TYPE_LOOKUP_CODE and DIST_MATCH_TYPE — lookups identifying the line type and matching behavior.
- POSTED_FLAG, ACCRUAL_POSTED_FLAG, and CASH_POSTED_FLAG — status indicators for accounting, accrual, and cash posting activity.
- AWARD_ID — a foreign key into IGF_AW_AWARD_ALL, tying the distribution to Public Sector award management.
- PROJECT_ID, TASK_ID, and EXPENDITURE_TYPE — project accounting attributes for distributions that feed Oracle Projects.
- SET_OF_BOOKS_ID and ORG_ID — the ledger and operating unit context.
- ASSETS_TRACKING_FLAG and ASSETS_ADDITION_FLAG — flags indicating whether the line is tracked as or posted to a fixed asset.
The surrogate key is INVOICE_DISTRIBUTION_ID. Business-key candidates for uniqueness are formed from INVOICE_ID, INVOICE_LINE_NUMBER, and DISTRIBUTION_LINE_NUMBER.
Common Use Cases and Queries
This staging table is typically populated during PPA invoice processing and consumed to produce permanent invoice distribution records. Common scenarios include:
- Reviewing unposted accrual or cash lines before final posting:
SELECT invoice_id, invoice_line_number, distribution_line_number,
amount, accounting_date, period_name, posted_flag
FROM ap.ap_ppa_invoice_dists_gt
WHERE posted_flag = 'N';
- Award-linked reporting for Public Sector clients:
SELECT g.award_id, a.award_number, SUM(g.amount) award_total
FROM ap.ap_ppa_invoice_dists_gt g,
igf.igf_aw_award_all a
WHERE g.award_id = a.award_id
GROUP BY g.award_id, a.award_number;
- Reconciling project expenditure attributes before Project Accounting import.
- Validating distribution class and lookup codes against FND_LOOKUPS.
- Auditing withholding tax distributions using WITHHOLDING_TAX_CODE_ID and AWT_GROUP_ID.
Related Objects
The following objects are most significant when working with this table:
- IGF_AW_AWARD_ALL — joined on AWARD_ID; the sole documented foreign key target.
- AP_INVOICE_DISTRIBUTIONS_ALL — the permanent distribution table populated from staged rows via INVOICE_DISTRIBUTION_ID.
- AP_INVOICES_ALL — parent invoice header, joined on INVOICE_ID.
- AP_INVOICE_LINES_ALL — invoice line detail, joined on INVOICE_ID and INVOICE_LINE_NUMBER.
- AP_PAYMENT_SCHEDULES_ALL — payment schedules generated from distributions sharing INVOICE_ID.
- GL_CODE_COMBINATIONS — accounting flexfield validation, joined on DIST_CODE_COMBINATION_ID.
- PA_PROJECTS_ALL and PA_TASKS — project and task validation on PROJECT_ID and TASK_ID.
- FA_ASSET_HEADERS / FA_ADDITIONS_B — asset creation targets referenced through the asset tracking flags.
-
Table: AP_PPA_INVOICE_DISTS_GT
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_PPA_INVOICE_DISTS_GT, object_name:AP_PPA_INVOICE_DISTS_GT, status:VALID, product: AP - Payables , implementation_dba_data: AP.AP_PPA_INVOICE_DISTS_GT ,
-
Table: AP_PPA_INVOICE_DISTS_GT
12.2.2
product: AP - Payables , implementation_dba_data: Not implemented in this database ,
-
SYNONYM: APPS.AP_PPA_INVOICE_DISTS_GT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_PPA_INVOICE_DISTS_GT, status:VALID,
-
PACKAGE BODY: APPS.AP_RETRO_PRICING_UTIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_RETRO_PRICING_UTIL_PKG, status:VALID,
-
SYNONYM: APPS.AP_PPA_INVOICE_DISTS_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_PPA_INVOICE_DISTS_GT, status:VALID,
-
PACKAGE BODY: APPS.AP_RETRO_PRICING_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_RETRO_PRICING_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_RETRO_PRICING_UTIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_RETRO_PRICING_UTIL_PKG, status:VALID,
-
APPS.AP_RETRO_PRICING_PKG SQL Statements
12.2.2
-
APPS.AP_RETRO_PRICING_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.AP_RETRO_PRICING_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_RETRO_PRICING_PKG, status:VALID,
-
TABLE: AP.AP_PPA_INVOICE_DISTS_GT
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_PPA_INVOICE_DISTS_GT, object_name:AP_PPA_INVOICE_DISTS_GT, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
TABLE: AP.AP_PPA_INVOICE_DISTS_GT1
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_PPA_INVOICE_DISTS_GT1, object_name:AP_PPA_INVOICE_DISTS_GT1, status:VALID,
-
PACKAGE BODY: APPS.AP_RETRO_PRICING_PKG
12.2.2
-
APPS.AP_RETRO_PRICING_UTIL_PKG SQL Statements
12.2.2
-
APPS.AP_RETRO_PRICING_PKG dependencies on AP_PPA_INVOICE_DISTS_GT
12.1.1
-
APPS.AP_RETRO_PRICING_PKG dependencies on AP_PPA_INVOICE_DISTS_GT
12.2.2
-
APPS.AP_RETRO_PRICING_UTIL_PKG dependencies on AP_PPA_INVOICE_DISTS_GT
12.2.2
-
APPS.AP_RETRO_PRICING_UTIL_PKG dependencies on AP_PPA_INVOICE_DISTS_GT
12.1.1
-
PACKAGE BODY: APPS.AP_RETRO_PRICING_PKG
12.1.1
-
APPS.AP_RETRO_PRICING_UTIL_PKG SQL Statements
12.1.1
-
APPS.AP_RETRO_PRICING_PKG dependencies on AP_PPA_INVOICE_LINES_GT
12.1.1
-
APPS.AP_RETRO_PRICING_PKG dependencies on PO_DISTRIBUTIONS_ALL
12.1.1
-
APPS.AP_RETRO_PRICING_PKG dependencies on AP_PPA_INVOICE_LINES_GT
12.2.2
-
APPS.AP_RETRO_PRICING_PKG dependencies on PO_DISTRIBUTIONS_ALL
12.2.2
-
APPS.AP_RETRO_PRICING_PKG dependencies on FND_GLOBAL
12.1.1
-
PACKAGE BODY: APPS.AP_RETRO_PRICING_UTIL_PKG
12.2.2
-
APPS.AP_RETRO_PRICING_PKG dependencies on FND_GLOBAL
12.2.2
-
APPS.AP_RETRO_PRICING_UTIL_PKG dependencies on AP_INVOICE_DISTRIBUTIONS_ALL
12.2.2
-
APPS.AP_RETRO_PRICING_UTIL_PKG dependencies on AP_INVOICE_DISTRIBUTIONS_ALL
12.1.1
-
PACKAGE BODY: APPS.AP_RETRO_PRICING_UTIL_PKG
12.1.1
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,
-
APPS.AP_RETRO_PRICING_PKG dependencies on AP_RETRO_PRICING_UTIL_PKG
12.1.1
-
APPS.AP_RETRO_PRICING_PKG dependencies on AP_RETRO_PRICING_UTIL_PKG
12.2.2
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,