Search Results fa_massadd_special_pkg
Overview
The APPS.FA_MASSADD_SPECIAL_PKG package is a PL/SQL utility within the Oracle E-Business Suite Fixed Assets module that supports the Mass Additions process. Mass Additions is the mechanism by which Oracle EBS converts payables invoice lines, purchasing receipts, and other external source data into fixed asset records. Before those records are posted to the FA_MASS_ADDITIONS interface table and subsequently transferred to the asset register, they must be validated against the corporate asset books and category defaults, and in some cases updated in bulk according to conditional rules.
The FA_MASSADD_SPECIAL_PKG is classified as an OTHER API in the ETRM repository, meaning it is an internal, non-public helper package rather than a formally supported public interface. It exists to encapsulate the specialized validation and mass-update logic required when the standard Mass Additions engine cannot satisfy a business requirement, such as applying a common posting status across a filtered set of invoice lines or revalidating interface rows after corrective data changes. The package is declared with AUTHID CURRENT_USER, so it executes with the privileges of the calling session rather than the APPS schema owner, a characteristic typical of internal utilities invoked from within the FA forms and concurrent manager context.
A package-level variable, G_last_book_used, retains the identifier of the most recently processed asset book. This global is used to avoid redundant book-level lookups during a multi-row operation, improving performance when many interface lines share the same book.
Key Procedures and Functions
The package exposes two documented procedures.
- Do_Validation — Accepts a posting status parameter along with a single FA_MASS_ADDITIONS record and an OUT return status. The procedure validates one Mass Additions interface row in the context of the posting status supplied by the caller. This allows the caller to validate rows before or after a status transition without immediately committing them to the asset register. The x_return_status output communicates the outcome of the validation to the calling program.
- Update_All_Records — Accepts a posting status, a dynamic WHERE clause, and three OUT parameters: success count, failure count, and return status. It performs a set-based update across the rows identified by the supplied filter, applying the given posting status to each qualifying FA_MASS_ADDITIONS row and reporting how many rows succeeded and how many failed. The dynamic WHERE clause indicates that this procedure builds and executes SQL at runtime, which explains the reference to DBMS_SQL in the package's dependency list.
Tables Accessed
The package references the following table through APPS synonyms: FA_MASS_ADDITIONS, the primary Mass Additions interface table that holds staged invoice, receipt, and other source lines awaiting asset creation and posting. FA_BOOK_CONTROLS and FA_CATEGORY_BOOK_DEFAULTS are consulted to resolve book-level and category-level defaults during validation. FA_MASSADD_DISTRIBUTIONS holds the distribution line detail associated with Mass Additions records and is read to validate or update related rows. The package also invokes DBMS_SQL for dynamic SQL construction and PLITBLM for PL/SQL table operations used during set-based processing.
Usage Notes
FA_MASSADD_SPECIAL_PKG is not a documented public API and is referenced by no other packages in the ETRM repository, which confirms its role as a leaf-level internal utility. It is typically invoked from the Mass Additions form or from custom corrective scripts when an administrator must revalidate interface rows after correcting invalid data or must apply a consistent posting status across a filtered population of Mass Additions records. Because Update_All_Records accepts a dynamic WHERE clause, callers must ensure that any such clause is constructed from trusted sources to avoid SQL injection risk. The AUTHID CURRENT_USER declaration means the executing session must itself hold the necessary object privileges rather than relying on the APPS owner. Custom development should treat the package as unsupported and subject to change across patch levels, including patch 120.3 of the FAMADSS.pls source file. Where equivalent public functionality exists in the Oracle-provided Mass Additions APIs, that supported interface should be preferred over direct calls to this package.
-
PACKAGE: APPS.FA_MASSADD_SPECIAL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_MASSADD_SPECIAL_PKG, status:VALID,
-
PACKAGE BODY: APPS.FA_MASSADD_SPECIAL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FA_MASSADD_SPECIAL_PKG, status:VALID,
-
PACKAGE: APPS.FA_MASSADD_SPECIAL_PKG
12.2.2
-
PACKAGE: APPS.FA_MASSADD_SPECIAL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_MASSADD_SPECIAL_PKG, status:VALID,
-
SYNONYM: APPS.FA_MASS_ADDITIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_MASS_ADDITIONS, status:VALID,
-
PACKAGE: APPS.FA_MASSADD_SPECIAL_PKG
12.1.1
-
PACKAGE BODY: APPS.FA_MASSADD_SPECIAL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FA_MASSADD_SPECIAL_PKG, status:VALID,
-
SYNONYM: APPS.FA_MASS_ADDITIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_MASS_ADDITIONS, status:VALID,
-
SYNONYM: APPS.FA_MASSADD_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_MASSADD_DISTRIBUTIONS, status:VALID,
-
SYNONYM: APPS.FA_MASSADD_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_MASSADD_DISTRIBUTIONS, status:VALID,
-
PACKAGE: APPS.FA_ASSET_VAL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_ASSET_VAL_PVT, status:VALID,
-
SYNONYM: APPS.FA_CATEGORY_BOOK_DEFAULTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_CATEGORY_BOOK_DEFAULTS, status:VALID,
-
PACKAGE: APPS.FA_ASSET_VAL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_ASSET_VAL_PVT, status:VALID,
-
PACKAGE: APPS.FA_UTIL_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_UTIL_PUB, status:VALID,
-
PACKAGE BODY: APPS.FA_MASSADD_SPECIAL_PKG
12.1.1
-
PACKAGE: APPS.FA_CACHE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_CACHE_PKG, status:VALID,
-
PACKAGE BODY: APPS.FA_MASSADD_SPECIAL_PKG
12.2.2
-
PACKAGE: APPS.FA_CACHE_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_CACHE_PKG, status:VALID,
-
PACKAGE: APPS.FA_SRVR_MSG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_SRVR_MSG, status:VALID,
-
PACKAGE: APPS.FA_API_TYPES
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FA_API_TYPES, status:VALID,
-
PACKAGE: APPS.FA_SRVR_MSG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_SRVR_MSG, status:VALID,
-
APPS.FA_MASSADD_SPECIAL_PKG dependencies on FA_MASSADD_SPECIAL_PKG
12.2.2
-
APPS.FA_MASSADD_SPECIAL_PKG dependencies on FA_MASSADD_SPECIAL_PKG
12.1.1
-
SYNONYM: APPS.FA_BOOK_CONTROLS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FA_BOOK_CONTROLS, status:VALID,
-
SYNONYM: APPS.FA_BOOK_CONTROLS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FA_BOOK_CONTROLS, status:VALID,
-
PACKAGE: APPS.FA_API_TYPES
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FA_API_TYPES, status:VALID,
-
APPS.FA_MASSADD_SPECIAL_PKG dependencies on FA_API_TYPES
12.1.1
-
APPS.FA_MASSADD_SPECIAL_PKG dependencies on FA_API_TYPES
12.2.2
-
SYNONYM: PUBLIC.DBMS_SQL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_SQL, status:VALID,
-
SYNONYM: PUBLIC.DBMS_SQL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_SQL, status:VALID,
-
PACKAGE: APPS.FND_LOG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_LOG, status:VALID,
-
PACKAGE: APPS.FND_LOG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_LOG, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
PACKAGE: APPS.FND_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,