Search Results arp_bal_util
Overview
ARP_BAL_UTIL is a PL/SQL utility package in the APPS schema of Oracle E-Business Suite Receivables. Its documented classification is UTIL, reflecting its role as a reusable calculation engine rather than a public business API. The package provides the balance computation logic that underpins transaction-level and line-level inquiry in Receivables: it derives open balances for transactions and transaction lines, applies credits and commitments, and rolls usage up to summary levels. Because balances in Receivables are not stored as simple columns but must be derived from payment schedules, adjustments, receivable applications, and distribution rows, ARP_BAL_UTIL centralizes that derivation so that multiple callers produce consistent results. The object is documented as VALID in 12.2.2 and, with 19 dependent packages, is a foundational utility whose removal or modification would cascade broadly across the Receivables module.
Key Procedures and Functions
The ETRM metadata documents eleven callable units. The balance routines form the core:
- GET_TRX_BALANCE – returns the derived open balance for a given transaction.
- GET_LINE_BALANCE – returns the equivalent balance at the transaction line level.
- TRX_LINE_BALANCES and TRANSACTION_BALANCES – populate or report balances across a set of transactions or lines, supporting inquiry and reporting that requires many balances at once.
- GET_SUMMARY_TRX_BALANCES – returns aggregated balance figures for summary-level presentation.
- GET_LINE_CM – retrieves the credit memo amount associated with a line.
- GET_COMMITMENT_BALANCE and CALC_COMMITMENT_BALANCE – obtain and compute the commitment balance, distinguishing retrieval of an existing figure from its recalculation.
- GET_APPLIED_COM_BALANCE – returns the commitment balance that has been applied (consumed) against transactions.
- LINE_LEVEL_ACTIVITY – returns activity detail at the line level, drawing on the activity history recorded for the transaction.
No parameter lists are documented in the metadata; the descriptions above reflect purpose only.
Tables Accessed
The package operates over the principal Receivables transaction tables through APPS synonyms. RA_CUSTOMER_TRX, RA_CUSTOMER_TRX_LINES, RA_CUST_TRX_TYPES, and RA_INTERFACE_LINES supply transaction headers, lines, types, and interface rows; AR_PAYMENT_SCHEDULES supplies the installment-level amounts from which open balances are derived; AR_ADJUSTMENTS and AR_RECEIVABLE_APPLICATIONS record credits, adjustments, and cash applications that reduce balances; AR_DISTRIBUTIONS and RA_CUST_TRX_LINE_GL_DIST hold accounting distributions used when line-level amounts are required; AR_TRANSACTION_HISTORY and AR_ACTIVITY_DETAILS provide the audit trail for LINE_LEVEL_ACTIVITY; HZ_CUST_ACCOUNTS identifies customers; FND_CURRENCIES and GL_SETS_OF_BOOKS support currency and ledger context. DUAL is used for single-row selection.
Usage Notes
ARP_BAL_UTIL is not referenced by any database object, confirming it is a leaf-level utility invoked directly by application code rather than through triggers or views. It is typically called from Receivables forms (such as transaction and account inquiry), from concurrent programs that report balances and aging, and from other PL/SQL packages—19 are documented as dependent. Customizations should call the public units rather than replicating balance logic, because the computation depends on the documented table interactions above. Because it is a utility rather than a business API, it carries no formal API versioning guarantee, and callers should be validated after patching or upgrade. Implementations should also account for differences between 12.1.1 and 12.2.2 in dependent objects and table structures.
-
PACKAGE BODY: APPS.ARP_BAL_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_BAL_UTIL, status:VALID,
-
PACKAGE BODY: APPS.ARP_BAL_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_BAL_UTIL, status:VALID,
-
PACKAGE: APPS.ARP_BAL_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_BAL_UTIL, status:VALID,
-
PACKAGE: APPS.ARP_BAL_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_BAL_UTIL, status:VALID,
-
PACKAGE: APPS.OE_PAYMENTS_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_PAYMENTS_UTIL, status:VALID,
-
PACKAGE BODY: APPS.AR_RAXCBR_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AR_RAXCBR_XMLP_PKG, status:VALID,
-
PACKAGE: APPS.OE_PAYMENTS_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_PAYMENTS_UTIL, status:VALID,
-
SYNONYM: APPS.AR_ACTIVITY_DETAILS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_ACTIVITY_DETAILS, status:VALID,
-
PACKAGE BODY: APPS.AR_RAXCBR_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AR_RAXCBR_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_TRX_VAL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_TRX_VAL, status:VALID,
-
SYNONYM: APPS.AR_ACTIVITY_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_ACTIVITY_DETAILS, status:VALID,
-
PACKAGE BODY: APPS.ARP_TRX_VAL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_TRX_VAL, status:VALID,
-
PACKAGE BODY: APPS.ARP_MAINTAIN_PS2
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_MAINTAIN_PS2, status:VALID,
-
PACKAGE BODY: APPS.ARP_MAINTAIN_PS2
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_MAINTAIN_PS2, status:VALID,
-
PACKAGE BODY: APPS.ARP_TRX_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_TRX_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_COMMITMENT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_COMMITMENT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_COMMITMENT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_COMMITMENT_PVT, status:VALID,
-
PACKAGE BODY: APPS.ARP_TRX_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_TRX_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_PAYMENT_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_PAYMENT_UTIL, status:VALID,
-
PACKAGE BODY: APPS.ARP_TRX_VALIDATE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_TRX_VALIDATE, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_PAYMENT_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_PAYMENT_UTIL, status:VALID,
-
PACKAGE BODY: APPS.ARP_TRX_VALIDATE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_TRX_VALIDATE, status:VALID,
-
VIEW: APPS.AR_LINE_EXCEPTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LINE_EXCEPTIONS_V, object_name:AR_LINE_EXCEPTIONS_V, status:VALID,
-
PACKAGE BODY: APPS.OE_DEFAULT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_DEFAULT_PVT, status:VALID,
-
SYNONYM: APPS.RA_INTERFACE_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_INTERFACE_LINES, status:VALID,
-
PACKAGE BODY: APPS.OE_DEFAULT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_DEFAULT_PVT, status:VALID,
-
VIEW: APPS.AR_LINE_EXCEPTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LINE_EXCEPTIONS_V, object_name:AR_LINE_EXCEPTIONS_V, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_HEADER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_HEADER, status:VALID,
-
SYNONYM: APPS.RA_INTERFACE_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_INTERFACE_LINES, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_HEADER
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_HEADER, status:VALID,
-
VIEW: APPS.AR_LINE_CONTINGENCIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LINE_CONTINGENCIES_V, object_name:AR_LINE_CONTINGENCIES_V, status:VALID,
-
VIEW: APPS.AR_LINE_CONTINGENCIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LINE_CONTINGENCIES_V, object_name:AR_LINE_CONTINGENCIES_V, status:VALID,
-
SYNONYM: APPS.AR_TRANSACTION_HISTORY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_TRANSACTION_HISTORY, status:VALID,
-
SYNONYM: APPS.AR_TRANSACTION_HISTORY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_TRANSACTION_HISTORY, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_ADJ_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_ADJ_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_ADJ_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_ADJ_UTIL, status:VALID,
-
VIEW: APPS.AR_LINE_REVENUE_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LINE_REVENUE_DETAILS_V, object_name:AR_LINE_REVENUE_DETAILS_V, status:VALID,
-
VIEW: APPS.AR_LINE_REVENUE_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LINE_REVENUE_DETAILS_V, object_name:AR_LINE_REVENUE_DETAILS_V, status:VALID,
-
PACKAGE: APPS.ARPCURR
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARPCURR, status:VALID,
-
SYNONYM: APPS.AR_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_DISTRIBUTIONS, status:VALID,
-
SYNONYM: APPS.AR_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_DISTRIBUTIONS, status:VALID,
-
PACKAGE BODY: APPS.OE_VALIDATE_LINE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_VALIDATE_LINE, status:VALID,
-
PACKAGE BODY: APPS.OE_VALIDATE_LINE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_VALIDATE_LINE, status:VALID,
-
PACKAGE: APPS.ARPCURR
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARPCURR, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_UTIL, status:VALID,
-
PACKAGE: APPS.ARP_BAL_UTIL
12.2.2
-
PACKAGE: APPS.ARP_BAL_UTIL
12.1.1
-
PACKAGE BODY: APPS.OE_LINE_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_UTIL, status:VALID,
-
VIEW: APPS.RA_CUSTOMER_TRX_LINES_FRT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.RA_CUSTOMER_TRX_LINES_FRT_V, object_name:RA_CUSTOMER_TRX_LINES_FRT_V, status:VALID,
-
VIEW: APPS.RA_CUSTOMER_TRX_LINES_FRT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.RA_CUSTOMER_TRX_LINES_FRT_V, object_name:RA_CUSTOMER_TRX_LINES_FRT_V, status:VALID,