Search Results pogot_s
Overview
POGOT_S is an Oracle Purchasing utility package owned by the APPS schema. Its purpose is narrow and well defined: it calculates the monetary total of a given Purchasing or iProcurement object. The package exposes a single general-purpose computation entry point, GET_TOTAL, together with a supplementary function, ECX_GET_TOTAL, which is tailored to the e-commerce extension (ECX) integration layer used by iProcurement and related self-service flows. The "_S" suffix and the AUTHID CURRENT_USER declaration indicate a shared, invoker-rights utility package rather than a business-event API. The package does not own transactional data; it derives aggregate values from existing Purchasing tables at runtime and returns a numeric result to the caller. Because totals are computed interpretation of header, line, distribution, and currency data rather than stored values, POGOT_S provides a consistent, centralized calculation path that avoids duplicating summation logic across forms, workflows, and integration programs.
Key Procedures and Functions
- GET_TOTAL — Returns the total value of a specified Purchasing or requisitioning object. The caller supplies an object type code, an object identifier, and a flag requesting whether the result should be expressed in the base (functional) currency. Documented object type codes cover PO Header ('H'), PO Line ('L'), PO Blanket ('B'), PO Planned ('P'), Requisition Header ('E'), Requisition Line ('I'), Contract ('C'), and Release ('R'). The function resolves the appropriate source records for the nominated object and returns the summed amount. When base-currency output is requested, the result is converted from the document currency rather than returned in the transaction currency.
- ECX_GET_TOTAL — Returns the total for an object in the context of an explicitly supplied PO currency. This variant supports the ECX integration path, where the calling interface already knows the document currency and requires the total expressed accordingly. It parallels the behavior of GET_TOTAL but accepts currency as an input rather than deriving it internally.
The package header additionally documents the object-type-to-ID parameter convention and the boolean base-currency switch, confirming that a single function signature serves all supported document categories rather than separate functions per object type.
Tables Accessed
POGOT_S reads from the core Purchasing and requisitioning base tables through APPS synonyms. PO_HEADERS and PO_HEADERS_ALL supply document-level context, including currency and document type. PO_LINES and PO_LINES_ALL provide line amounts, while PO_LINE_LOCATIONS and PO_LINE_LOCATIONS_ALL contribute shipment-level quantities and pricing relevant to line and release totals. PO_DISTRIBUTIONS and PO_DISTRIBUTIONS_ALL supply accounting distributions used when aggregating amounts attributable to an object. PO_RELEASES and PO_RELEASES_ALL support release-level totals against blanket agreements and contracts. PO_REQUISITION_LINES and PO_REQUISITION_LINES_ALL serve the requisition header ('E') and requisition line ('I') object types. FND_CURRENCIES and FINANCIALS_SYSTEM_PARAMETERS support currency resolution and base-currency conversion, since the calculation must determine the functional currency and any applicable rounding conventions before returning a result.
Usage Notes
POGOT_S is referenced by five other packages, indicating it is invoked as a shared calculation service rather than called directly by end users. Typical invocation occurs from Purchasing and iProcurement forms, from workflow and notification logic that must display a document total, and from custom or extension code that requires an authoritative sum for a PO, release, contract, or requisition. The ECX_GET_TOTAL variant is used where the ECX layer already holds the document currency. Because the package declares AUTHID CURRENT_USER, callers must have the underlying SELECT privileges on the referenced Purchasing tables in their own right. When extending Purchasing logic, developers should call GET_TOTAL rather than replicating summation queries, thereby preserving consistency in currency handling, distribution inclusion, and object-type interpretation across the application.
-
PACKAGE: APPS.POGOT_S
12.1.1
owner:APPS, object_type:PACKAGE, object_name:POGOT_S, status:VALID,
-
PACKAGE BODY: APPS.POGOT_S
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:POGOT_S, status:VALID,
-
PACKAGE: APPS.POGOT_S
12.2.2
owner:APPS, object_type:PACKAGE, object_name:POGOT_S, status:VALID,
-
PACKAGE BODY: APPS.POGOT_S
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:POGOT_S, status:VALID,
-
PACKAGE BODY: APPS.POREQ
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:POREQ, status:VALID,
-
PACKAGE BODY: APPS.POREQ
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:POREQ, status:VALID,
-
PACKAGE: APPS.POGOT_S
12.2.2
-
PACKAGE: APPS.POGOT_S
12.1.1
-
SYNONYM: APPS.PO_RELEASES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_RELEASES, status:VALID,
-
VIEW: APPS.PO_ECX_HEADER_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_ECX_HEADER_V, object_name:PO_ECX_HEADER_V, status:VALID,
-
SYNONYM: APPS.PO_RELEASES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_RELEASES, status:VALID,
-
VIEW: APPS.PO_ECX_HEADER_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_ECX_HEADER_V, object_name:PO_ECX_HEADER_V, status:VALID,
-
VIEW: APPS.PO_CXML_HEADER_ARCH_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_CXML_HEADER_ARCH_V, object_name:PO_CXML_HEADER_ARCH_V, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS, status:VALID,
-
SYNONYM: APPS.PO_REQUISITION_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_REQUISITION_LINES, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS, status:VALID,
-
VIEW: APPS.PO_CXML_HEADER_ARCH_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_CXML_HEADER_ARCH_V, object_name:PO_CXML_HEADER_ARCH_V, status:VALID,
-
SYNONYM: APPS.PO_REQUISITION_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_REQUISITION_LINES, status:VALID,
-
SYNONYM: APPS.PO_RELEASES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_RELEASES_ALL, status:VALID,
-
VIEW: APPS.PO_ECX_HEADER_ARCH_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_ECX_HEADER_ARCH_V, object_name:PO_ECX_HEADER_ARCH_V, status:VALID,
-
VIEW: APPS.PO_ECX_HEADER_ARCH_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_ECX_HEADER_ARCH_V, object_name:PO_ECX_HEADER_ARCH_V, status:VALID,
-
SYNONYM: APPS.PO_RELEASES_ALL
12.2.2
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,
-
VIEW: APPS.ITG_PO_HEADER_ARCH_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ITG.ITG_PO_HEADER_ARCH_V, object_name:ITG_PO_HEADER_ARCH_V, status:VALID,
-
VIEW: APPS.ITG_PO_HEADER_ARCH_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ITG.ITG_PO_HEADER_ARCH_V, object_name:ITG_PO_HEADER_ARCH_V, status:VALID,
-
SYNONYM: APPS.PO_LINE_LOCATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINE_LOCATIONS, status:VALID,
-
SYNONYM: APPS.PO_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINES, status:VALID,
-
SYNONYM: APPS.FINANCIALS_SYSTEM_PARAMETERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FINANCIALS_SYSTEM_PARAMETERS, status:VALID,
-
SYNONYM: APPS.FINANCIALS_SYSTEM_PARAMETERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FINANCIALS_SYSTEM_PARAMETERS, status:VALID,
-
SYNONYM: APPS.PO_LINE_LOCATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_LINE_LOCATIONS, status:VALID,
-
SYNONYM: APPS.PO_REQUISITION_LINES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_REQUISITION_LINES_ALL, status:VALID,
-
APPS.ITG_PO_HEADER_ARCH_V dependencies on POGOT_S
12.1.1
-
SYNONYM: APPS.PO_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS, status:VALID,
-
SYNONYM: APPS.PO_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS, status:VALID,
-
PACKAGE: APPS.FND_CURRENCY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_CURRENCY, status:VALID,
-
SYNONYM: APPS.PO_REQUISITION_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_REQUISITION_LINES_ALL, status:VALID,
-
APPS.PO_CXML_HEADER_ARCH_V dependencies on POGOT_S
12.1.1
-
APPS.PO_ECX_HEADER_V dependencies on POGOT_S
12.1.1
-
APPS.PO_CXML_HEADER_ARCH_V dependencies on POGOT_S
12.2.2
-
APPS.POREQ dependencies on POGOT_S
12.1.1
-
APPS.PO_ECX_HEADER_V dependencies on POGOT_S
12.2.2
-
APPS.POGOT_S dependencies on POGOT_S
12.2.2
-
PACKAGE: APPS.FND_CURRENCY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_CURRENCY, status:VALID,
-
APPS.PO_ECX_HEADER_ARCH_V dependencies on POGOT_S
12.1.1
-
APPS.POGOT_S dependencies on POGOT_S
12.1.1
-
APPS.POREQ dependencies on POGOT_S
12.2.2
-
APPS.PO_ECX_HEADER_ARCH_V dependencies on POGOT_S
12.2.2
-
APPS.ITG_PO_HEADER_ARCH_V dependencies on POGOT_S
12.2.2
-
PACKAGE: APPS.PO_MESSAGE_S
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_MESSAGE_S, status:VALID,
-
PACKAGE: APPS.PO_MESSAGE_S
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_MESSAGE_S, status:VALID,