Search Results fa_deletion_pub
Overview
APPS.FA_DELETION_PUB is a public PL/SQL API package in Oracle E-Business Suite Fixed Assets (product FA). It exposes a programmatic interface for permanently removing asset records from the system, a function that is otherwise performed through the Fixed Assets asset inquiry and maintenance forms. The package is classified as a Public (PUB) API in the ETRM repository, meaning Oracle documents it as a supported integration point that customers and partners may call from custom code. The header comment identifies the package as the "Delete Asset API," with a scope of public and an active lifecycle, and assigns it to the FA_ASSET business entity. The package source carries the header identifier FAPDELS.pls, version 120.3, dated 2006/06/30, indicating that the interface has been stable across the 11i, 12.1.1, and 12.2.2 release lines. Because asset deletions are destructive and carry accounting and audit implications, the package encapsulates the referential cleanup logic rather than leaving it to the caller, ensuring that dependent asset rows are handled consistently.
Key Procedures and Functions
The package documents a single public program unit:
- DO_DELETE — Deletes an asset from the system. The procedure accepts the standard Oracle API control parameters: an API version, an initialize-message-list flag, a commit flag, a validation level, and the name of the calling function. It returns the standard API outcome parameters (return status, message count, and message data) plus an IN OUT asset header record typed as FA_API_TYPES.asset_hdr_rec_type, through which the asset to be deleted is identified and returned. The p_commit flag determines whether the deletion is committed within the call or left to the caller, and p_validation_level governs the degree of pre-deletion validation applied. Callers must inspect x_return_status and, when x_msg_count exceeds one, retrieve messages via the FND_MSG_PUB message stack.
Tables Accessed
The package reads and writes across the Fixed Assets base and multi-currency table set. Core asset master data is touched in FA_BOOKS, FA_BOOK_CONTROLS, FA_CATEGORIES, FA_ASSET_HISTORY, and FA_DISTRIBUTION_HISTORY. Financial and transactional rows affected by deletion include FA_ADJUSTMENTS, FA_ASSET_INVOICES, FA_CAPITAL_BUDGET, FA_DEPRN_DETAIL, FA_DEPRN_EVENTS, FA_DEPRN_SUMMARY, and FA_ADD_WARRANTIES. Multi-currency counterparts FA_MC_BOOKS, FA_MC_ADJUSTMENTS, and FA_MC_ASSET_INVOICES are also maintained so that reporting in reporting currencies stays consistent with the primary ledger. Access occurs through APPS synonyms; the API is the only supported mechanism for clearing these rows, because direct DML would bypass the depreciation and book control logic maintained by the deletion process.
Usage Notes
FA_DELETION_PUB is invoked from Fixed Assets forms and concurrent programs that perform asset deletion, and it may be called directly from custom PL/SQL, OAF pages, or SOA/Bpel integrations that need to remove assets in bulk or as part of a data cleanup routine. Standard Oracle API conventions apply: initialize the session with FND_GLOBAL.APPS_INITIALIZE, set p_init_msg_list to FND_API.G_TRUE to obtain a fresh message list, and validate x_return_status against FND_API.G_RET_STS_SUCCESS before proceeding. Deletion should be treated as irreversible; the p_commit parameter lets callers group multiple deletions into a single transaction, but partial failure may leave prior calls committed if that flag was set to true on each invocation. Because the package is supported across 12.1.1 and 12.2.2 without signature changes, custom code written against DO_DELETE remains portable between those releases.
-
PACKAGE: APPS.FA_DELETION_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_DELETION_PUB, status:VALID,
-
PACKAGE: APPS.FA_DELETION_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_DELETION_PUB, status:VALID,
-
PACKAGE BODY: APPS.FA_DELETION_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FA_DELETION_PUB, status:VALID,
-
PACKAGE BODY: APPS.FA_DELETION_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FA_DELETION_PUB, status:VALID,
-
SYNONYM: APPS.FA_CAPITAL_BUDGET
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_CAPITAL_BUDGET, status:VALID,
-
PACKAGE: APPS.FA_DELETION_PUB
12.2.2
-
PACKAGE: APPS.FA_DELETION_PUB
12.1.1
-
SYNONYM: APPS.FA_TRANSFER_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_TRANSFER_DETAILS, status:VALID,
-
PACKAGE: APPS.FA_CUA_WB_EXT_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_CUA_WB_EXT_PKG, status:VALID,
-
SYNONYM: APPS.FA_CAPITAL_BUDGET
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_CAPITAL_BUDGET, status:VALID,
-
SYNONYM: APPS.FA_TRANSFER_DETAILS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_TRANSFER_DETAILS, status:VALID,
-
PACKAGE: APPS.FA_CUA_WB_EXT_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_CUA_WB_EXT_PKG, status:VALID,
-
PACKAGE: APPS.FA_DELETION_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_DELETION_PVT, status:VALID,
-
PACKAGE: APPS.FA_LEASES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_LEASES_PKG, status:VALID,
-
SYNONYM: APPS.FA_PERIODIC_PRODUCTION
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_PERIODIC_PRODUCTION, status:VALID,
-
SYNONYM: APPS.FA_PERIODIC_PRODUCTION
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_PERIODIC_PRODUCTION, status:VALID,
-
SYNONYM: APPS.FA_MC_RETIREMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_MC_RETIREMENTS, status:VALID,
-
PACKAGE: APPS.FA_LEASES_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_LEASES_PKG, status:VALID,
-
SYNONYM: APPS.FA_ADD_WARRANTIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_ADD_WARRANTIES, status:VALID,
-
PACKAGE: APPS.FA_DELETION_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_DELETION_PVT, status:VALID,
-
SYNONYM: APPS.FA_MC_BOOKS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_MC_BOOKS, status:VALID,
-
SYNONYM: APPS.FA_MC_DEPRN_DETAIL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_MC_DEPRN_DETAIL, status:VALID,
-
SYNONYM: APPS.FA_ADD_WARRANTIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_ADD_WARRANTIES, status:VALID,
-
PACKAGE: APPS.FA_ADDITIONS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_ADDITIONS_PKG, status:VALID,
-
SYNONYM: APPS.FA_MC_ASSET_INVOICES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_MC_ASSET_INVOICES, status:VALID,
-
SYNONYM: APPS.FA_DEPRN_EVENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_DEPRN_EVENTS, status:VALID,
-
SYNONYM: APPS.FA_MC_ADJUSTMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_MC_ADJUSTMENTS, status:VALID,
-
SYNONYM: APPS.FA_MC_DEPRN_SUMMARY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_MC_DEPRN_SUMMARY, status:VALID,
-
PACKAGE: APPS.FA_ADDITIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_ADDITIONS_PKG, status:VALID,
-
SYNONYM: APPS.FA_MC_ASSET_INVOICES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_MC_ASSET_INVOICES, status:VALID,
-
PACKAGE: APPS.FA_TRX_APPROVAL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_TRX_APPROVAL_PKG, status:VALID,
-
SYNONYM: APPS.FA_MC_DEPRN_SUMMARY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_MC_DEPRN_SUMMARY, status:VALID,
-
PACKAGE: APPS.FA_TRX_APPROVAL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_TRX_APPROVAL_PKG, status:VALID,
-
SYNONYM: APPS.FA_MC_RETIREMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_MC_RETIREMENTS, status:VALID,
-
SYNONYM: APPS.FA_MC_DEPRN_DETAIL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_MC_DEPRN_DETAIL, status:VALID,
-
PACKAGE: APPS.FA_XLA_EVENTS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_XLA_EVENTS_PVT, status:VALID,
-
SYNONYM: APPS.FA_CATEGORIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_CATEGORIES, status:VALID,
-
SYNONYM: APPS.FA_ASSET_INVOICES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_ASSET_INVOICES, status:VALID,
-
SYNONYM: APPS.FA_ASSET_INVOICES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_ASSET_INVOICES, status:VALID,
-
PACKAGE: APPS.FA_ASSET_VAL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_ASSET_VAL_PVT, status:VALID,
-
PACKAGE: APPS.FA_ASSET_VAL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_ASSET_VAL_PVT, status:VALID,
-
SYNONYM: APPS.FA_MC_ADJUSTMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_MC_ADJUSTMENTS, status:VALID,
-
SYNONYM: APPS.FA_MC_BOOKS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_MC_BOOKS, status:VALID,
-
SYNONYM: APPS.FA_CATEGORIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_CATEGORIES, status:VALID,
-
PACKAGE: APPS.FA_UTIL_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_UTIL_PUB, status:VALID,
-
PACKAGE: APPS.FA_UTIL_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_UTIL_PUB, status:VALID,
-
PACKAGE: APPS.FA_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_UTIL_PVT, status:VALID,
-
SYNONYM: APPS.FA_ADJUSTMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_ADJUSTMENTS, status:VALID,
-
SYNONYM: APPS.FA_DEPRN_DETAIL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_DEPRN_DETAIL, status:VALID,
-
SYNONYM: APPS.FA_RETIREMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_RETIREMENTS, status:VALID,