Search Results get_account
Overview
APPS.RCV_ACCOUNTHOOK_PUB is a public PL/SQL package in Oracle E-Business Suite Receiving (RCV) that exposes a hook API for overriding standard accounting derivation logic. The package body header carries a version marker of 115.0 dated 2003/09/11, indicating it has shipped substantially unchanged across the 11i and R12 code lines, including 12.1.1 and 12.2.2. Its documented business purpose is to allow customers to substitute a user-defined account for an accounting line that Oracle would otherwise derive automatically. In the shipped version, the only supported substitution is the Retroactive Price Adjustment account generated during retroactive price adjustment processing for a receiving transaction.
Because the package is classified as PUB and owned by APPS, it forms part of the supported extension surface of the Receiving application. Customers implement their own logic inside a copy of the hook or in a wrapper that calls the hook, and the receiving accounting engine invokes it at the point where the retroactive price adjustment distribution account must be resolved.
Key Procedures and Functions
- Get_Account — The single documented entry point. It returns a distribution account identifier that the Receiving accounting engine should use in place of the organization's default retroactive price adjustment account. It accepts API-standard control parameters (API version, initialization message list flag, commit flag, and validation level) along with the receiving transaction identifier and the accounting line type. It returns the standard API outcome triplet of return status, message count, and message data, plus the resolved distribution account identifier. The documented operating contract is specific: the API currently supports only the Retroprice Adjustment line type, the transaction identifier identifies the transaction being adjusted, and a returned account identifier of -1 instructs the caller to fall back to the organization-defined retroactive price adjustment account. Any other returned value causes the caller to use the account supplied by the hook. The internal API name literal within the body references accounting event creation, reflecting the accounting derivation context in which the hook executes.
Tables Accessed
The ETRM metadata for this object does not enumerate any tables referenced through APPS synonyms, and the package body is deliberately thin. Its role is to return a value to the calling accounting engine rather than to persist data itself. Any table access performed during derivation, such as retrieval of transaction, organization, or account information, is normally carried out by the caller or by customer code placed inside a customized implementation of the hook. Implementations that need to resolve an account typically query receiving transaction and account code combination data independently rather than relying on this package to do so.
Usage Notes
RCV_ACCOUNTHOOK_PUB is not invoked from a form or concurrent program by end users. It is called programmatically by Receiving accounting processes, specifically during retroactive price adjustment accounting, when the pricing engine must determine the distribution account for the adjustment line. The metadata indicates the package is referenced by two other packages, confirming that the receiving accounting code path calls into it rather than the reverse.
Customization is performed by modifying the package body logic inside Get_Account to compute and return the desired account identifier, then compiling it into the APPS schema. Because the default behavior returns -1, an unmodified package preserves standard Oracle accounting without any functional change. Developers searching for "get_account" in this context should understand that the routine exists solely to support account substitution for retroactive price adjustments, and that it must be re-validated after upgrades to 12.1.1 or 12.2.2 to ensure custom logic remains compatible with the receiving accounting API contract.
-
PACKAGE BODY: APPS.RCV_ACCOUNTHOOK_PUB
12.1.1
-
PACKAGE BODY: APPS.WSH_TPA_DELIVERY_DETAILS_PKG
12.1.1
-
PACKAGE BODY: APPS.WSH_TPA_DELIVERY_DETAILS_PKG
12.2.2
-
PACKAGE BODY: APPS.RCV_ACCOUNTHOOK_PUB
12.2.2
-
PACKAGE: APPS.RCV_ACCOUNTHOOK_PUB
12.2.2
-
PACKAGE: APPS.RCV_ACCOUNTHOOK_PUB
12.1.1
-
PACKAGE: APPS.WSH_TPA_DELIVERY_DETAILS_PKG
12.2.2
-
PACKAGE: APPS.WSH_TPA_DELIVERY_DETAILS_PKG
12.1.1
-
PACKAGE: APPS.JL_BR_AR_GENERATE_DEBIT_MEMO
12.1.1
-
PACKAGE: APPS.JL_BR_AR_GENERATE_DEBIT_MEMO
12.2.2
-
PACKAGE: APPS.JAI_GST_GENERAL_PKG
12.2.2
-
PACKAGE: APPS.WSH_SHIP_CONFIRM_ACTIONS
12.1.1
-
APPS.JAI_CMN_RGM_RECORDING_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PVX_UTILITY_PVT
12.1.1
-
PACKAGE BODY: APPS.HZ_ACCOUNT_MERGE_PUB
12.2.2
-
PACKAGE BODY: APPS.PVX_UTILITY_PVT
12.2.2
-
APPS.JAI_CMN_RGM_RECORDING_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.JAI_CMN_RGM_RECORDING_PKG
12.1.1
-
PACKAGE: APPS.WSH_SHIP_CONFIRM_ACTIONS
12.2.2
-
PACKAGE BODY: APPS.JAI_CMN_RGM_RECORDING_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_BR_AR_GENERATE_DEBIT_MEMO
12.1.1
-
PACKAGE: APPS.JAI_CMN_RGM_RECORDING_PKG
12.1.1
-
PACKAGE BODY: APPS.JL_BR_AR_GENERATE_DEBIT_MEMO
12.2.2
-
PACKAGE BODY: APPS.IGI_IGIIABLS_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.IGI_IGIIABLD_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.IGI_IGIIABLS_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.IGI_IGIIABLD_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.IGI_IGIIARSD_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.IGI_IGIIACST_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.IGI_IGIIARSV_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.IGI_IGIIACSD_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.IGI_IGIIAOPD_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.IGI_IGIIARSV_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.IGI_IGIIACSD_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.IGI_IGIIAOPE_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.IGI_IGIIACST_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.IGI_IGIIARSD_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.IGI_IGIIAOPD_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.IGI_IGIIAOPE_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.IGI_IGIIARRV_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.IGI_IGIIARRD_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.IGI_IGIIARRD_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.IGI_IGIIARRV_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.INV_THIRD_PARTY_STOCK_PVT
12.1.1
-
PACKAGE: APPS.JAI_CMN_RGM_RECORDING_PKG
12.2.2
-
PACKAGE BODY: APPS.INV_THIRD_PARTY_STOCK_PVT
12.2.2
-
APPS.RCV_ACCOUNTHOOK_PUB dependencies on RCV_ACCOUNTHOOK_PUB
12.1.1
-
APPS.RCV_ACCOUNTHOOK_PUB dependencies on RCV_ACCOUNTHOOK_PUB
12.2.2
-
APPS.JAI_CMN_RGM_RECORDING_PKG dependencies on FND_MESSAGE
12.1.1
-
PACKAGE BODY: APPS.CS_ERES_INT_PKG
12.2.2