Search Results source_doc_line_id




Overview

PO_REQUISITION_TEMPLATES_V is a Purchasing (PO) module view owned by the APPS schema and marked VALID in Oracle E-Business Suite 12.1.1 and 12.2.2. Its description is recorded as "Retrofitted," indicating it was carried forward to preserve backward compatibility for customizations, reports, or integrations that predate the current requisition template architecture. The view presents pre-defined requisition templates stored in the requisition express infrastructure — the header and line records that Procurement uses to generate requisition templates or "express" requisition setups. Each row joins an express header (template header) to one of its express lines, along with the corresponding documented purchasing header, line, item, vendor, currency, and organization attributes. It therefore serves as a denormalized, read-only reporting surface for template content rather than as a transactional interface.

Underlying Base Objects

The view text is built on two primary tables — PO_REQEXPRESS_HEADERS (aliased PRH) and PO_REQEXPRESS_LINES_ALL (aliased PRL) — combined with a broad set of supporting objects. The documented base objects for 12.2.2 include:

The express line drives the join to PO_LINES_ALL via PO_LINE_ID and to PO_HEADERS_ALL via PO_HEADER_ID, while lookup and type tables resolve codes into descriptive names.

Key Columns

Because the user searched for source_doc_line_id, it is important to note that this identifier is not among the columns enumerated in the documented view text; source-related attributes are instead represented through SOURCE_TYPE_CODE, SOURCE_ORGANIZATION_ID, SOURCE_SUBINVENTORY, and the suggested-vendor fields.

Several columns use DECODE expressions to return inventory-derived or vendor-derived values depending on SOURCE_TYPE_CODE.

Common Use Cases and Queries

Typical uses include auditing template contents, validating defaulting logic, and feeding downstream requisition automation. To retrieve all lines for a named template:

  • SELECT express_name, sequence_num, item_description, unit_price, source_type_code FROM po_requisition_templates_v WHERE express_name = :template ORDER BY sequence_num;
  • SELECT express_name, segment1, vendor_name, organization_code, amount FROM po_requisition_templates_v WHERE org_id = :org_id;
  • SELECT express_name, item_id, suggested_vendor_site_id, rfq_required_flag FROM po_requisition_templates_v WHERE negotiated_by_preparer_flag = 'Y';

Security context is applied through HR organization and FND_GLOBAL values, so results reflect the operating unit of the session. (Note: 12.1.1 and 12.2.2 may differ in some join specifics; the metadata above reflects the documented 12.2.2 definition.)