Search Results po_temp_labor_headers_v
Overview
PO_TEMP_LABOR_HEADERS_V is an APPS-owned database view within the Oracle E-Business Suite Purchasing (PO) module. It presents a consolidated header-level result set covering approved standard purchase orders that contain at least one temporary labor line. The view is read-only in nature and serves as a reporting and integration surface, allowing developers, report authors, and interface programs to retrieve header information for temp labor POs without having to reassemble the joins across purchasing, HR, and vendor tables manually.
The view exposes a curated projection of columns rather than the full PO_HEADERS_ALL record. Each row represents a single approved purchase order header, enriched with operating unit name, business group identifier, PO document type name, vendor and vendor site details, buyer identity, and the displayed authorization status. This makes it particularly suitable for Business Intelligence Publisher reports, Oracle Discoverer workbooks, OBIEE repository layers, and custom concurrent programs where a flat, denormalized result is preferred.
Because the view filters on AUTHORIZATION_STATUS in ('APPROVED','PRE-APPROVED') and APPROVED_FLAG = 'Y', it intrinsically excludes unapproved, rejected, cancelled, frozen, and disabled documents. Consumers therefore do not need to reapply those business filters.
Underlying Base Objects
The view is defined over the following documented base objects:
- PO_HEADERS_ALL — the driving table, supplying PO header attributes and the primary filter conditions.
- PO_LINES_ALL and PO_LINE_TYPES_B — joined via an EXISTS subquery that restricts rows to headers possessing at least one line whose line type has PURCHASE_BASIS = 'TEMP LABOR'.
- HR_ALL_ORGANIZATION_UNITS and HR_ALL_ORGANIZATION_UNITS_TL — provide the operating unit and its translated name, aligned to the PO ORG_ID and the session language.
- PER_ALL_PEOPLE_F — resolves the buyer (AGENT_ID) and returns the current effective person record using a MAX(EFFECTIVE_START_DATE) subquery.
- PO_VENDORS and PO_VENDOR_SITES_ALL — supply vendor name and vendor site code, joined on VENDOR_ID and VENDOR_SITE_ID with an ORG_ID match.
- PO_LOOKUP_CODES (a view) — an outer-joined source for the displayed authorization status, keyed on LOOKUP_TYPE = 'AUTHORIZATION STATUS'.
- PO_DOCUMENT_TYPES_ALL_TL — supplies the translated document type name where DOCUMENT_TYPE_CODE = 'PO'.
- FND_GLOBAL — referenced indirectly through USERENV('LANG') usage for language-dependent joins.
Key Columns
The view exposes a header-identification and descriptive column set. Important columns include:
- PO_NUMBER — the user-visible SEGMENT1 purchase order number.
- PO_HEADER_ID — the internal primary key, useful for drill-down joins to PO_HEADERS_ALL or PO_LINES_ALL.
- OPERATING_UNIT_NAME — the translated name of the HR organization unit acting as the operating unit.
- BUSINESS_GROUP_ID — the business group associated with the operating unit.
- PO_TYPE — the translated document type name (for example, Standard Purchase Order).
- AUTHORIZATION_STATUS_DSP — the displayed authorization status description derived from PO_LOOKUP_CODES; this is the column frequently referenced by the search term "authorization_status_dsp".
- VENDOR_ID, VENDOR_SITE_ID, VENDOR_NAME, VENDOR_SITE_NAME — vendor identification and descriptive fields.
- BUYER_ID, BUYER_FULL_NAME — the purchasing agent and their current full name from PER_ALL_PEOPLE_F.
Common Use Cases and Queries
Typical scenarios include reporting on temp labor spend by buyer, vendor, or operating unit; populating an interface table with approved temp labor PO headers; and validating document status before downstream processing.
A representative query retrieving headers for a given operating unit and vendor:
- SELECT PO_NUMBER, OPERATING_UNIT_NAME, PO_TYPE, AUTHORIZATION_STATUS_DSP, VENDOR_NAME, BUYER_FULL_NAME FROM PO_TEMP_LABOR_HEADERS_V WHERE OPERATING_UNIT_NAME = :p_org AND VENDOR_ID = :p_vendor ORDER BY PO_NUMBER;
- SELECT BUYER_FULL_NAME, COUNT(*) FROM PO_TEMP_LABOR_HEADERS_V GROUP BY BUYER_FULL_NAME;
- SELECT PO_NUMBER, AUTHORIZATION_STATUS_DSP FROM PO_TEMP_LABOR_HEADERS_V WHERE AUTHORIZATION_STATUS_DSP = :p_status;
Because the view already restricts to approved standard temp labor POs, these queries remain concise and performant when supported by existing indexes on PO_HEADERS_ALL and PO_LINES_ALL.
-
View: PO_TEMP_LABOR_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_TEMP_LABOR_HEADERS_V, object_name:PO_TEMP_LABOR_HEADERS_V, status:VALID, product: PO - Purchasing , description: Retrieves information on approved standard POs with Temp Labor lines. , implementation_dba_data: APPS.PO_TEMP_LABOR_HEADERS_V ,
-
View: PO_TEMP_LABOR_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_TEMP_LABOR_HEADERS_V, object_name:PO_TEMP_LABOR_HEADERS_V, status:VALID, product: PO - Purchasing , description: Retrieves information on approved standard POs with Temp Labor lines. , implementation_dba_data: APPS.PO_TEMP_LABOR_HEADERS_V ,
-
SYNONYM: APPS.PO_DOCUMENT_TYPES_ALL_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_DOCUMENT_TYPES_ALL_TL, status:VALID,
-
PACKAGE BODY: APPS.PER_ASG_BUS3
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PER_ASG_BUS3, status:VALID,
-
PACKAGE BODY: APPS.PER_ASG_BUS3
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PER_ASG_BUS3, status:VALID,
-
SYNONYM: APPS.PO_DOCUMENT_TYPES_ALL_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_DOCUMENT_TYPES_ALL_TL, status:VALID,
-
PACKAGE BODY: APPS.HR_PROCESS_ASSIGNMENT_SS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_PROCESS_ASSIGNMENT_SS, status:VALID,
-
APPS.PER_ASG_BUS3 SQL Statements
12.2.2
-
APPS.PER_ASG_BUS3 SQL Statements
12.1.1
-
PACKAGE BODY: APPS.HR_PROCESS_ASSIGNMENT_SS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_PROCESS_ASSIGNMENT_SS, status:VALID,
-
SYNONYM: APPS.PO_LINE_TYPES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_LINE_TYPES_B, status:VALID,
-
SYNONYM: APPS.PO_LINE_TYPES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINE_TYPES_B, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
VIEW: APPS.PO_TEMP_LABOR_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_TEMP_LABOR_HEADERS_V, object_name:PO_TEMP_LABOR_HEADERS_V, status:VALID,
-
PACKAGE BODY: APPS.HR_ASSIGNMENT_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_ASSIGNMENT_API, status:VALID,
-
VIEW: APPS.PO_TEMP_LABOR_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_TEMP_LABOR_HEADERS_V, object_name:PO_TEMP_LABOR_HEADERS_V, status:VALID,
-
PACKAGE BODY: APPS.HR_ASSIGNMENT_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_ASSIGNMENT_API, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
APPS.HR_PROCESS_ASSIGNMENT_SS dependencies on PO_TEMP_LABOR_HEADERS_V
12.1.1
-
APPS.HR_ASSIGNMENT_API dependencies on PO_TEMP_LABOR_HEADERS_V
12.1.1
-
APPS.PER_ASG_BUS3 dependencies on PO_TEMP_LABOR_HEADERS_V
12.1.1
-
APPS.PER_ASG_BUS3 dependencies on PO_TEMP_LABOR_HEADERS_V
12.2.2
-
APPS.HR_PROCESS_ASSIGNMENT_SS dependencies on PO_TEMP_LABOR_HEADERS_V
12.2.2
-
APPS.HR_ASSIGNMENT_API dependencies on PO_TEMP_LABOR_HEADERS_V
12.2.2
-
VIEW: APPS.PO_LOOKUP_CODES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LOOKUP_CODES, object_name:PO_LOOKUP_CODES, status:VALID,
-
SYNONYM: APPS.HR_ALL_ORGANIZATION_UNITS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_ALL_ORGANIZATION_UNITS_TL, status:VALID,
-
SYNONYM: APPS.HR_ALL_ORGANIZATION_UNITS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ALL_ORGANIZATION_UNITS_TL, status:VALID,
-
VIEW: APPS.PO_LOOKUP_CODES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LOOKUP_CODES, object_name:PO_LOOKUP_CODES, status:VALID,
-
SYNONYM: APPS.PO_LINES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_LINES_ALL, status:VALID,
-
VIEW: APPS.PO_VENDOR_SITES_ALL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.PO_VENDOR_SITES_ALL, object_name:PO_VENDOR_SITES_ALL, status:VALID,
-
SYNONYM: APPS.PO_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINES_ALL, status:VALID,
-
VIEW: APPS.PO_VENDOR_SITES_ALL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.PO_VENDOR_SITES_ALL, object_name:PO_VENDOR_SITES_ALL, status:VALID,
-
SYNONYM: APPS.PO_HEADERS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_ALL, status:VALID,
-
SYNONYM: APPS.PO_HEADERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_ALL, status:VALID,
-
VIEW: APPS.PO_VENDORS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.PO_VENDORS, object_name:PO_VENDORS, status:VALID,
-
APPS.HR_PROCESS_ASSIGNMENT_SS dependencies on PO_HEADERS_ALL
12.2.2
-
APPS.HR_PROCESS_ASSIGNMENT_SS dependencies on PO_HEADERS_ALL
12.1.1
-
VIEW: APPS.PO_VENDORS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.PO_VENDORS, object_name:PO_VENDORS, status:VALID,
-
SYNONYM: APPS.HR_ALL_ORGANIZATION_UNITS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ALL_ORGANIZATION_UNITS, status:VALID,
-
PACKAGE BODY: APPS.PER_ASG_BUS3
12.1.1
-
PACKAGE BODY: APPS.PER_ASG_BUS3
12.2.2
-
SYNONYM: APPS.HR_ALL_ORGANIZATION_UNITS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_ALL_ORGANIZATION_UNITS, status:VALID,
-
SYNONYM: APPS.PER_ALL_PEOPLE_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_ALL_PEOPLE_F, status:VALID,
-
SYNONYM: APPS.PER_ALL_PEOPLE_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_ALL_PEOPLE_F, status:VALID,
-
PACKAGE BODY: APPS.HR_PROCESS_ASSIGNMENT_SS
12.1.1
-
PACKAGE BODY: APPS.HR_PROCESS_ASSIGNMENT_SS
12.2.2
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,