Search Results pa_draft_invoices
Overview
PA_DRAFT_INVOICES is a Single-Org reporting view in the Oracle Projects (PA) module of Oracle E-Business Suite, available in releases 12.1.1 and 12.2.2. It presents draft invoice header information generated by the Oracle Projects AutoInvoice and invoice generation process, prior to the point at which those drafts are transferred and interfaced to Oracle Receivables. In EBS multi-org architecture, the view acts as an org-striped wrapper over the underlying intersection table PA_DRAFT_INVOICES_ALL, restricting rows to the operating unit implied by the session's client information.
The view is primarily used for reporting, reconciliation, and troubleshooting of the project billing cycle. It exposes the number, date, currency, transfer status, and approval state of each draft invoice, along with retained accounting and credit memo attributes. Because it filters by ORG_ID, it is the appropriate object for operational reports and concurrent programs that must run within the context of a single operating unit.
Underlying Base Objects
The documented view text shows a single source: PA_DRAFT_INVOICES_ALL. The WHERE clause applies an ORG_ID restriction derived from USERENV('CLIENT_INFO'), with NVL handling to fall back to a default when no client information is set. This is the standard Oracle Projects multi-org view pattern and explains the "Single-Org" designation in the ETRM metadata.
The ETRM implementation note states that the view is "Not implemented in this database," meaning it was not created or validated within the reference environment captured by the documentation tool, but its definition remains the canonical published text. No other base tables are documented as referenced by the view; all enrichment such as project names, customer names, and agreement details is obtained by joining to the corresponding project, customer, and agreement entities.
Key Columns
- PROJECT_ID — Identifier of the project to which the draft invoice belongs.
- DRAFT_INVOICE_NUM — The internal draft invoice number assigned by Oracle Projects.
- DRAFT_INVOICE_NUM_CREDITED — The draft invoice number of the original invoice that this record credits. This column, the subject of the search, is the linkage used to trace credit memos back to the invoice they reverse.
- TRANSFER_STATUS_CODE — Status of the draft relative to transfer to Receivables (for example, untransferred, transferred, or rejected).
- GENERATION_ERROR_FLAG and TRANSFER_REJECTION_REASON — Diagnostics for failed generation or transfer.
- RA_INVOICE_NUMBER and TRANSFERRED_DATE — The Receivables invoice number and transfer timestamp once the draft has been interfaced.
- INVOICE_DATE, GL_DATE, PA_DATE, BILL_THROUGH_DATE — Key dates for billing and accounting.
- INV_CURRENCY_CODE, INV_EXCHANGE_RATE, ACCTD_CURR_CODE, ACCTD_EXCHG_RATE — Entered and accounted currency and rate information.
- CANCELED_FLAG, CANCEL_CREDIT_MEMO_FLAG, WRITE_OFF_FLAG, CREDIT_MEMO_REASON_CODE — Controls identifying cancellations, credit memos, and write-offs.
- ORG_ID — Operating unit, the discriminator enforced by the view filter.
Common Use Cases and Queries
Typical scenarios include listing untransferred draft invoices for an operating unit, reconciling transferred drafts to Receivables, and identifying credit memos linked to their credited invoices via DRAFT_INVOICE_NUM_CREDITED.
SELECT d.DRAFT_INVOICE_NUM,
d.DRAFT_INVOICE_NUM_CREDITED,
d.TRANSFER_STATUS_CODE,
d.INVOICE_DATE,
d.INV_CURRENCY_CODE,
d.CREDIT_MEMO_REASON_CODE
FROM PA_DRAFT_INVOICES d
WHERE d.PROJECT_ID = :project_id
ORDER BY d.INVOICE_DATE;
A second common query identifies outstanding drafts awaiting transfer, while a third joins to PA_PROJECTS_ALL for project names. Because the view enforces the operating unit filter automatically, callers need not add an ORG_ID predicate when running within the correct session context.
-
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 ,
-
APPS.PA_IC_INV_UTILS SQL Statements
12.2.2
-
APPS.PA_IC_INV_UTILS SQL Statements
12.1.1
-
VIEW: APPS.PA_BILLING_INV_PROCESSED_V
12.1.1
-
VIEW: APPS.PA_BILLING_INV_PROCESSED_V
12.2.2
-
VIEW: APPS.PA_BILLING_INV_DELETION_V
12.1.1
-
VIEW: APPS.PA_BILLING_INV_DELETION_V
12.2.2
-
VIEW: APPS.PA_PROJECT_INVOICE_RECEIVABLES
12.1.1
-
VIEW: APPS.PA_PROJECT_INVOICE_RECEIVABLES
12.2.2
-
VIEW: APPS.PA_BILLING_REV_INV_DELETION_V
12.2.2
-
APPS.PA_IC_INV_DEL SQL Statements
12.1.1
-
VIEW: APPS.PA_BILLING_REV_INV_DELETION_V
12.1.1
-
APPS.PA_INVOICE_TRANSFER SQL Statements
12.1.1
-
APPS.PA_INVOICE_TRANSFER SQL Statements
12.2.2
-
APPS.PA_DRAFT_INVOICES_PKG SQL Statements
12.1.1
-
APPS.PA_IC_INV_DEL SQL Statements
12.2.2
-
APPS.PA_DRAFT_INVOICES_PKG SQL Statements
12.2.2
-
APPS.PA_IC_INV_CNL SQL Statements
12.1.1
-
APPS.PA_IC_INV_CNL SQL Statements
12.2.2
-
APPS.PA_INV_ON_ACCOUNT_CM SQL Statements
12.2.2
-
VIEW: APPS.PA_INV_BURDEN_DETAILS_V
12.1.1
-
VIEW: APPS.PA_PWP_LINK_STATUS_V
12.1.1
-
APPS.PA_BILLING_CYCLES_PKG SQL Statements
12.2.2
-
APPS.PA_BILLING_CYCLES_PKG SQL Statements
12.1.1
-
VIEW: APPS.PA_INV_BURDEN_DETAILS_V
12.2.2
-
VIEW: APPS.PA_PWP_LINK_STATUS_V
12.2.2
-
APPS.PA_INVOICE_UTILS SQL Statements
12.1.1
-
VIEW: APPS.PA_BILLING_INV_TRANSACTIONS_V
12.2.2
-
APPS.PA_INVOICE_UTILS SQL Statements
12.2.2
-
VIEW: APPS.PA_BILLING_INV_TRANSACTIONS_V
12.1.1
-
APPS.PA_INVOICE_ACTIONS SQL Statements
12.2.2
-
APPS.PA_AR_TRX_PURGE SQL Statements
12.1.1
-
APPS.PA_AR_TRX_PURGE SQL Statements
12.2.2
-
APPS.PA_PAXMGURA_XMLP_PKG SQL Statements
12.2.2
-
APPS.PA_INVOICE_ACTIONS SQL Statements
12.1.1
-
View: PA_BILLING_INV_DELETION_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_BILLING_INV_DELETION_V, object_name:PA_BILLING_INV_DELETION_V, status:VALID, product: PA - Projects , description: Returns information about draft invoices that may be deleted in current run. , implementation_dba_data: APPS.PA_BILLING_INV_DELETION_V ,
-
APPS.PA_PAXMGURA_XMLP_PKG SQL Statements
12.1.1
-
View: PA_BILLING_INV_PROCESSED_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_BILLING_INV_PROCESSED_V, object_name:PA_BILLING_INV_PROCESSED_V, status:VALID, product: PA - Projects , description: PA_BILLING_INV_PROCESSED_V returns information about invoices processed in the current run, for use with billing extensions. , implementation_dba_data: APPS.PA_BILLING_INV_PROCESSED_V ,
-
PACKAGE BODY: APPS.PA_AR_TRX_PURGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_AR_TRX_PURGE, status:VALID,
-
View: PA_BILLING_INV_PROCESSED_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_BILLING_INV_PROCESSED_V, object_name:PA_BILLING_INV_PROCESSED_V, status:VALID, product: PA - Projects , description: PA_BILLING_INV_PROCESSED_V returns information about invoices processed in the current run, for use with billing extensions. , implementation_dba_data: APPS.PA_BILLING_INV_PROCESSED_V ,
-
View: PA_BILLING_INV_DELETION_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_BILLING_INV_DELETION_V, object_name:PA_BILLING_INV_DELETION_V, status:VALID, product: PA - Projects , description: Returns information about draft invoices that may be deleted in current run. , implementation_dba_data: APPS.PA_BILLING_INV_DELETION_V ,
-
VIEW: APPS.PA_BILLING_ORIG_EVENTS_V
12.1.1
-
VIEW: APPS.PA_BILLING_ORIG_EVENTS_V
12.2.2
-
VIEW: APPS.PA_MULTI_CUSTOMERS_V
12.2.2
-
PACKAGE BODY: APPS.PA_INVOICE_TRANSFER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_INVOICE_TRANSFER, status:VALID,
-
PACKAGE BODY: APPS.PA_DRAFT_INVOICES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_DRAFT_INVOICES_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_AR_TRX_PURGE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_AR_TRX_PURGE, status:VALID,
-
PACKAGE BODY: APPS.PA_INVOICE_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_INVOICE_UTILS, status:VALID,
-
PACKAGE BODY: APPS.PA_BILLING_CYCLES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_BILLING_CYCLES_PKG, status:VALID,