Search Results pa_draft_invoices_n7




Overview

PA.PA_DRAFT_INVOICES_ALL is the header-level table for draft invoices generated by Oracle Projects (PA) billing before those invoices are transferred to Oracle Receivables as transactions. Each row represents a single draft invoice for a project, keyed by the surrogate primary key PA_PROJECT_ID combined with DRAFT_INVOICE_NUM. The table is a multi-org view over transactional data, meaning queries automatically filter rows to the operating unit of the current session based on ORG_ID. The FND Design Data registration is PA.PA_DRAFT_INVOICES_ALL, and its storage resides in the APPS_TS_TX_DATA tablespace, confirming it as a high-volume transactional object subject to standard partitioning and purge practices.

In Data Vault terms, the mined classification suggests a satellite-leaning object: project and draft invoice number together form the stable business key, while attributes such as status, flags, and amounts behave as descriptive, historically-adjusted satellite attributes. This classification is a modeling heuristic rather than an enforced constraint.

Key Information Stored

The 94 documented columns cover the full lifecycle of a draft invoice. The most operationally significant are:

Common Use Cases and Queries

Typical usage centers on monitoring draft invoice creation, transfer success, and error resolution. A common pattern filters by project and status to list pending drafts:

  • SELECT DRAFT_INVOICE_NUM, INVOICE_DATE, TRANSFER_STATUS_CODE, UNBILLED_RECEIVABLE_DR FROM PA_DRAFT_INVOICES_ALL WHERE PROJECT_ID = :project_id AND TRANSFER_STATUS_CODE IS NULL;
  • Reporting drafts stuck in error: SELECT PROJECT_ID, DRAFT_INVOICE_NUM, GENERATION_ERROR_FLAG FROM PA_DRAFT_INVOICES_ALL WHERE REQUEST_ID = :request_id AND GENERATION_ERROR_FLAG = 'Y';
  • Reconciliation to Receivables after transfer: join on SYSTEM_REFERENCE = RA_CUSTOMER_TRX_ALL.CUSTOMER_TRX_ID and compare RA_INVOICE_NUMBER.
  • Reporting approved-but-unreleased drafts using APPROVED_DATE and RELEASED_DATE with person lookups via PER_ALL_PEOPLE_F.

These queries benefit from the composite indexes on TRANSFER_STATUS_CODE, APPROVED_BY_PERSON_ID, RELEASED_BY_PERSON_ID, and RA_INVOICE_NUMBER.

Related Objects

PA_DRAFT_INVOICES_ALL is the centre of a dense relationship set. The most significant related objects are:

Because the object is multi-org, all runtime access is filtered through ORG_ID, and any custom reporting must respect that security model to avoid cross-operating-unit leakage.