Search Results cc_project_id
Overview
PA_DRAFT_INVOICES_ALL is the Oracle Projects (PA) transactional table that stores draft invoice header information generated for project contracts. Within Oracle EBS 12.1.1 and 12.2.2, it acts as the staging and control point for the invoice lifecycle — from draft generation through approval, release, and transfer into Oracle Receivables as an RA_CUSTOMER_TRX_ALL transaction. Each row represents a single draft invoice for a given project and draft invoice number combination.
From a dimensional modeling perspective, the FK structure suggests a satellite-leaning classification: the table is anchored to PA_PROJECTS_ALL via PROJECT_ID and carries the descriptive, mutable attributes of an invoice (amounts, dates, status flags, addresses). The presence of self-referencing FK relationships (PROJECT_ID and DRAFT_INVOICE_NUM_CREDITED, PROJECT_ID implemented as both PK and FK to itself) also makes it partially link-like, tying draft invoices to credited or predecessor invoice records.
The _ALL suffix indicates this is a multi-organization (MLS) table governed by ORG_ID, so all queries must respect the operating unit context.
Key Information Stored
The primary key is PA_DRAFT_INVOICES_PK (PROJECT_ID, DRAFT_INVOICE_NUM), and a second documented unique index, PA_DRAFT_INVOICES_U1, is defined on the same business-key pair. Among the 94 columns, the most operationally significant are:
PROJECT_IDandDRAFT_INVOICE_NUM— composite PK identifying the draft invoice and its project.TRANSFER_STATUS_CODE,TRANSFERRED_DATE,TRANSFER_REJECTION_REASON— controls the hand-off to Receivables.RA_INVOICE_NUMBERandSYSTEM_REFERENCE— link to the resulting AR transaction inRA_CUSTOMER_TRX_ALL.CUSTOMER_ID,BILL_TO_CUSTOMER_ID,SHIP_TO_CUSTOMER_ID— customer references toHZ_CUST_ACCOUNTS.BILL_TO_ADDRESS_ID,SHIP_TO_ADDRESS_ID— address references toHZ_CUST_ACCT_SITES_ALLandRA_ADDRESSES_ALL.INVOICE_DATE,GL_DATE,PA_DATE,BILL_THROUGH_DATE— key dating attributes for reporting and accounting.INV_CURRENCY_CODE,INV_EXCHANGE_RATE,INV_RATE_TYPE— invoice currency and conversion details.RECEIVABLE_CODE_COMBINATION_ID,UNBILLED_CODE_COMBINATION_ID,UNEARNED_CODE_COMBINATION_ID— GL distribution accounts.CANCELED_FLAG,WRITE_OFF_FLAG,APPROVED_DATE,RELEASED_DATE— lifecycle status indicators.ORG_ID— operating unit / MLS discriminator.
Common Use Cases and Queries
Typical reporting scenarios include tracking draft invoices awaiting approval, identifying transfers that were rejected by AR, and reconciling project invoices to their AR transactions. A representative query joining to the customer master — directly relevant to the hz_cust_accounts search — is:
- Listing invoices by customer:
SELECT pdi.draft_invoice_num, hca.account_number, hca.account_name FROM pa.pa_draft_invoices_all pdi, hz.hz_cust_accounts hca WHERE pdi.customer_id = hca.cust_account_id AND pdi.org_id = :org_id; - Locating un-transferred invoices: filter on
TRANSFER_STATUS_CODEIS NULL or unequal to the transferred value. - Reconciling to Receivables via
SYSTEM_REFERENCEjoined toRA_CUSTOMER_TRX_ALL. - Credit-memo tracing through
DRAFT_INVOICE_NUM_CREDITEDandCREDIT_MEMO_REASON_CODE.
Related Objects
Key dependencies and references include:
PA_DRAFT_INVOICE_DETAILS_ALLandPA_DRAFT_INVOICE_ITEMS— line-level children referencingPROJECT_ID/DRAFT_INVOICE_NUM.HZ_CUST_ACCOUNTS— joined onCUSTOMER_ID,BILL_TO_CUSTOMER_ID,SHIP_TO_CUSTOMER_ID.HZ_CUST_ACCT_SITES_ALLandRA_ADDRESSES_ALL— joined onBILL_TO_ADDRESS_IDandSHIP_TO_ADDRESS_ID.RA_CUSTOMER_TRX_ALL— joined onSYSTEM_REFERENCE.PA_PROJECTS_ALL— joined onPROJECT_ID.GL_CODE_COMBINATIONS— joined on the various*_CODE_COMBINATION_IDcolumns.PA_MC_DRAFT_INV_ITEMS,PA_DISTRIBUTION_WARNINGS, andJAI_PA_DRAFT_INVOICES— referencing tables.
-
Table: PA_DRAFT_INVOICES_ALL
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_DRAFT_INVOICES_ALL, object_name:PA_DRAFT_INVOICES_ALL, status:VALID, product: PA - Projects , description: Information about draft invoices generated for projects , implementation_dba_data: PA.PA_DRAFT_INVOICES_ALL ,
-
Table: PA_DRAFT_INVOICES_AR
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_DRAFT_INVOICES_AR, object_name:PA_DRAFT_INVOICES_AR, status:VALID, product: PA - Projects , description: Pa_Draft_Invoices_ar is a table for Archive/Purge. Refer to comments on the columns in the main table , implementation_dba_data: PA.PA_DRAFT_INVOICES_AR ,
-
Table: PA_DRAFT_INVOICE_ITEMS
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_DRAFT_INVOICE_ITEMS, object_name:PA_DRAFT_INVOICE_ITEMS, status:VALID, product: PA - Projects , description: Draft invoice lines , implementation_dba_data: PA.PA_DRAFT_INVOICE_ITEMS ,
-
Table: PA_DRAFT_INV_DETS_AR
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_DRAFT_INV_DETS_AR, object_name:PA_DRAFT_INV_DETS_AR, status:VALID, product: PA - Projects , implementation_dba_data: PA.PA_DRAFT_INV_DETS_AR ,
-
Table: PA_DRAFT_INV_DETS_AR
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_DRAFT_INV_DETS_AR, object_name:PA_DRAFT_INV_DETS_AR, status:VALID, product: PA - Projects , implementation_dba_data: PA.PA_DRAFT_INV_DETS_AR ,
-
Table: PA_DRAFT_INV_ITEMS_AR
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_DRAFT_INV_ITEMS_AR, object_name:PA_DRAFT_INV_ITEMS_AR, status:VALID, product: PA - Projects , description: Pa_Draft_Invoice_Items_ar is a table for Archive/Purge. Refer to comments on the columns in the main table , implementation_dba_data: PA.PA_DRAFT_INV_ITEMS_AR ,
-
Table: PA_DRAFT_INVOICES_ALL
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_DRAFT_INVOICES_ALL, object_name:PA_DRAFT_INVOICES_ALL, status:VALID, product: PA - Projects , description: Information about draft invoices generated for projects , implementation_dba_data: PA.PA_DRAFT_INVOICES_ALL ,
-
Table: PA_DRAFT_INVOICE_DETAILS_ALL
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_DRAFT_INVOICE_DETAILS_ALL, object_name:PA_DRAFT_INVOICE_DETAILS_ALL, status:VALID, product: PA - Projects , description: Intercompany invoice details for cross charged transactions , implementation_dba_data: PA.PA_DRAFT_INVOICE_DETAILS_ALL ,
-
Table: PA_DRAFT_INVOICE_DETAILS_ALL
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_DRAFT_INVOICE_DETAILS_ALL, object_name:PA_DRAFT_INVOICE_DETAILS_ALL, status:VALID, product: PA - Projects , description: Intercompany invoice details for cross charged transactions , implementation_dba_data: PA.PA_DRAFT_INVOICE_DETAILS_ALL ,
-
Table: PA_DRAFT_INVOICE_ITEMS
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_DRAFT_INVOICE_ITEMS, object_name:PA_DRAFT_INVOICE_ITEMS, status:VALID, product: PA - Projects , description: Draft invoice lines , implementation_dba_data: PA.PA_DRAFT_INVOICE_ITEMS ,
-
Table: PA_DRAFT_INV_ITEMS_AR
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_DRAFT_INV_ITEMS_AR, object_name:PA_DRAFT_INV_ITEMS_AR, status:VALID, product: PA - Projects , description: Pa_Draft_Invoice_Items_ar is a table for Archive/Purge. Refer to comments on the columns in the main table , implementation_dba_data: PA.PA_DRAFT_INV_ITEMS_AR ,
-
Table: PA_DRAFT_INVOICES_AR
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_DRAFT_INVOICES_AR, object_name:PA_DRAFT_INVOICES_AR, status:VALID, product: PA - Projects , description: Pa_Draft_Invoices_ar is a table for Archive/Purge. Refer to comments on the columns in the main table , implementation_dba_data: PA.PA_DRAFT_INVOICES_AR ,
-
View: PA_DRAFT_INVOICE_DETAILS
12.2.2
product: PA - Projects , implementation_dba_data: Not implemented in this database ,
-
View: PA_DRAFT_INVOICE_DETAILS
12.1.1
product: PA - Projects , implementation_dba_data: Not implemented in this database ,
-
View: PA_DRAFT_INVOICES
12.2.2
product: PA - Projects , description: Single-Org , implementation_dba_data: Not implemented in this database ,
-
View: PA_DRAFT_INVOICES
12.1.1
product: PA - Projects , description: Single-Org , implementation_dba_data: Not implemented in this database ,
-
View: PA_DRAFT_INV_DTLS_MRC_V
12.1.1
product: PA - Projects , implementation_dba_data: Not implemented in this database ,
-
View: PA_DRAFT_INV_DTLS_ALL_MRC_V
12.2.2
product: PA - Projects , description: Single-org, single currency view , implementation_dba_data: Not implemented in this database ,
-
View: PA_DRAFT_INV_DTLS_MRC_V
12.2.2
product: PA - Projects , implementation_dba_data: Not implemented in this database ,
-
View: PA_DRAFT_INV_DTLS_ALL_MRC_V
12.1.1
product: PA - Projects , description: Single-org, single currency view , implementation_dba_data: Not implemented in this database ,
-
View: PA_DRAFT_INVOICE_ITEMS_MRC_V
12.1.1
product: PA - Projects , description: Single currency view , implementation_dba_data: Not implemented in this database ,
-
View: PA_DRAFT_INVOICE_ITEMS_MRC_V
12.2.2
product: PA - Projects , description: Single currency view , implementation_dba_data: Not implemented in this database ,
-
View: PA_DRAFT_INVOICE_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICE_LINES_V, object_name:PA_DRAFT_INVOICE_LINES_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_DRAFT_INVOICE_LINES_V ,
-
View: PA_DRAFT_INVOICE_LINES_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICE_LINES_ALL_V, object_name:PA_DRAFT_INVOICE_LINES_ALL_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_DRAFT_INVOICE_LINES_ALL_V ,
-
View: PA_DRAFT_INVOICE_LINES_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICE_LINES_ALL_V, object_name:PA_DRAFT_INVOICE_LINES_ALL_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_DRAFT_INVOICE_LINES_ALL_V ,
-
View: PA_DRAFT_INVOICE_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICE_LINES_V, object_name:PA_DRAFT_INVOICE_LINES_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_DRAFT_INVOICE_LINES_V ,
-
View: PA_PROJ_INVOICES_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PROJ_INVOICES_VIEW, object_name:PA_PROJ_INVOICES_VIEW, status:VALID, product: PA - Projects , description: View of all project invoices , implementation_dba_data: APPS.PA_PROJ_INVOICES_VIEW ,
-
View: PA_PROJ_INVOICES_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PROJ_INVOICES_VIEW, object_name:PA_PROJ_INVOICES_VIEW, status:VALID, product: PA - Projects , description: View of all project invoices , implementation_dba_data: APPS.PA_PROJ_INVOICES_VIEW ,
-
View: PA_DRAFT_INV_LINES_FORM_MRC_V
12.1.1
product: PA - Projects , description: This will select data from pa_draft_invoices, pa_mc_draft_inv_items, pa_draft_invoice_items , implementation_dba_data: Not implemented in this database ,
-
View: PA_DRAFT_INV_LINES_FORM_MRC_V
12.2.2
product: PA - Projects , description: This will select data from pa_draft_invoices, pa_mc_draft_inv_items, pa_draft_invoice_items , implementation_dba_data: Not implemented in this database ,
-
View: PA_DRAFT_INVOICES_FORM_MRC_V
12.2.2
product: PA - Projects , description: This will select data from pa_draft_invoices, pa_mc_draft_inv_items, pa_draft_invoice_items , implementation_dba_data: Not implemented in this database ,
-
View: PA_DRAFT_INVOICES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICES_V, object_name:PA_DRAFT_INVOICES_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_DRAFT_INVOICES_V ,
-
View: PA_DRAFT_INVOICES_FORM_MRC_V
12.1.1
product: PA - Projects , description: This will select data from pa_draft_invoices, pa_mc_draft_inv_items, pa_draft_invoice_items , implementation_dba_data: Not implemented in this database ,
-
View: PA_DRAFT_INVOICES_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICES_ALL_V, object_name:PA_DRAFT_INVOICES_ALL_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_DRAFT_INVOICES_ALL_V ,
-
View: PA_DRAFT_INVOICES_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICES_ALL_V, object_name:PA_DRAFT_INVOICES_ALL_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_DRAFT_INVOICES_ALL_V ,
-
View: PA_DRAFT_INVOICES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICES_V, object_name:PA_DRAFT_INVOICES_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_DRAFT_INVOICES_V ,