Results for “po_drafts”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
PO_DRAFTS is the control table for draft changes in the Oracle Purchasing (PO) module. It records the header-level context for every draft revision created against a purchasing document, functioning as the anchor or parent record for the family of _DRAFT and _DRAFT_ALL tables that hold the proposed (unapproved) versions of purchase order headers, lines, line locations, distributions, and related attributes. In Oracle EBS 12.1.1 and 12.2.2, this table underpins the "draft" and change-order functionality that allows buyers to stage modifications to an existing document, route them through approval, and only then promote the changes to the base transactional tables.
The table resides in the PO schema and is a core element of the Purchasing document change-management model. Its primary key is PO_DRAFTS_PK, defined on the DRAFT_ID column, and this single-column key is also exposed through the unique index PO_DRAFTS_U1. Practically every draft-related child table joins back to PO_DRAFTS on DRAFT_ID, confirming the object's role as the governing record for a single change set.
From a heuristic Data Vault modeling perspective, PO_DRAFTS is best classified as a hub. It holds the unique business key (the draft identifier) around which satellites and link relationships for draft content are organized. This classification is a suggestion derived from the foreign-key topology, not an Oracle-imposed designation.
Key Information Stored
The table contains 32 documented columns. The most significant are summarized below.
- DRAFT_ID — surrogate primary key (PO_DRAFTS_PK) and the unique business-key candidate (PO_DRAFTS_U1) that links all draft child tables.
- DOCUMENT_ID — identifies the base purchasing document to which the draft applies.
- REVISION_NUM — the revision level associated with the draft.
- OWNER_USER_ID / OWNER_ROLE / AGENT_ID — ownership and buyer/agent context for the draft.
- STATUS — the workflow state of the draft (for example, in progress or approved).
- DRAFT_TYPE / DRAFT_SUB_TYPE — classify the nature of the change being staged.
- JUSTIFICATION / NOTE_TO_SUPPLIER — descriptive text captured with the change.
- MOD_EFFECTIVE_DATE / MODIFICATION_NUMBER — effective dating and sequence of the modification.
- CHANGED_AMT / CHANGED_AMT_EXCL_OPT — monetary impact of the change.
- CHANGEDESCRIPTION_DATA — structured description of the changed fields.
- CONCURRENT_REQID / REQUEST_ID — concurrent program context that created or processed the draft.
- Standard Who columns — CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN.
Additional columns such as CLM_NOOFCOPIES, CLM_STANDARD_FORM, CLM_DOCUMENT_FORMAT, CLM_CONTRACT_OFFICER, and the CD_GENERATED_* flags relate to contract/document generation and printing behavior.
Common Use Cases and Queries
Typical usage centers on identifying open drafts, reporting change history, and reconciling drafts against their base documents. A buyer-facing query to list active drafts and their status resembles:
SELECT h.segment1, d.draft_id, d.draft_type, d.status, d.modification_number FROM po_drafts d JOIN po_headers_all h ON h.po_header_id = d.document_id WHERE d.status = 'IN PROGRESS';- Change-impact reporting joining PO_DRAFTS to PO_HEADERS_DRAFT_ALL to compare drafted values against PO_HEADERS_ALL.
- Audit queries using CREATED_BY, CREATION_DATE, and CONCURRENT_REQID to trace which concurrent program produced a draft.
- Monitoring drafts that have never been promoted by checking DRAFT_ID in PO_DRAFTS with no matching base revision.
Because PO_DRAFTS is a hub, most reporting joins proceed child-to-parent on DRAFT_ID; direct queries are usually filtered by DOCUMENT_ID or STATUS.
Related Objects
PO_DRAFTS is referenced by numerous tables through the DRAFT_ID column. The most significant relationships include:
- PO_HEADERS_DRAFT_ALL.DRAFT_ID — drafted header values.
- PO_LINE_LOCATIONS_DRAFT_ALL.DRAFT_ID — drafted shipment/schedule values.
- PO_DISTRIBUTIONS_DRAFT_ALL.DRAFT_ID — drafted distribution values.
- PO_PRICE_DIFF_DRAFT.DRAFT_ID — price difference information for the draft.
- PO_GA_ORG_ASSIGN_DRAFT.DRAFT_ID — drafted accounting organization assignments.
- PO_NOTIFICATION_CTRL_DRAFT.DRAFT_ID — draft notification control records.
- PO_HEADERS_ALL.DRAFT_ID and PO_LINES_ALL.DRAFT_ID — base tables that carry the DRAFT_ID once changes are applied.
- PO_HEADERS_ARCHIVE_ALL.DRAFT_ID — archived headers retaining draft lineage.
These relationships confirm that PO_DRAFTS is the central reference point for all draft change data in Purchasing, with the base PO_HEADERS_ALL, PO_LINES_ALL, and PO_LINE_LOCATIONS_ALL tables linked through the same DRAFT_ID key after promotion.
-
Control table for draft changes
-
APPS.PO_GA_ORG_ASSIGN_MERGE_V·↳ PO_DRAFTS·↳ PO_GA_ORG_ASSIGNMENTS·↳ PO_GA_ORG_ASSIGN_DRAFT·Explore PO module →
-
View: PO_PRICE_DIFF_MERGE_V 12.1.1
APPS.PO_PRICE_DIFF_MERGE_V·↳ PO_DRAFTS·↳ PO_GLOBAL·↳ PO_PRICE_DIFFERENTIALS·Explore PO module →
-
View: PO_PRICE_DIFF_MERGE_V 12.2.2
APPS.PO_PRICE_DIFF_MERGE_V·↳ PO_DRAFTS·↳ PO_LINES_DRAFT_ALL·↳ PO_PRICE_DIFFERENTIALS·Explore PO module →
-
View: PO_EDA_CLM_DOC_NBR_V 12.2.2
APPS.PO_EDA_CLM_DOC_NBR_V·↳ PO_DRAFTS·↳ PO_HEADERS_ALL·Explore PO module →
-
APPS.PO_GA_ORG_ASSIGN_MERGE_V·↳ PO_DRAFTS·↳ PO_GA_ORG_ASSIGNMENTS·↳ PO_GA_ORG_ASSIGN_DRAFT·Explore PO module →
-
APPS.PO_NOTIFICATION_CTRL_MERGE_V·↳ PO_DRAFTS·↳ PO_GLOBAL·↳ PO_NOTIFICATION_CONTROLS·Explore PO module →
-
APPS.PO_NOTIFICATION_CTRL_MERGE_V·↳ PO_DRAFTS·↳ PO_NOTIFICATION_CONTROLS·↳ PO_NOTIFICATION_CTRL_DRAFT·Explore PO module →
-
Draft Table for price differentials for rate-based lines.
-
The merged view using PO_DISTRIBUTIONS_ALL table and PO_DISTRIBUTIONS_DRAFT_ALL tables.
APPS.PO_DISTRIBUTIONS_MERGE_V·↳ PO_DISTRIBUTIONS_ALL·↳ PO_DISTRIBUTIONS_DRAFT_ALL·↳ PO_DRAFTS·Explore PO module →
-
APPS.PO_ATTR_VALUES_TLP_MERGE_V·↳ PO_ATTRIBUTE_VALUES_TLP·↳ PO_ATTRIBUTE_VALUES_TLP_DRAFT·↳ PO_DRAFTS·Explore PO module →
-
APPS.PO_ATTR_VALUES_TLP_MERGE_V·↳ PO_ATTRIBUTE_VALUES_TLP·↳ PO_ATTRIBUTE_VALUES_TLP_DRAFT·↳ PO_DRAFTS·Explore PO module →
-
This table stores the documents that are selected for a Multiple Modifications Request.
-
Global Agreements Org Assignments
-
The merged view using PO_DISTRIBUTIONS_ALL table and PO_DISTRIBUTIONS_DRAFT_ALL tables.
APPS.PO_DISTRIBUTIONS_MERGE_V·↳ PO_DISTRIBUTIONS_ALL·↳ PO_DISTRIBUTIONS_DRAFT_ALL·↳ PO_DRAFTS·Explore PO module →
-
View: PO_LINES_MERGE_V 12.1.1
APPS.PO_LINES_MERGE_V·↳ PO_DRAFTS·↳ PO_GLOBAL·↳ PO_LINES_ALL·Explore PO module →
-
Stores UDA data of the Purchase order distributions
-
View: PO_HEADERS_MERGE_V 12.1.1
APPS.PO_HEADERS_MERGE_V·↳ PO_DRAFTS·↳ PO_GLOBAL·↳ PO_HEADERS_ALL·Explore PO module →
-
APPS.PO_LINE_LOCATIONS_MERGE_V·↳ PO_DRAFTS·↳ PO_GLOBAL·↳ PO_LINE_LOCATIONS_ALL·Explore PO module →
-
Stores the UDA data of Purchase document lines (for purchase orders, purchase agreements, quotations, RFQs)
-
View: PO_HEADERS_MERGE_V 12.2.2
APPS.PO_HEADERS_MERGE_V·↳ PO_DRAFTS·↳ PO_HEADERS_ALL·↳ PO_HEADERS_DRAFT_ALL·Explore PO module →
-
View: PO_LINES_MERGE_V 12.2.2
APPS.PO_LINES_MERGE_V·↳ PO_DRAFTS·↳ PO_LINES_ALL·↳ PO_LINES_DRAFT_ALL·Explore PO module →
-
Translated Archive UDA data of Document shipment schedules (for purchase orders, purchase agreements)
-
Blanket agreement and planned purchase order notification controls draft table
-
APPS.PO_LINE_LOCATIONS_MERGE_V·↳ PO_DRAFTS·↳ PO_LINE_LOCATIONS_ALL·↳ PO_LINE_LOCATIONS_DRAFT_ALL·Explore PO module →
-
For Internal Use Only: This table is global temporary table based on po_distributions_all table. It is used for internal processing of data for PO Approval Submission Checks.
-
Stores the UDA data of Document shipment schedules (for purchase orders, purchase agreements, quotations, RFQs)
-
Stores the UDA data of the Document headers (for purchase orders, purchase agreements, quotations, RFQs)
-
Translated Archive UDA data of Purchase document lines (for purchase orders, purchase agreements)
-
Translated archive UDA data of the Document headers (for purchase orders, purchase agreements)
-
Purchase order acceptances
-
Stores the UDA data of Purchase document lines (for purchase orders, purchase agreements, quotations, RFQs)
-
Archived UDA data of Document shipment schedules (for purchase orders, purchase agreements)
-
For Internal Use Only: This table is global temporary table based on po_line_locations_all table. It is used for internal processing of data for PO Approval Submission Checks.
-
Stores the information for FPDS-NG Cars
-
Stores UDA data of the Purchase order distributions
-
For Internal Use Only: This table is global temporary table based on po_headers_all table. It is used for internal processing of data for PO Approval Submission Checks.
-
Stores the UDA data of Document shipment schedules (for purchase orders, purchase agreements, quotations, RFQs)
-
Archived UDA data of the Document headers (for purchase orders, purchase agreements)
-
Archived UDA data of Purchase document lines (for purchase orders, purchase agreements)
-
View: PO_ATTR_VALUES_MERGE_V 12.1.1
APPS.PO_ATTR_VALUES_MERGE_V·↳ PO_ATTRIBUTE_VALUES·↳ PO_ATTRIBUTE_VALUES_DRAFT·↳ PO_DRAFTS·Explore PO module →
-
Purchase order distributions draft
-
Draft table for purchase document lines (for purchase orders, purchase agreements, quotations, RFQs)
-
View: PO_ATTR_VALUES_MERGE_V 12.2.2
APPS.PO_ATTR_VALUES_MERGE_V·↳ PO_ATTRIBUTE_VALUES·↳ PO_ATTRIBUTE_VALUES_DRAFT·↳ PO_DRAFTS·Explore PO module →
-
Interface table for purchase order headers
-
Draft table for PO_ATTRIBUTE_VALUES_TLP
-
Purchase order distributions
-
Draft table for PO_ATTRIBUTE_VALUES
-
Document shipment schedules (for purchase orders, purchase agreements, quotations, RFQs)