Results for “do_iac_reinstatement”

8 results




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

Overview

IGI_IAC_REINSTATE_PKG is an Oracle E-Business Suite PL/SQL package owned by the APPS schema that supports the IAC (Intelligent Asset Correction / Impairment and Adjustment Correction) functionality. Its business purpose is to reverse or reinstate an asset reinstatement transaction previously processed against a retired or adjusted asset. In organizations that manage complex fixed asset lifecycles, retirements and reinstatements often require synchronized handling of both the standard Oracle Assets (FA) tables and the IAC extension tables. This package provides the single application programming interface entry point that coordinates that reinstatement logic in a controlled, auditable manner. The package is declared with AUTHID CURRENT_USER, meaning it executes with the privileges of the calling user rather than the definer, which is significant because it determines which FA and IAC tables the session can access at runtime. The header indicates the package was last modified in 2007 with an R12 uptake marker, confirming its compatibility and continued relevance through Oracle EBS 12.1.1 and 12.2.2.

Key Procedures and Functions

The package exposes exactly one documented function, DO_IAC_REINSTATEMENT. It returns a BOOLEAN value indicating whether the reinstatement operation succeeded. Although the metadata documents only this single entry point, the function internally acts as an orchestration routine: it receives identifiers describing the asset, its depreciation book, the retirement record, the calling context, and the associated event, then drives the reinstatement across the relevant IAC and FA structures. The p_calling_function parameter allows the routine to behave appropriately depending on whether it was triggered from an IAC adjustment process, a form, or a concurrent program, while the event identifier (noted in the header as an R12 uptake addition) ties the operation to the Subledger Accounting event model introduced in R12. The boolean return allows the caller to branch on success or failure and handle exceptions gracefully.

Tables Accessed

The package references a broad set of both standard Oracle Assets and IAC tables through APPS synonyms. On the standard FA side it uses FA_ADDITIONS and FA_ADDITIONS_B for asset descriptive and assignment data, FA_BOOKS for book-level asset balances, FA_DEPRN_DETAIL and FA_DEPRN_PERIODS for depreciation figures and period control, FA_DISTRIBUTION_HISTORY for assignment and distribution tracking, and FA_TRANSACTION_HEADERS for the transaction audit trail. On the IAC extension side it uses IGI_IAC_ADJUSTMENTS, IGI_IAC_ASSET_BALANCES, IGI_IAC_DET_BALANCES, IGI_IAC_FA_DEPRN, and IGI_IAC_TRANSACTION_HEADERS. The IAC tables store the impairment and correction adjustment data maintained by the IAC module, so the reinstatement routine must read and update them alongside the FA tables to keep adjustment balances consistent with the restored asset state.

Usage Notes

DO_IAC_REINSTATEMENT is not intended to be invoked directly by end users. It is consumed programmatically by one other package within the IAC module (as documented in the ETRM dependency metadata), and ultimately it is triggered through IAC-related forms and concurrent programs when a user performs a reinstatement action. Because the package is defined with AUTHID CURRENT_USER and relies on APPS synonyms, any custom code calling it must run in a session with the appropriate privileges and responsibility context. Developers extending IAC functionality should treat this package as an internal API: call it only through the documented calling layers, pass a valid event identifier to maintain R12 Subledger Accounting integrity, and always check the boolean return value rather than relying on exceptions alone.