Search Results eni_upd_assgn
Overview
ENI_UPD_ASSGN is a PL/SQL package body owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It belongs to the ETRM (Enterprise Trade and Risk Management) product family, whose schema-level artifacts are heavily oriented toward heavy denormalization of item, category, and hierarchy data for reporting and analytical purposes. The package name reflects its core responsibility: updating an assignment flag. In the ETRM data model, assignment flags are typically used to indicate whether a given item-to-category or item-to-hierarchy relationship has been processed, propagated, or otherwise "assigned" within a denormalized structure. ENI_UPD_ASSGN therefore acts as the maintenance routine that reconciles a denormalized hierarchy table with the underlying online transaction processing (OLTP) item star, marking records as assigned once the relevant hierarchy composition has been resolved. The package is documented as VALID and is classified as an OTHER API, meaning it is not a formally published public interface but is instead an internal utility invoked by other ETRM components.
Key Procedures and Functions
The documented interface exposes a single program unit:
- UPDATE_ASSGN_FLAG — the sole documented procedure. Its purpose is to set or refresh the assignment flag on records within the denormalized hierarchy structures maintained by ETRM. It is the mechanism by which the ETRM data model records that an item or category node has been correctly associated within the denormalized hierarchy, ensuring downstream reporting queries do not reprocess already-assigned rows. No parameter list is documented in the ETRM metadata, and none should be assumed; callers should consult the package specification in the target instance before direct invocation.
Because only one program unit is exposed, ENI_UPD_ASSGN is a narrowly scoped utility rather than a broad functional API. Its internal logic is nonetheless expected to rely on the standard EBS PL/SQL infrastructure packages FND_GLOBAL and FND_MSG_PUB, which are listed among its dependencies. FND_GLOBAL supplies session context such as the current user, responsibility, and application, while FND_MSG_PUB is used for message stack handling and error reporting, indicating that UPDATE_ASSGN_FLAG performs defensive validation and raises user-facing messages on failure.
Tables Accessed
The package operates against three base tables through APPS synonyms, plus the ETRM denormalization objects identified in its dependency list:
- MTL_ITEM_CATEGORIES — the Oracle Inventory table that maps inventory items to categories. This is the authoritative source of item-to-category relationships from which denormalized assignments are derived.
- ENI_OLTP_ITEM_STAR — the ETRM item star table serving as the OLTP-side source of item attributes and dimensional keys used to build the analytical hierarchy view.
- ENI_DENORM_HIERARCHIES and ENI_DENORM_HRCHY — ETRM denormalized hierarchy tables (header- and line-level structures) that store flattened representations of category and organization hierarchies. UPDATE_ASSGN_FLAG updates these structures to reflect that assignment processing has completed.
The pattern is a classic ETL maintenance loop: read the authoritative item-category mappings and the item star, then update the denormalized hierarchy tables so that reporting and inquiry screens present consistent, flagged data.
Usage Notes
ENI_UPD_ASSGN is not referenced by any database object, meaning it is not called implicitly by triggers or other packaged code inside the database. It is invoked explicitly, most commonly from ETRM concurrent programs or forms that refresh denormalized hierarchy data after item-category maintenance, or from custom PL/SQL that performs a comparable reconciliation. The package is referenced by two other ETRM packages, which suggests it is called as a subroutine within a larger ETRM processing flow rather than by end users directly.
When invoking UPDATE_ASSGN_FLAG, standard EBS session initialization must be in place (FND_GLOBAL.APPS_INITIALIZE or an equivalent FND session) so that auditing columns and message handling behave correctly. Because the procedure updates denormalized tables, it should be run during a batch window or when concurrent reporting on the affected hierarchies is quiescent, to avoid contention or inconsistent query results. Commit strategy is controlled by the calling process; the procedure should not be assumed to commit internally. As with any undocumented-signature internal API, the package specification should be inspected in the target instance before direct calls are written into custom code, since the interface is not guaranteed across patch levels.
-
PACKAGE BODY: APPS.ENI_UPD_ASSGN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ENI_UPD_ASSGN, status:VALID,
-
PACKAGE: APPS.ENI_UPD_ASSGN
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ENI_UPD_ASSGN, status:VALID,
-
PACKAGE: APPS.ENI_UPD_ASSGN
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ENI_UPD_ASSGN, status:VALID,
-
PACKAGE: APPS.ENI_UPD_ASSGN
12.1.1
-
PACKAGE: APPS.ENI_UPD_ASSGN
12.2.2
-
PACKAGE BODY: APPS.ENI_UPD_ASSGN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ENI_UPD_ASSGN, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.ENI_OLTP_ITEM_STAR
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ENI_OLTP_ITEM_STAR, status:VALID,
-
SYNONYM: APPS.ENI_DENORM_HIERARCHIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ENI_DENORM_HIERARCHIES, status:VALID,
-
PACKAGE: APPS.ENI_DENORM_HRCHY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ENI_DENORM_HRCHY, status:VALID,
-
PACKAGE BODY: APPS.ENI_UPD_ASSGN
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.ENI_DENORM_HRCHY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ENI_DENORM_HRCHY, status:VALID,
-
PACKAGE BODY: APPS.INV_ENI_ITEMS_STAR_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_ENI_ITEMS_STAR_PKG, status:VALID,
-
PACKAGE BODY: APPS.ENI_UPD_ASSGN
12.2.2
-
PACKAGE BODY: APPS.ENI_DENORM_HRCHY
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ENI_DENORM_HRCHY, status:VALID,
-
SYNONYM: APPS.ENI_OLTP_ITEM_STAR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ENI_OLTP_ITEM_STAR, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.ENI_DENORM_HIERARCHIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ENI_DENORM_HIERARCHIES, status:VALID,
-
PACKAGE BODY: APPS.ENI_DENORM_HRCHY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ENI_DENORM_HRCHY, status:VALID,
-
APPS.ENI_UPD_ASSGN SQL Statements
12.2.2
-
APPS.ENI_UPD_ASSGN SQL Statements
12.1.1
-
PACKAGE BODY: APPS.INV_ENI_ITEMS_STAR_PKG
12.2.2
-
PACKAGE BODY: APPS.INV_ENI_ITEMS_STAR_PKG
12.1.1
-
SYNONYM: APPS.MTL_ITEM_CATEGORIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_ITEM_CATEGORIES, status:VALID,
-
SYNONYM: APPS.MTL_ITEM_CATEGORIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_ITEM_CATEGORIES, status:VALID,
-
APPS.ENI_UPD_ASSGN dependencies on ENI_UPD_ASSGN
12.1.1
-
APPS.INV_ENI_ITEMS_STAR_PKG dependencies on ENI_UPD_ASSGN
12.2.2
-
APPS.ENI_DENORM_HRCHY dependencies on ENI_UPD_ASSGN
12.2.2
-
APPS.ENI_UPD_ASSGN dependencies on ENI_UPD_ASSGN
12.2.2
-
APPS.ENI_DENORM_HRCHY dependencies on ENI_UPD_ASSGN
12.1.1
-
APPS.ENI_UPD_ASSGN dependencies on FND_MSG_PUB
12.2.2
-
APPS.ENI_UPD_ASSGN dependencies on FND_MSG_PUB
12.1.1
-
APPS.ENI_UPD_ASSGN dependencies on ENI_DENORM_HRCHY
12.2.2
-
APPS.ENI_UPD_ASSGN dependencies on ENI_DENORM_HRCHY
12.1.1
-
APPS.INV_ENI_ITEMS_STAR_PKG dependencies on INV_ITEM_UTIL
12.2.2
-
APPS.INV_ENI_ITEMS_STAR_PKG dependencies on INV_ITEM_UTIL
12.1.1
-
PACKAGE: APPS.FND_MSG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, 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: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,