Search Results p_total_type
Overview
OE_TOTALS_GRP is a PL/SQL group package in the APPS schema that provides a consolidated programmatic interface for retrieving monetary totals associated with Oracle Order Management entities. Its primary business function is to aggregate and return order-level and line-level amounts across the three principal cost components of an order: line amounts, charges, and taxes. The package abstracts the underlying summation logic so that forms, concurrent programs, and custom extensions can obtain consistent totals without directly querying the order line tables. The package body header identifies the internal version as 120.2, with an initial and current version of 1.0 as documented in the API comments.
Key Procedures and Functions
The documented API surface of OE_TOTALS_GRP comprises four functions, each addressing a distinct totals scenario:
- GET_ORDER_TOTAL — Returns the aggregate total for an order or a specific line. The API comment block indicates that when the header identifier is passed and the line identifier is null, the function returns order-level totals; when both are supplied, it returns line-level totals. The amount returned depends on the caller-supplied total type, which selects among the categories ALL, LINES, CHARGES, and TAXES.
- GET_REC_ORDER_TOTAL — Retrieves totals for recurring order constructs, supporting the pricing and billing of recurring line arrangements.
- GET_RECURRING_TOTALS — Returns aggregated recurring amounts, complementing GET_REC_ORDER_TOTAL for recurring order processing.
- GET_PAYNOW_TOTAL — Returns the pay-now total associated with an order, supporting immediate-payment processing paths.
Tables Accessed
The package operates against two documented data sources referenced through APPS synonyms. OE_ORDER_LINES_ALL is the principal order line table, supplying line amount, charge, and tax values that the functions aggregate. PLITBLM is a PL/SQL index-by table type used internally for holding and manipulating numeric collections during summation; it is not a persistent database table. Together these objects support the calculation paths for the four functions described above.
Usage Notes
OE_TOTALS_GRP is a group-type API, meaning it is intended as an internal building block rather than a public, standalone interface. It is referenced by ten other packages within the EBS code base, which indicates that it is typically invoked indirectly by higher-level order management APIs and processing routines rather than called directly by end-user code. Customizations that require order or line totals should generally prefer the calling public APIs, but developers may invoke OE_TOTALS_GRP where the aggregated result is required within server-side PL/SQL. The p_total_type parameter drives the result: callers pass ALL to obtain the combined total, or restrict the result to LINES, CHARGES, or TAXES as appropriate. Because the interface is group-classified and versioned from 2005, it should be treated as a stable but internal dependency, and any direct use in custom code should be reviewed against the supported public APIs for the target release. The behavior is consistent across Oracle EBS 12.1.1 and 12.2.2, as the package logic resides in the APPS schema and is not affected by the technology-stack changes introduced in 12.2.
-
PACKAGE BODY: APPS.OE_TOTALS_GRP
12.1.1
-
PACKAGE BODY: APPS.OE_TOTALS_GRP
12.2.2
-
PACKAGE: APPS.OE_TOTALS_GRP
12.1.1
-
PACKAGE: APPS.OE_TOTALS_GRP
12.2.2
-
PACKAGE: APPS.HRI_BPL_DBI_CALC_PERIOD
12.1.1
-
PACKAGE: APPS.PAY_CA_ROE_EI_PKG
12.2.2
-
PACKAGE: APPS.IGI_CIS2007_IGIPPADR_PKG
12.1.1
-
PACKAGE: APPS.PAY_CA_ROE_EI_PKG
12.1.1
-
PACKAGE BODY: APPS.HRI_BPL_DBI_CALC_PERIOD
12.1.1
-
PACKAGE: APPS.IGI_CIS2007_IGIPPADR_PKG
12.2.2
-
PACKAGE BODY: APPS.IGI_CIS2007_IGIPPADR_PKG
12.2.2
-
PACKAGE BODY: APPS.IGI_CIS2007_IGIPPADR_PKG
12.1.1
-
PACKAGE BODY: APPS.OE_OE_TOTALS_SUMMARY
12.1.1
-
PACKAGE BODY: APPS.OE_OE_TOTALS_SUMMARY
12.2.2
-
PACKAGE BODY: APPS.HRI_OLTP_PMV_WMV_WF_SUP
12.1.1
-
PACKAGE: APPS.OE_XML_PROCESS_UTIL
12.2.2
-
PACKAGE: APPS.OE_XML_PROCESS_UTIL
12.1.1
-
PACKAGE: APPS.OE_OE_TOTALS_SUMMARY
12.1.1
-
PACKAGE: APPS.OE_OE_TOTALS_SUMMARY
12.2.2
-
PACKAGE BODY: APPS.HRI_OLTP_PMV_WRKFC_TRN_SUMMARY
12.1.1
-
PACKAGE BODY: APPS.PAY_CA_ROE_EI_PKG
12.1.1
-
PACKAGE BODY: APPS.OE_XML_PROCESS_UTIL
12.2.2
-
PACKAGE BODY: APPS.HRI_OLTP_PMV_ABS_WMV_PVT
12.1.1
-
PACKAGE BODY: APPS.OE_XML_PROCESS_UTIL
12.1.1
-
PACKAGE BODY: APPS.PAY_CA_ROE_EI_PKG
12.2.2
-
PACKAGE BODY: APPS.HRI_OLTP_PMV_WMV_TRN_SUP
12.1.1
-
PACKAGE: APPS.OE_VERIFY_PAYMENT_PUB
12.1.1
-
PACKAGE: APPS.OE_VERIFY_PAYMENT_PUB
12.2.2
-
PACKAGE BODY: APPS.HRI_OLTP_PMV_WMV_SUP
12.1.1
-
APPS.OE_TOTALS_GRP dependencies on OE_OE_TOTALS_SUMMARY
12.2.2
-
APPS.OE_TOTALS_GRP dependencies on OE_OE_TOTALS_SUMMARY
12.1.1
-
PACKAGE: APPS.ASO_ORDER_INT
12.2.2
-
APPS.OE_XML_PROCESS_UTIL dependencies on OE_TOTALS_GRP
12.2.2
-
PACKAGE: APPS.ASO_ORDER_INT
12.1.1
-
APPS.OE_TOTALS_GRP dependencies on FND_API
12.1.1
-
APPS.OE_TOTALS_GRP dependencies on FND_API
12.2.2
-
APPS.OE_TOTALS_GRP dependencies on OE_CHARGE_PVT
12.1.1
-
APPS.OE_XML_PROCESS_UTIL dependencies on OE_TOTALS_GRP
12.1.1
-
APPS.OE_TOTALS_GRP dependencies on OE_CHARGE_PVT
12.2.2
-
APPS.OE_TOTALS_GRP dependencies on OE_MSG_PUB
12.1.1
-
APPS.PAY_CA_ARCHIVE dependencies on PAY_CA_ROE_EI_PKG
12.1.1
-
APPS.OE_TOTALS_GRP dependencies on OE_MSG_PUB
12.2.2
-
APPS.PAY_CA_ARCHIVE dependencies on PAY_CA_ROE_EI_PKG
12.2.2
-
APPS.OE_TOTALS_GRP dependencies on OE_TOTALS_GRP
12.2.2
-
APPS.OE_TOTALS_GRP dependencies on OE_TOTALS_GRP
12.1.1
-
APPS.IGI_CIS2007_IGIPPADR_PKG dependencies on IGI_CIS2007_IGIPPADR_PKG
12.1.1
-
APPS.ASO_ORDER_INT dependencies on OE_TOTALS_GRP
12.1.1
-
APPS.ASO_ORDER_INT dependencies on OE_TOTALS_GRP
12.2.2
-
APPS.OE_TOTALS_GRP dependencies on OE_DEBUG_PUB
12.1.1
-
APPS.OE_VERIFY_PAYMENT_PUB dependencies on OE_PREPAYMENT_UTIL
12.1.1