Search Results po_drafts
Overview
The PO_DRAFTS table is a core control table within the Oracle E-Business Suite Purchasing (PO) module, specifically for versions 12.1.1 and 12.2.2. It serves as the master repository for managing draft changes to purchasing documents, such as purchase orders and requisitions, before those changes are finalized and applied to the live transaction tables. This table is fundamental to the draft functionality, enabling users to create, save, and later submit modifications in a controlled, non-destructive manner. Each record in PO_DRAFTS represents a unique draft session or instance, acting as a parent entity that links to all related draft changes across subsidiary tables for headers, lines, distributions, and other document components.
Key Information Stored
The primary column in the PO_DRAFTS table is DRAFT_ID, which serves as the unique identifier (Primary Key: PO_DRAFTS_PK) for a draft session. While the provided ETRM metadata does not list additional columns, based on its role as a control table, it typically stores metadata about the draft itself. This commonly includes columns such as CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY to track the draft's lifecycle, and potentially a STATUS column to indicate if the draft is in progress, submitted, or canceled. The DRAFT_ID is the critical piece of data that propagates to all related draft detail tables to maintain referential integrity and allow for the reconstruction of a complete draft document set.
Common Use Cases and Queries
The primary use case for the PO_DRAFTS table is troubleshooting and administering the draft change process. Database administrators and functional consultants query this table to identify orphaned drafts, analyze draft volume, or clean up stale data. A common reporting query involves joining PO_DRAFTS with its related detail tables to get a comprehensive view of all pending changes for a specific document or user. For instance, to find all draft distributions linked to a specific draft ID, one would use the foreign key relationship:
- SELECT * FROM PO_DISTRIBUTIONS_DRAFT_ALL pdda WHERE pdda.DRAFT_ID = <DRAFT_ID_VALUE>;
Another typical query is to identify drafts that have been created but not submitted within a certain timeframe, which may require purging:
- SELECT DRAFT_ID, CREATION_DATE, CREATED_BY FROM PO.PO_DRAFTS WHERE CREATION_DATE < SYSDATE - 7;
Related Objects
The PO_DRAFTS table has a central relationship with numerous draft detail tables, as indicated by its foreign key constraints. These dependent tables store the actual proposed changes to specific aspects of a purchasing document, all linked back to a master record in PO_DRAFTS. Key related objects include:
- PO_HEADERS_DRAFT_ALL: Stores draft changes to purchase order header information.
- PO_LINE_LOCATIONS_DRAFT_ALL: Holds draft changes to shipment schedules.
- PO_DISTRIBUTIONS_DRAFT_ALL: Contains draft changes to accounting distributions.
- PO_GA_ORG_ASSIGN_DRAFT: Manages draft changes for global agreement organization assignments.
- PO_PRICE_DIFF_DRAFT and PO_NOTIFICATION_CTRL_DRAFT: Handle draft changes for price differentials and approval notifications, respectively.
These relationships form a cohesive draft ecosystem where PO_DRAFTS acts as the controlling entity, ensuring data consistency and enabling the atomic application or rollback of all changes associated with a single draft session.
-
Table: PO_DRAFTS
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_DRAFTS, object_name:PO_DRAFTS, status:VALID, product: PO - Purchasing , description: Control table for draft changes , implementation_dba_data: PO.PO_DRAFTS ,
-
View: PO_GA_ORG_ASSIGN_MERGE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_GA_ORG_ASSIGN_MERGE_V, object_name:PO_GA_ORG_ASSIGN_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_GA_ORG_ASSIGN_MERGE_V ,
-
View: PO_PRICE_DIFF_MERGE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_PRICE_DIFF_MERGE_V, object_name:PO_PRICE_DIFF_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_PRICE_DIFF_MERGE_V ,
-
View: PO_PRICE_DIFF_MERGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_PRICE_DIFF_MERGE_V, object_name:PO_PRICE_DIFF_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_PRICE_DIFF_MERGE_V ,
-
View: PO_GA_ORG_ASSIGN_MERGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_GA_ORG_ASSIGN_MERGE_V, object_name:PO_GA_ORG_ASSIGN_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_GA_ORG_ASSIGN_MERGE_V ,
-
View: PO_NOTIFICATION_CTRL_MERGE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_NOTIFICATION_CTRL_MERGE_V, object_name:PO_NOTIFICATION_CTRL_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_NOTIFICATION_CTRL_MERGE_V ,
-
View: PO_NOTIFICATION_CTRL_MERGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_NOTIFICATION_CTRL_MERGE_V, object_name:PO_NOTIFICATION_CTRL_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_NOTIFICATION_CTRL_MERGE_V ,
-
Table: PO_PRICE_DIFF_DRAFT
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_PRICE_DIFF_DRAFT, object_name:PO_PRICE_DIFF_DRAFT, status:VALID, product: PO - Purchasing , description: Draft Table for price differentials for rate-based lines. , implementation_dba_data: PO.PO_PRICE_DIFF_DRAFT ,
-
Table: PO_NOTIFICATION_CTRL_DRAFT
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_NOTIFICATION_CTRL_DRAFT, object_name:PO_NOTIFICATION_CTRL_DRAFT, status:VALID, product: PO - Purchasing , description: Blanket agreement and planned purchase order notification controls draft table , implementation_dba_data: PO.PO_NOTIFICATION_CTRL_DRAFT ,
-
Table: PO_GA_ORG_ASSIGN_DRAFT
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_GA_ORG_ASSIGN_DRAFT, object_name:PO_GA_ORG_ASSIGN_DRAFT, status:VALID, product: PO - Purchasing , description: Global Agreements Org Assignments , implementation_dba_data: PO.PO_GA_ORG_ASSIGN_DRAFT ,
-
View: PO_EDA_CLM_DOC_NBR_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_EDA_CLM_DOC_NBR_V, object_name:PO_EDA_CLM_DOC_NBR_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_EDA_CLM_DOC_NBR_V ,
-
Table: PO_HEADERS_DRAFT_ALL
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_HEADERS_DRAFT_ALL, object_name:PO_HEADERS_DRAFT_ALL, status:VALID, product: PO - Purchasing , description: Draft Document headers (for purchase orders, purchase agreements, quotations, RFQs) , implementation_dba_data: PO.PO_HEADERS_DRAFT_ALL ,
-
Table: PO_DISTRIBUTIONS_DRAFT_ALL
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_DISTRIBUTIONS_DRAFT_ALL, object_name:PO_DISTRIBUTIONS_DRAFT_ALL, status:VALID, product: PO - Purchasing , description: Purchase order distributions draft , implementation_dba_data: PO.PO_DISTRIBUTIONS_DRAFT_ALL ,
-
Table: PO_LINE_LOCATIONS_DRAFT_ALL
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_LINE_LOCATIONS_DRAFT_ALL, object_name:PO_LINE_LOCATIONS_DRAFT_ALL, status:VALID, product: PO - Purchasing , description: Draft table for PO_LINE_LOCATIONS_ALL , implementation_dba_data: PO.PO_LINE_LOCATIONS_DRAFT_ALL ,
-
View: PO_DISTRIBUTIONS_MERGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_DISTRIBUTIONS_MERGE_V, object_name:PO_DISTRIBUTIONS_MERGE_V, status:VALID, product: PO - Purchasing , description: The merged view using PO_DISTRIBUTIONS_ALL table and PO_DISTRIBUTIONS_DRAFT_ALL tables. , implementation_dba_data: APPS.PO_DISTRIBUTIONS_MERGE_V ,
-
View: PO_DISTRIBUTIONS_MERGE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_DISTRIBUTIONS_MERGE_V, object_name:PO_DISTRIBUTIONS_MERGE_V, status:VALID, product: PO - Purchasing , description: The merged view using PO_DISTRIBUTIONS_ALL table and PO_DISTRIBUTIONS_DRAFT_ALL tables. , implementation_dba_data: APPS.PO_DISTRIBUTIONS_MERGE_V ,
-
View: PO_LINES_MERGE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_MERGE_V, object_name:PO_LINES_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_LINES_MERGE_V ,
-
View: PO_LINES_MERGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_MERGE_V, object_name:PO_LINES_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_LINES_MERGE_V ,
-
View: PO_HEADERS_MERGE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_HEADERS_MERGE_V, object_name:PO_HEADERS_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_HEADERS_MERGE_V ,
-
View: PO_LINE_LOCATIONS_MERGE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINE_LOCATIONS_MERGE_V, object_name:PO_LINE_LOCATIONS_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_LINE_LOCATIONS_MERGE_V ,
-
View: PO_HEADERS_MERGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_HEADERS_MERGE_V, object_name:PO_HEADERS_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_HEADERS_MERGE_V ,
-
View: PO_LINE_LOCATIONS_MERGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINE_LOCATIONS_MERGE_V, object_name:PO_LINE_LOCATIONS_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_LINE_LOCATIONS_MERGE_V ,
-
View: PO_ATTR_VALUES_TLP_MERGE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_ATTR_VALUES_TLP_MERGE_V, object_name:PO_ATTR_VALUES_TLP_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_ATTR_VALUES_TLP_MERGE_V ,
-
View: PO_ATTR_VALUES_TLP_MERGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_ATTR_VALUES_TLP_MERGE_V, object_name:PO_ATTR_VALUES_TLP_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_ATTR_VALUES_TLP_MERGE_V ,
-
View: PO_ATTR_VALUES_MERGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_ATTR_VALUES_MERGE_V, object_name:PO_ATTR_VALUES_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_ATTR_VALUES_MERGE_V ,
-
View: PO_ATTR_VALUES_MERGE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_ATTR_VALUES_MERGE_V, object_name:PO_ATTR_VALUES_MERGE_V, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_ATTR_VALUES_MERGE_V ,