Search Results po_headers_merge_v
Overview
PO_HEADERS_MERGE_V is an Oracle E-Business Suite view owned by the APPS schema within the Purchasing (PO) product module. Its purpose is to reconcile the draft editing model introduced by Oracle Procurement's document authoring framework against the authoritative purchasing document headers stored in the base tables. In EBS 12.1.1 and 12.2.2, purchasing documents such as purchase orders, blanket agreements, and contracts are staged as drafts in PO_DRAFTS and PO_HEADERS_DRAFT_ALL before they are accepted and materialized into PO_HEADERS_ALL. This view exposes a merged, read-friendly projection of draft-level control attributes alongside the corresponding header attribute set, allowing callers to inspect draft status and ownership together with the header fields that will ultimately apply once the draft is accepted.
The view therefore plays a supporting role in draft-aware reporting and integration. Rather than joining the draft and header tables manually, consumers can select from a single object that already aligns the draft surrogate keys (DRAFT_ID, OWNER_USER_ID, OWNER_ROLE, STATUS) with the wider set of header columns, including the descriptive flexfield (ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE15) and the WHO/audit and concurrent program columns.
Underlying Base Objects
The documented ETRM 12.2.2 metadata records the referenced base objects as PO_DRAFTS (synonym), PO_HEADERS_ALL (synonym), and PO_HEADERS_DRAFT_ALL (synonym). PO_DRAFTS is the master draft record, defining ownership, role of the author, and the overall draft status. PO_HEADERS_DRAFT_ALL holds the transient or in-progress header values belonging to a draft, carrying the draft-scoped columns such as the change flags, notification preferences, sourcing and retro-price update indicators, and approval or cancellation flags. PO_HEADERS_ALL is the base purchasing document header table against which accepted drafts are written and which supplies the majority of the persistent header columns projected by the view, including key identifiers such as VENDOR_ID, VENDOR_SITE_ID, ORG_ID, CURRENCY_CODE, term and freight attributes, and the amounts and limits used for authorisation.
The view text references the draft alias DFT for the draft control columns and PHDA for the draft header attributes, indicating that the draft layer supplies the mergeable values while remaining ultimately reconcilable with PO_HEADERS_ALL. Because the referenced objects are synonyms, the view remains portable across the standard APPS installation in both 12.1.1 and 12.2.2.
Key Columns
DRAFT_ID,OWNER_USER_ID,OWNER_ROLE,STATUS— draft identity and authoring context drawn from the draft tables.VENDOR_ID,VENDOR_SITE_ID,VENDOR_CONTACT_ID— supplier party, site, and contact references.ORG_ID— operating unit that owns the purchasing document.SHIP_TO_LOCATION_ID,BILL_TO_LOCATION_ID,TERMS_ID,SHIP_VIA_LOOKUP_CODE,FOB_LOOKUP_CODE,FREIGHT_TERMS_LOOKUP_CODE— shipping, billing, and commercial terms.STATUS_LOOKUP_CODE,AUTHORIZATION_STATUS,APPROVED_FLAG,APPROVED_DATE,APPROVAL_REQUIRED_FLAG,AMOUNT_LIMIT,BLANKET_TOTAL_AMOUNT— approval and authorisation controls.CHANGE_ACCEPTED_FLAG,CANCEL_FLAG,FROZEN_FLAG,USER_HOLD_FLAG,CLOSED_CODE,CLOSED_DATE,FIRM_STATUS_LOOKUP_CODE,FIRM_DATE— lifecycle and hold state.COMMENTS,REPLY_DATE,REPLY_METHOD_LOOKUP_CODE,RFQ_CLOSE_DATE,QUOTE_TYPE_LOOKUP_CODE,QUOTATION_CLASS_CODE— negotiation and communication attributes.ATTRIBUTE_CATEGORYandATTRIBUTE1–ATTRIBUTE15— descriptive flexfield context and values.REQUEST_ID,PROGRAM_APPLICATION_ID,PROGRAM_ID,PROGRAM_UPDATE_DATE,CREATED_BY— concurrent program and audit context.
Common Use Cases and Queries
Typical usage centres on reconciling draft documents with their header state, for example listing open drafts by owner and role:
- SELECT draft_id, owner_user_id, owner_role, status FROM po_headers_merge_v WHERE status = 'DRAFT';
- SELECT draft_id, vendor_id, org_id, authorization_status FROM po_headers_merge_v WHERE vendor_id = :p_vendor_id;
- SELECT draft_id, amount_limit, approved_flag, approved_date FROM po_headers_merge_v WHERE org_id = :p_org_id AND authorization_status = 'APPROVED';
Because the view consolidates draft and header attributes, it is well suited to operational dashboards that must display in-progress documents without querying the draft and base tables separately. Queries should always be filtered by ORG_ID to respect multi-org security, and callers should treat columns originating from the draft layer as transient until the draft is accepted.
-
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_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 ,
-
APPS.PO_COMPLEX_WORK_PVT SQL Statements
12.2.2
-
APPS.PO_AME_SETUP_PVT SQL Statements
12.2.2
-
APPS.PO_CLM_CAR_UTIL SQL Statements
12.2.2
-
APPS.PO_UDA_DEFAULTING_PKG SQL Statements
12.2.2
-
APPS.PO_DOC_STYLE_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PO_COMPLEX_WORK_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_COMPLEX_WORK_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_EDA_IDX_FILE_GEN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_EDA_IDX_FILE_GEN, status:VALID,
-
SYNONYM: APPS.PO_HEADERS_DRAFT_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_DRAFT_ALL, status:VALID,
-
PACKAGE BODY: APPS.POS_CLM_UTIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:POS_CLM_UTIL_PKG, status:VALID,
-
PACKAGE BODY: APPS.PO_ACKNOWLEDGE_PO_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_ACKNOWLEDGE_PO_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_VERIFY_VENDOR_ELIGIBILITY
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_VERIFY_VENDOR_ELIGIBILITY, status:VALID,
-
APPS.PO_DOC_STYLE_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PO_DOC_STYLE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DOC_STYLE_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_DOC_STYLE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DOC_STYLE_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_CLM_CAR_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_CLM_CAR_UTIL, status:VALID,
-
PACKAGE BODY: APPS.PO_AME_SETUP_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_AME_SETUP_PVT, status:VALID,
-
SYNONYM: APPS.PO_DRAFTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_DRAFTS, status:VALID,
-
PACKAGE: APPS.PO_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_GLOBAL, status:VALID,
-
PACKAGE BODY: APPS.PO_DATATEMPLATE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DATATEMPLATE_PKG, status:VALID,
-
PACKAGE BODY: APPS.PO_DOCUMENT_ACTION_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DOCUMENT_ACTION_UTIL, status:VALID,
-
PACKAGE BODY: APPS.PO_UDA_DEFAULTING_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_UDA_DEFAULTING_PKG, status:VALID,
-
APPS.PO_EDA_DATATEMPLATE_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PO_DOC_NUMBERING_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DOC_NUMBERING_PKG, status:VALID,
-
PACKAGE BODY: APPS.PO_ACCOUNT_HELPER
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_ACCOUNT_HELPER, status:VALID,
-
PACKAGE BODY: APPS.PO_EDA_DATATEMPLATE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_EDA_DATATEMPLATE_PKG, status:VALID,
-
PACKAGE BODY: APPS.PO_CHG_REQUEST_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_CHG_REQUEST_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_DOCUMENT_FUNDS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DOCUMENT_FUNDS_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_SIGNATURE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_SIGNATURE_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_DRAFT_MERGE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DRAFT_MERGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.PO_MOD_SYNC_PROCESS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_MOD_SYNC_PROCESS_PVT, status:VALID,
-
APPS.PO_SIGNATURE_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PO_COMMUNICATION_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_COMMUNICATION_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_REQAPPROVAL_INIT1
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_REQAPPROVAL_INIT1, status:VALID,
-
PACKAGE BODY: APPS.PO_AME_SETUP_PVT
12.2.2
-
SYNONYM: APPS.PO_HEADERS_DRAFT_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_DRAFT_ALL, status:VALID,
-
SYNONYM: APPS.PO_DRAFTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_DRAFTS, status:VALID,
-
APPS.POS_CLM_UTIL_PKG SQL Statements
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.PO_DRAFTS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DRAFTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_CLM_CAR_UTIL
12.2.2
-
PACKAGE BODY: APPS.PO_DOCUMENT_CHECKS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DOCUMENT_CHECKS_PVT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
APPS.PO_DATATEMPLATE_PKG SQL Statements
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
APPS.PO_DOCUMENT_ACTION_UTIL SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PO_EDA_DATATEMPLATE_PKG
12.2.2
-
APPS.PO_ACCOUNT_HELPER SQL Statements
12.2.2