Results for “get_document_tax_constants”

8 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The APPS.PO_TAX_INTERFACE_GRP package body is a Purchasing (PO) module component in Oracle E-Business Suite 12.1.1 and 12.2.2 that supports the E-Business Tax (EBTAX) integration for procurement documents. Its principal documented role is to expose tax-related defaulting and configuration constants that originate from the PO_CONSTANTS_SV value set, which stores system-level Purchasing constants. These constants tell downstream tax engine calls how a given procurement document should be classified for tax determination — specifically the applicable application, entity code, and event class code. The package is classified in ETRM as a GRP (group) API, meaning it is intended as a logical grouping container rather than a full transactional application programming interface. It is marked as noship in the header, indicating it is an internal, non-shippable utility object used by other PO tax integration code rather than a public extension point. One documented procedure is exposed, and the package is referenced by one other package, confirming its role as a supporting helper in the EBTAX flow rather than a top-level entry point.

Key Procedures and Functions

  • GET_DOCUMENT_TAX_CONSTANTS — Returns the EBTAX constants for a Purchasing document as stored in PO_CONSTANTS_SV. It accepts the standard API specification inputs (API version, initialization message list, commit, and validation level) plus a document type parameter whose valid values are PO, RELEASE, and REQUISITION. On output it returns the standard API return status (x_return_status, carrying FND_API.G_RET_STS_SUCCESS, G_RET_STS_ERROR, or G_RET_STS_UNEXP_ERROR), the standard message count and message data parameters, and the resolved tax context values: the PO application identifier, the entity code associated with the document, and the event class code associated with the document. The procedure does not modify or lock any data; it is a read-only lookup that maps a procurement document type to the tax attributes required by the EBTAX engine.

Tables Accessed

No base tables are documented directly against this package via APPS synonyms. The procedure’s stated function is to read constants held in the PO_CONSTANTS_SV value set. In practice, this value set resolves against the underlying Purchasing constants storage, from which the application ID, entity code, and event class code are derived for the supplied document type. Because the procedure is read-only with no modifies or locks declared, it performs no inserts, updates, or deletes and acquires no row-level locks. Any consumption of the returned values occurs in the calling program, not within this package.

Usage Notes

This package is an internal helper invoked by other Purchasing tax integration packages — ETRM records exactly one referencing package — rather than being called directly from Oracle Forms or a concurrent program. It is most commonly reached during tax calculation or defaulting for purchase orders, releases, and requisitions, where the calling routine must translate a document type into the EBTAX application, entity, and event class context. Custom code should not depend on it as a supported extension interface; developers requiring equivalent behavior should treat it as illustrative and prefer documented, shippable tax APIs. Because it is marked noship, its signature and internal behavior are subject to change between releases and should not be assumed stable across 12.1.1 and 12.2.2.