Results for “get_attribute_attachment”
8 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
PON_AUCTION_PO_PKG is an Oracle E-Business Suite PL/SQL package owned by the APPS schema, classified in the E-Business Suite Technical Reference Manual (ETRM) as an OTHER-type API. It belongs to the Oracle Sourcing (PON) module and provides the programmatic backbone for retrieving auction and sourcing document attachments, as well as supporting validation logic tied to the auction-to-purchase-order flow. In EBS 12.1.1 and 12.2.2, sourcing auctions allow buyers and suppliers to exchange richly annotated documents — headers, lines, attributes, pricing elements, and notes — and this package exposes the read-side interfaces that surface those attachments for display, printing, and downstream contract or purchase order generation.
The package is referenced by four other packages within the APPS schema, indicating it functions as a shared utility layer rather than a standalone business API. Its procedures are designed primarily to return attachment metadata and content through OUT parameters, including error_code and error_msg indicators, reflecting a defensive programming pattern common to EBS APIs.
Key Procedures and Functions
- GET_ATTACHMENT — Generic attachment retrieval routine taking a three-part key, an attachment type, and returning an attachment description, the attachment body (LONG), and error indicators. This is the entry point most commonly associated with the "get_attachment" search term.
- GET_ATTRIBUTE_ATTACHMENT — Retrieves attachments associated with auction attribute values for a given header, bid number, and line.
- GET_HDR_ATTRIBUTE_ATTACHMENT — Returns header-level attribute attachments, distinguished from the line-level variant above.
- GET_HDR_ATTRIBUTE_ATTACH_CLOB — CLOB-based counterpart for header attribute attachments, used where attachment content exceeds LONG limits.
- GET_NOTE_TO_BUYER_ATTACHMENT — Fetches attachments attached to notes directed at the buyer.
- GET_NOTE_TO_SUPP_ATTACHMENT — Fetches supplier-facing note attachments, with an additional parameter indicating line or header scope.
- GET_TOTAL_COST_ATTACHMENT — Returns attachments linked to total-cost or price-element structures for a bid line.
- GET_JOB_DETAILS_ATTACHMENT — Retrieves attachments tied to job or project detail information on auction lines.
- GET_PAYMENT_NOTE_TO_SUPP — Returns supplier payment notes, drawing on payment and shipment data.
- CHECK_UNIQUE — Validates uniqueness of a purchase order number within an operating unit, returning a status indicator.
Tables Accessed
The package reads from a defined set of sourcing and reference tables via APPS synonyms. Auction master data is drawn from PON_AUCTION_HEADERS_ALL and PON_AUCTION_ATTRIBUTES, while line-level attribute values come from PON_BID_ATTRIBUTE_VALUES and PON_BID_HEADERS. Pricing and cost attachment logic depends on PON_AUCTION_ITEM_PRICES_ALL, PON_BID_ITEM_PRICES, PON_BID_PRICE_ELEMENTS, and PON_PRICE_ELEMENT_TYPES_TL. Payment and shipment notes require PON_AUC_PAYMENTS_SHIPMENTS. Document type lookups are resolved through PON_AUC_DOCTYPES and the generic FND_LOOKUP_VALUES view.
Usage Notes
PON_AUCTION_PO_PKG is typically invoked from Oracle Sourcing UI components, OAF pages, and XML Publisher or BI Publisher report templates that render auction documentation. Custom extensions and concurrent programs also call the GET_ATTACHMENT family when they need to copy auction attachments onto resulting purchase orders, quotations, or contract terms. Because several routines return LONG or CLOB data, callers must be prepared to handle large attachment payloads and should treat error_code non-null returns as authoritative failure indicators. Direct modification of underlying tables is not intended; the package is read-oriented except for CHECK_UNIQUE, which performs validation without persistent writes.