Search Results do_rollback
Overview
APPS.FA_DEPRN_ROLLBACK_PKG is a server-side PL/SQL package within the Oracle E-Business Suite Fixed Assets (FA) module. Its business function is to reverse, or roll back, a previously executed depreciation run for a specified asset book and accounting period. Depreciation is normally processed through the standard FA depreciation concurrent programs, which populate the depreciation summary and roll forward balances held in the depreciation periods table. When a depreciation run is found to be incorrect — for example because of post-run asset additions, transfers, adjustments, or data corrections — the rollback package provides a controlled mechanism to undo the posted depreciation so that the period can be reprocessed cleanly. The package header declares AUTHID CURRENT_USER, meaning procedures execute with the privileges of the invoking schema rather than the definer, a common convention for FA public APIs invoked from other APPS-owned code. The original source header indicates the file FAXDRS.pls at version 120.2, last modified in 2009, confirming the object is a long-standing, stable FA utility.
Key Procedures and Functions
The ETRM metadata documents a single procedure:
- DO_ROLLBACK — The sole documented entry point. It performs the rollback of depreciation for a given book and period. Its signature includes an error buffer and return code (conventional concurrent-program outputs) together with a book type code and a period name identifying the depreciation run to be reversed. According to the documented parameter list, the procedure accepts p_book_type_code and p_period_name as inputs and returns errbuf and retcode as outputs. No further procedures or functions are exposed in the package specification, and the parameter definitions should be taken only as documented above.
Tables Accessed
The package references three FA tables through APPS synonyms:
- FA_BOOK_CONTROLS — Stores book-level control information, including the current depreciation period and the state of the depreciation process for each book. The rollback logic reads this to validate that the requested book and period are eligible for rollback and to update the book's processing status.
- FA_DEPRN_PERIODS — Holds period-level depreciation and roll-forward information for each book. The procedure reads and updates this table to reverse the depreciation amounts and restore prior-period balances.
- FA_DEPRN_SUMMARY — Contains the per-asset depreciation amounts for each period. The rollback deletes or adjusts the summary rows generated by the depreciation run being reversed.
Collectively these tables allow the package to validate the target run, remove the depreciation generated for the period, and reset the book's processing indicators so that depreciation may be rerun.
Usage Notes
FA_DEPRN_ROLLBACK_PKG is typically invoked from an FA concurrent program or from custom PL/SQL code that needs to programmatically reverse a depreciation run. The errbuf and retcode parameters follow Oracle concurrent manager conventions, allowing DO_ROLLBACK to be registered or called within a concurrent program wrapper. In standard use, the rollback should be executed only for the most recent depreciation period, and only after confirming that subsequent FA transactions will not be invalidated. Because the package is documented as API classification OTHER and is referenced by zero other packages in the ETRM metadata, it is not a general-purpose public API dependency and should be used with care. Direct invocation requires the caller to supply a valid book type code and the exact period name, and to interpret the returned error buffer for failure diagnostics. As with all FA period-processing operations, the procedure should be run in an environment where the relevant accounting period is open or appropriately controlled, and it should be preceded by a backup or a documented rollback plan.
-
PACKAGE: APPS.FA_DEPRN_ROLLBACK_PKG
12.2.2
-
PACKAGE: APPS.FA_DEPRN_ROLLBACK_PVT
12.2.2
-
PACKAGE: APPS.FA_DEPRN_ROLLBACK_PVT
12.1.1
-
PACKAGE: APPS.FA_DEPRN_ROLLBACK_PKG
12.1.1
-
PACKAGE: APPS.FA_DEPRN_ROLLBACK_PUB
12.1.1
-
PACKAGE: APPS.FA_DEPRN_ROLLBACK_PUB
12.2.2
-
PACKAGE BODY: APPS.FA_DEPRN_ROLLBACK_PUB
12.1.1
-
PACKAGE BODY: APPS.FA_DEPRN_ROLLBACK_PKG
12.2.2
-
PACKAGE BODY: APPS.FA_DEPRN_ROLLBACK_PUB
12.2.2
-
PACKAGE BODY: APPS.FA_DEPRN_ROLLBACK_PKG
12.1.1
-
PACKAGE BODY: APPS.IGIRGLOBE
12.1.1
-
PACKAGE BODY: APPS.IGIRGLOBE
12.2.2
-
PACKAGE BODY: APPS.FA_DEPRN_ROLLBACK_PVT
12.1.1
-
PACKAGE: APPS.XDP_UTILITIES
12.1.1
-
PACKAGE: APPS.XDP_UTILITIES
12.2.2
-
APPS.FA_DEPRN_ROLLBACK_PUB dependencies on FND_API
12.2.2
-
APPS.FA_DEPRN_ROLLBACK_PUB dependencies on FND_API
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PUB dependencies on FND_API
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PVT dependencies on FA_API_TYPES
12.2.2
-
PACKAGE BODY: APPS.FA_DEPRN_ROLLBACK_PVT
12.2.2
-
APPS.FA_DEPRN_ROLLBACK_PUB dependencies on FA_SRVR_MSG
12.2.2
-
APPS.FA_DEPRN_ROLLBACK_PVT dependencies on FA_API_TYPES
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PUB dependencies on FA_UTIL_PUB
12.2.2
-
APPS.FA_DEPRN_ROLLBACK_PUB dependencies on FA_UTIL_PUB
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PUB dependencies on FND_CLIENT_INFO
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PUB dependencies on FND_API
12.2.2
-
PACKAGE: APPS.BSC_UTILITY
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PUB dependencies on FND_PROFILE
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PVT dependencies on FA_API_TYPES
12.2.2
-
APPS.FA_DEPRN_ROLLBACK_PVT dependencies on FA_API_TYPES
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PKG dependencies on FA_API_TYPES
12.2.2
-
APPS.FA_DEPRN_ROLLBACK_PVT dependencies on FA_DEPRN_ROLLBACK_PVT
12.2.2
-
APPS.FA_DEPRN_ROLLBACK_PVT dependencies on FA_SRVR_MSG
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PKG dependencies on FA_API_TYPES
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PVT dependencies on FA_DEPRN_ROLLBACK_PVT
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PUB dependencies on STANDARD
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PUB dependencies on STANDARD
12.2.2
-
APPS.FA_DEPRN_ROLLBACK_PVT dependencies on FA_SRVR_MSG
12.2.2
-
APPS.FA_DEPRN_ROLLBACK_PUB dependencies on FA_API_TYPES
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PUB dependencies on STANDARD
12.2.2
-
APPS.BSC_UTILITY dependencies on BSC_MESSAGE_LOGS
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PUB dependencies on STANDARD
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PVT dependencies on FA_CACHE_PKG
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PKG dependencies on FA_DEPRN_ROLLBACK_PKG
12.2.2
-
PACKAGE BODY: APPS.XDP_UTILITIES
12.1.1
-
PACKAGE BODY: APPS.XDP_UTILITIES
12.2.2
-
APPS.FA_DEPRN_ROLLBACK_PKG dependencies on FA_DEPRN_ROLLBACK_PKG
12.1.1
-
APPS.FA_DEPRN_ROLLBACK_PUB dependencies on FA_API_TYPES
12.2.2
-
APPS.BSC_UTILITY dependencies on BSC_MESSAGE
12.1.1
-
PACKAGE BODY: APPS.BSC_UTILITY
12.1.1