Search Results update_item_instance_post
Overview
CSI_ITEM_INSTANCE_VUHK is a PL/SQL package body owned by APPS that serves as a validation and hook layer for the Item Instance API in Oracle E-Business Suite. It operates within the Component Service and Item (CSI) product family, which manages the lifecycle of item instances — the tracked, serialized, or lot-controlled occurrences of inventory items. In ETRM classification this package is registered as "OTHER", reflecting its role as a supporting hook package rather than a primary public API.
The package is named with a "VUHK" suffix, indicating a Validation/User Hook convention. It exposes paired pre- and post-processing procedures that are invoked around the core create, update, and expire operations performed by the primary Item Instance public APIs. The "pre" procedures execute before the main DML, while the "post" procedures execute afterward, allowing customer-specific or product-specific logic to be layered onto the standard processing without modifying Oracle's seeded code. The current seeded implementation of these hooks is largely a stub: for example, create_item_instance_pre simply assigns x_return_status := FND_API.G_RET_STS_SUCCESS and returns, meaning no additional validation is performed out of the box. This design provides a documented extension point that Oracle or customers may populate.
Key Procedures and Functions
The package body documents six procedures, organized as three pre/post pairs:
- CREATE_ITEM_INSTANCE_PRE — Invoked before the creation of a new item instance. It accepts the standard API parameter set (API version, commit flag, initialization flag, validation level), the instance record, extension attribute values, party and account tables, pricing attributes, organization unit assignments, asset assignment, and a transaction record, and returns the standard API status outputs (return status, message count, message data). In the seeded code it acts as a success-returning stub.
- CREATE_ITEM_INSTANCE_POST — Invoked after the item instance creation completes. It uses the identical parameter signature as the "pre" counterpart, carrying the same records and returning the same status outputs. The body declares a JTM profile value variable for profile-driven behavior.
- UPDATE_ITEM_INSTANCE_PRE — The pre-processing hook for update operations on existing item instances.
- UPDATE_ITEM_INSTANCE_POST — The post-processing hook for update operations.
- EXPIRE_ITEM_INSTANCE_PRE — The pre-processing hook invoked when an item instance is expired.
- EXPIRE_ITEM_INSTANCE_POST — The post-processing hook invoked after expiration completes.
The consistent shape of each procedure, following FND_API conventions with x_return_status, x_msg_count, and x_msg_data outputs, allows callers to treat the hooks uniformly and to propagate failure back through the standard API message stack.
Tables Accessed
The documented table reference for this package is DBMS_SQL, which is in fact the Oracle supplied dynamic SQL built-in package rather than an application table. Its presence among the referenced objects indicates that portions of the hook logic construct and execute SQL dynamically, presumably to interrogate or update configuration or profile data at runtime. No application tables are recorded directly against this package body in the ETRM metadata. The package primarily manipulates the in-memory data structures passed in by its caller — namely the CSI_Datastructures_pub record and table types for instance records, extension attribute values, parties, accounts, pricing attributes, organization assignments, assets, and transactions — rather than performing direct table DML itself.
Usage Notes
CSI_ITEM_INSTANCE_VUHK is not intended to be called directly by end users or by standalone custom code. It is invoked indirectly by the higher-level Item Instance public APIs (such as the create, update, and expire entry points in the CSI_Item_Instance_PUB layer) as part of their processing flow. The ETRM metadata records that the package is referenced by two other packages, confirming its role as a called dependency rather than an entry point.
Because the seeded bodies are stubs, the primary practical use of this package is as a controlled extension mechanism. Site-specific validation or post-processing logic — for example, enforcing attribute rules, synchronizing external systems, or triggering downstream workflows after instance creation — can be inserted into these procedures. When a form, concurrent program, or custom integration invokes the standard Item Instance APIs, the pre and post hooks execute automatically, and any error returned through x_return_status is surfaced through the FND message stack. Implementers modifying these bodies should preserve the FND_API signature and honor the NOCOPY output declarations to maintain compatibility across EBS 12.1.1 and 12.2.2 release levels.
-
APPS.CSI_ITEM_INSTANCE_VUHK SQL Statements
12.2.2
-
APPS.CSI_ITEM_INSTANCE_VUHK SQL Statements
12.1.1
-
APPS.JTM_ITEM_INSTANCE_VUHK SQL Statements
12.2.2
-
APPS.JTM_ITEM_INSTANCE_VUHK SQL Statements
12.1.1
-
PACKAGE BODY: APPS.CSI_ITEM_INSTANCE_VUHK
12.2.2
-
PACKAGE BODY: APPS.CSI_ITEM_INSTANCE_VUHK
12.1.1
-
PACKAGE: APPS.JTM_ITEM_INSTANCE_VUHK
12.2.2
-
PACKAGE: APPS.JTM_ITEM_INSTANCE_VUHK
12.1.1
-
PACKAGE BODY: APPS.JTM_ITEM_INSTANCE_VUHK
12.2.2
-
PACKAGE BODY: APPS.JTM_ITEM_INSTANCE_VUHK
12.1.1
-
PACKAGE: APPS.CSI_ITEM_INSTANCE_VUHK
12.1.1
-
PACKAGE: APPS.CSI_ITEM_INSTANCE_VUHK
12.2.2
-
PACKAGE: APPS.CSI_ITEM_INSTANCE_CUHK
12.1.1
-
PACKAGE: APPS.CSI_ITEM_INSTANCE_CUHK
12.2.2
-
APPS.CSI_ITEM_INSTANCE_VUHK dependencies on CSI_ITEM_INSTANCE_VUHK
12.1.1
-
APPS.CSI_ITEM_INSTANCE_VUHK dependencies on CSI_ITEM_INSTANCE_VUHK
12.2.2
-
APPS.JTM_ITEM_INSTANCE_VUHK dependencies on FND_API
12.1.1
-
APPS.JTM_ITEM_INSTANCE_VUHK dependencies on FND_API
12.2.2
-
APPS.JTM_ITEM_INSTANCE_VUHK dependencies on JTM_ITEM_INSTANCE_VUHK
12.1.1
-
APPS.JTM_ITEM_INSTANCE_VUHK dependencies on JTM_ITEM_INSTANCE_VUHK
12.2.2
-
APPS.CSI_ITEM_INSTANCE_CUHK dependencies on FND_API
12.1.1
-
APPS.CSI_ITEM_INSTANCE_CUHK dependencies on FND_API
12.2.2
-
APPS.CSI_ITEM_INSTANCE_VUHK dependencies on FND_API
12.2.2
-
APPS.CSI_ITEM_INSTANCE_VUHK dependencies on FND_API
12.1.1
-
APPS.CSI_ITEM_INSTANCE_VUHK dependencies on FND_API
12.1.1
-
APPS.CSI_ITEM_INSTANCE_VUHK dependencies on FND_API
12.2.2
-
APPS.CSI_ITEM_INSTANCE_VUHK dependencies on DBMS_SQL
12.2.2
-
APPS.CSI_ITEM_INSTANCE_VUHK dependencies on DBMS_SQL
12.1.1