Search Results po_lines_print
Overview
APPS.PO_LINES_PRINT is a reporting-oriented database view in the Oracle E-Business Suite Purchasing (PO) module. Its name and structure indicate that it was designed to supply the data set consumed by the standard Purchase Order Print program (and related document-printing utilities) that render purchasable document lines for output. The view consolidates header-level, line-level, and reference-table attributes into a single denormalized result set, so that a printing or reporting process does not need to traverse the full normalized purchasing schema itself.
The ETRM metadata records the object as VALID with owner APPS, and describes it tersely as "Retrofitted," a designation commonly applied to objects that were re-pointed or re-created during an upgrade or patch cycle. The view is relevant in both 12.1.1 and 12.2.2, where the underlying purchasing tables remain largely compatible. Its principal value lies in shielding callers from the complexity of joining PO_LINES, PO_HEADERS_ALL, and PO_LINE_TYPES while still exposing the descriptive, quantity, pricing, and hazard information required on a printed order.
Underlying Base Objects
The documented base objects for the view are MTL_UNITS_OF_MEASURE, PO_HAZARD_CLASSES, PO_HEADERS_ALL, PO_LINES, PO_LINES_ALL, PO_LINE_LOCATIONS_ALL, PO_LINE_TYPES, PO_RELEASES_ALL, and PO_UN_NUMBERS. These are referenced through public synonyms in the APPS schema.
The view text confirms that the core driving table is PO_LINES (PL1), joined to PO_HEADERS_ALL (PH1, PH2), PO_LINES_ALL (PL2), and PO_LINE_TYPES (PLT) on their respective identifiers. Reference lookups are resolved through MTL_UNITS_OF_MEASURE (MUM) for unit-of-measure descriptions, PO_UN_NUMBERS (PUN) for United Nations hazard identification, and PO_HAZARD_CLASSES (PHC) for hazard class. The presence of PO_LINE_LOCATIONS_ALL and PO_RELEASES_ALL in the documented dependency list reflects the broader join graph used for shipment- and release-level sourcing, even where the excerpted text does not show those predicates explicitly.
Key Columns
The view exposes a broad mix of descriptive and computational columns. Notable ones include:
PO_LINE_ID,PO_HEADER_ID— primary identifiers linking the row back to the transactional purchasing tables.LINE_NUM— the displayed line number on the printed document.ITEM_DESCRIPTION,ITEM_REVISION,VENDOR_PRODUCT_NUM,NOTE_TO_VENDOR— descriptive line content.UNIT_PRICE,QUANTITY,QUANTITY_COMMITTED,AMOUNT— pricing and quantity facts, with several values derived conditionally by order type.ORDER_TYPE_LOOKUP_CODE— controls which pricing/quantity expressions are populated (e.g.,AMOUNT,QUANTITY,RATE,FIXED PRICE).FROM_HEADER_ID,FROM_LINE_ID— the source reference identifying the originating header and line, commonly used to trace blanket or contract references.CONTRACT_NUM,QUOTE_VENDOR_QUOTE_NUMBER,SEGMENT1,GLOBAL_AGREEMENT_FLAG— agreement and sourcing context.UNIT_MEAS_LOOKUP_CODE, the concatenated UN number and description, andHAZARD_CLASS— unit and hazardous-material presentation.ATTRIBUTE_CATEGORYandATTRIBUTE1throughATTRIBUTE15— the descriptive flexfield columns available for print layout.CANCEL_FLAG,CANCEL_DATE,CANCEL_REASON,ORG_ID— status and multi-org context.
Common Use Cases and Queries
The view is most often queried where a report or custom print layout needs purchasing line data without re-implementing the standard join logic. A query to retrieve print detail for a specific order would resemble:
SELECT line_num, item_description, unit_price, quantity, unit_meas_lookup_code
FROM apps.po_lines_print
WHERE po_header_id = :p_header_id
ORDER BY line_num;
Because the user search term was from_line_id, a frequent second use case is tracing a line back to its originating document line — for example, linking a release line to the blanket agreement line it consumes:
SELECT pl.line_num, pl.from_header_id, pl.from_line_id, pl.item_description
FROM apps.po_lines_print pl
WHERE pl.from_line_id IS NOT NULL;
Other common scenarios include generating hazard and UN number labels for dangerous-goods shipments, extracting descriptive flexfield attributes for downstream interfaces, and feeding BI Publisher or Oracle Reports layouts that mirror the seeded PO Print output. When using the view, note that pricing and quantity columns may legitimately return NULL depending on order_type_lookup_code, and queries should always be scoped by org_id or po_header_id to maintain multi-org security and acceptable performance.
-
View: PO_LINES_PRINT
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_PRINT, object_name:PO_LINES_PRINT, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.PO_LINES_PRINT ,
-
View: PO_LINES_PRINT
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_PRINT, object_name:PO_LINES_PRINT, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.PO_LINES_PRINT ,
-
SYNONYM: APPS.PO_UN_NUMBERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_UN_NUMBERS, status:VALID,
-
SYNONYM: APPS.PO_UN_NUMBERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_UN_NUMBERS, status:VALID,
-
PACKAGE BODY: APPS.PO_EMAIL_GENERATE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_EMAIL_GENERATE, status:VALID,
-
SYNONYM: APPS.PO_HAZARD_CLASSES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_HAZARD_CLASSES, status:VALID,
-
PACKAGE BODY: APPS.PO_EMAIL_GENERATE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_EMAIL_GENERATE, status:VALID,
-
SYNONYM: APPS.PO_HAZARD_CLASSES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_HAZARD_CLASSES, status:VALID,
-
VIEW: APPS.PO_LINES_PRINT
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_PRINT, object_name:PO_LINES_PRINT, status:VALID,
-
SYNONYM: APPS.PO_LINE_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_LINE_TYPES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
APPS.PO_EMAIL_GENERATE SQL Statements
12.1.1
-
SYNONYM: APPS.PO_LINE_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINE_TYPES, status:VALID,
-
VIEW: APPS.PO_LINES_PRINT
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_PRINT, object_name:PO_LINES_PRINT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
APPS.PO_EMAIL_GENERATE SQL Statements
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
SYNONYM: APPS.PO_RELEASES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_RELEASES_ALL, status:VALID,
-
SYNONYM: APPS.PO_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_LINES, status:VALID,
-
SYNONYM: APPS.PO_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINES, status:VALID,
-
SYNONYM: APPS.PO_RELEASES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_RELEASES_ALL, status:VALID,
-
APPS.PO_EMAIL_GENERATE dependencies on PO_LINES_PRINT
12.2.2
-
APPS.PO_EMAIL_GENERATE dependencies on PO_LINES_PRINT
12.1.1
-
SYNONYM: APPS.MTL_UNITS_OF_MEASURE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_UNITS_OF_MEASURE, status:VALID,
-
SYNONYM: APPS.PO_LINE_LOCATIONS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_LINE_LOCATIONS_ALL, status:VALID,
-
SYNONYM: APPS.MTL_UNITS_OF_MEASURE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_UNITS_OF_MEASURE, status:VALID,
-
SYNONYM: APPS.PO_LINES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_LINES_ALL, status:VALID,
-
SYNONYM: APPS.PO_LINE_LOCATIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINE_LOCATIONS_ALL, status:VALID,
-
SYNONYM: APPS.PO_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINES_ALL, status:VALID,
-
SYNONYM: APPS.PO_HEADERS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_ALL, status:VALID,
-
APPS.PO_EMAIL_GENERATE dependencies on PO_LINES
12.1.1
-
APPS.PO_EMAIL_GENERATE dependencies on PO_LINES
12.2.2
-
SYNONYM: APPS.PO_HEADERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_ALL, status:VALID,
-
PACKAGE BODY: APPS.PO_EMAIL_GENERATE
12.1.1
-
PACKAGE BODY: APPS.PO_EMAIL_GENERATE
12.2.2
-
APPS.PO_EMAIL_GENERATE dependencies on FND_MESSAGE
12.1.1
-
APPS.PO_EMAIL_GENERATE dependencies on FND_MESSAGE
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - PO Tables and Views
12.1.1
description: Temporary table for tracking a receiving upgrade from Release 9 to Release 10 ,
-
eTRM - PO Tables and Views
12.2.2
description: Temporary table for tracking a receiving upgrade from Release 9 to Release 10 ,
-
eTRM - PO Tables and Views
12.1.1
description: Temporary table for tracking a receiving upgrade from Release 9 to Release 10 ,
-
eTRM - PO Tables and Views
12.2.2
description: Temporary table for tracking a receiving upgrade from Release 9 to Release 10 ,