Results for “inv_item_category_pvt”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.INV_ITEM_CATEGORY_PVT is a private PL/SQL package body in the Oracle Inventory application that encapsulates the core business logic for assigning and validating item category memberships. It sits beneath the public INV_ITEM_CATEGORY_API layer and provides the internal procedures used to create, update, and delete item-to-category relationships while enforcing the structural rules of the category set and category hierarchy. The package operates within the Inventory application context (application ID 401, short name INV) and uses the item category key flexfield structure identified by the code MCAT. Its header comment dates the current file revision to 2007, and the body carries internal operation constants (INS, UPD, DEL) that classify the nature of each API call.
Key Procedures and Functions
- CREATE_CATEGORY_ASSIGNMENT — Creates a new assignment of an inventory item to a category, including validation of the category set, category, and item combination. Parameter lists are not reproduced here; the procedure follows the standard EBS API signature convention with an API version, initialization flag, commit flag, validation level, the inventory item and organization identifiers, the category set and category identifiers, a transaction and request identifier, and the standard return status, message count, and message data outputs.
- UPDATE_CATEGORY_ASSIGNMENT — Modifies an existing item category assignment, applying the same validation rules as creation.
- DELETE_CATEGORY_ASSIGNMENT — Removes an item-to-category relationship, with validation to ensure the requested deletion is permissible.
- CREATE_VALID_CATEGORY — Creates a valid category entry within a category set, populating the set-level valid category structure.
- UPDATE_VALID_CATEGORY — Updates an existing valid category record within a category set.
- Is_Category_Leafnode — A private function introduced under Bug 2996160 that determines whether a given category within a category set is a leaf node, taking a validation flag and a hierarchy-enabled flag. This function underpins the assignment validation logic.
A dormant Validate_Assignment procedure is present but commented out; the comments state that validation is currently performed within Create_Category_Assignment.
Tables Accessed
- MTL_SYSTEM_ITEMS_B — Master item definitions; used to validate the inventory item being categorized.
- MTL_CATEGORIES_B and MTL_CATEGORY_SETS_B — Category and category set definitions; used to verify that categories and sets exist and are valid.
- MTL_CATEGORY_SET_VALID_CATS — Valid categories within a category set; read and written by the valid-category procedures.
- MTL_DEFAULT_CATEGORY_SETS — Default category set configuration, consulted during validation.
- MTL_ITEM_CATEGORIES — The central intersection table holding item-to-category assignments; the target of the assignment create, update, and delete procedures.
- MTL_PARAMETERS — Inventory organization parameters, used to validate organization-level setup.
Usage Notes
INV_ITEM_CATEGORY_PVT is a private package and is not intended for direct invocation by customer code. It is called by the public INV_ITEM_CATEGORY_API package, by other Inventory forms that maintain item category assignments, and by three additional packages documented in ETRM. Standard integration should target the public API rather than this private body, since its signature and internal behavior are subject to change across patch levels.
-
12.1.1 DBA Data 12.1.1
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
SYNONYM: APPS.MTL_PARAMETERS 12.2.2
-
SYNONYM: APPS.MTL_PARAMETERS 12.1.1
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1