Search Results get_header_amount_ordered




Overview

PO_XML_FPDSNG_PKG (source file PODTFPDS.pls) is an Oracle E-Business Suite PL/SQL package owned by APPS and declared with AUTHID CURRENT_USER. It supports the generation of Federal Procurement Data System (FPDS) related XML payloads and supporting data extracts for purchasing documents. The package exposes utility functions for resolving location identifiers, producing XMLTYPE and CLOB structures for UDA (User Defined Attribute) header content, contacts, and addresses in both live and draft modes, and computing ordered amounts at the header, line, and option-excluded levels. In the context of Oracle EBS 12.1.1 and 12.2.2, it is typically invoked during XML document construction and FPDS/data reporting flows where purchasing header, draft, vendor, and descriptive flexfield information must be serialized into structured XML or CLOB output. The user search term "get_drafts_contactsxml" corresponds directly to one of the package's documented functions, indicating interest in draft-specific contact XML retrieval.

Key Procedures and Functions

The package exposes fourteen documented functions. They can be grouped by purpose:

The package also declares several package-level variables and a private constant (P_ATTR_GROUP_COL_LIST) used to hold attribute group column definitions and session context values such as HEADERID, draft id, car id, and document modification flags.

Tables Accessed

The package reads from the following documented objects via APPS synonyms:

Usage Notes

PO_XML_FPDSNG_PKG is normally called from FPDS/XML document generation logic rather than directly by end users. It is invoked during purchasing document XML construction (including draft documents) and reporting flows touching UDA header content, contacts, addresses, vendor details, and ordered amount totals. Custom code or concurrent programs that build FPDS-style payloads may call GET_DRAFTS_CONTACTSXML and related functions directly. The package operates under AUTHID CURRENT_USER, so the executing schema must hold appropriate privileges on the APPS synonyms referenced. Because procedures are not documented as returning ref cursors or DML operations, the package should be treated as a read-oriented XML/CLOB generation utility for purchasing header and draft data.