Search Results get_initial_lifecycle_phase
Overview
INV_EGO_REVISION_VALIDATE is an Oracle EBS PL/SQL package owned by the APPS schema and classified under ETRM as OTHER. It resides at the boundary between Oracle Inventory (INV) and the EGO product family, which provides the item catalog, lifecycle, change management, and template infrastructure used by Product Information Management (PIM). The package's primary business function is to enforce the integrity of item lifecycle and revision data. It validates that a given lifecycle is legitimately associated with a catalog group, that a lifecycle phase belongs to its parent lifecycle, and that the lifecycle-phase-status combination attached to an item is internally consistent. In addition, the package participates in catalog data-security checks, item user-privilege validation, and the synchronization of category-level user attributes and template-driven attribute controls. Functions such as CREATE_NEW_ITEM_REQUEST and PROCESS_UCCNET_ATTRIBUTES indicate that the package also supports item creation workflows and external catalog content processing. Because the header dates to 2007 (INVEGRVS.pls 120.8), the package is a long-standing component that has been extended over multiple releases.
Key Procedures and Functions
Twenty-four documented procedures and functions are recorded in the ETRM metadata. The core validation APIs are:
- CHECK_LIFECYCLE — determines whether a lifecycle is valid for a specified catalog group.
- CHECK_LIFECYCLE_PHASE — determines whether a lifecycle phase is valid for a specified lifecycle.
- GET_INITIAL_LIFECYCLE_PHASE — returns the initial phase for a lifecycle, or zero when no phase exists.
- VALIDATE_ITEMS_LIFECYCLE — validates the lifecycle, phase, and status combination attached to items, returning zero when valid.
Security and privilege routines include CHECK_DATA_SECURITY, which applies catalog data-security rules, and VALIDATE_ITEM_USER_PRIVILEGES, which checks the current user's privileges against an item. INSERT_GRANTS_AND_USERATTR writes grant records and user-attribute data, and UPGRADE_CAT_USER_ATTRS_DATA migrates or refreshes category user-attribute information. Template and attribute management is handled by GET_DEFAULT_TEMPLATE, SYNC_TEMPLATE_ATTRIBUTE, and UPDATE_ATTRIBUTE_CONTROL_LEVEL. Change-management support is provided by PHASE_CHANGE_POLICY and PENDING_ECO_CHECK_SYNC_IDS, while CHECK_NO_MFG_ASSOCIATIONS and CHECK_TEMPLATE_CAT_ASSOCS guard against conflicting manufacturing or template-category associations. Item request and integration activity is covered by CREATE_NEW_ITEM_REQUEST, PROCESS_UCCNET_ATTRIBUTES, GET_PROCESS_CONTROL, SET_PROCESS_CONTROL, and GET_PROCESS_CONTROL_HTML_API, the last supplying an HTML rendering of process control information.
Tables Accessed
The package reads and writes EGO and INV base tables through APPS synonyms. Lifecycle definitions come from EGO_OBJ_TYPE_LIFECYCLES, with phase-to-status relationships in EGO_LCPHASE_ITEM_STATUS. Catalog group and template associations are resolved via MTL_ITEM_CATALOG_GROUPS_B and EGO_CAT_GRP_TEMPLATES. Item revision and attribute data are held in MTL_ITEM_REVISIONS_B and MTL_ITEM_ATTRIBUTES. Security and menu access rely on FND_GRANTS, FND_MENUS, FND_OBJECTS, FND_USER, and FND_NEW_MESSAGES. Invalid or duplicate values, along with descriptive flexfield configuration, are checked against FND_DESCR_FLEX_COLUMN_USAGES and FND_DESCR_FLEX_COL_USAGE_TL. Import behavior is governed by EGO_IMPORT_COPY_OPTIONS and EGO_IMPORT_OPTION_SETS.
Usage Notes
INV_EGO_REVISION_VALIDATE is typically invoked indirectly rather than called directly by end users. It is referenced by twenty-four other packages, making it a shared validation utility within the PIM and Inventory stack. EBS forms and concurrent programs that create or update items, assign lifecycles and revisions, manage catalog templates, or run catalog data-security checks call these APIs to enforce consistency before committing data. Custom extensions, particularly those handling item import or UCCnet-style catalog feeds, can call CREATE_NEW_ITEM_REQUEST and PROCESS_UCCNET_ATTRIBUTES. Because the catalog user-attribute search term points to INSERT_GRANTS_AND_USERATTR and UPGRADE_CAT_USER_ATTRS_DATA, developers investigating user-attribute behavior should note that changes to user-attribute records are written through this package; no direct DML against the underlying tables is recommended.
-
APPS.INV_EGO_REVISION_VALIDATE SQL Statements
12.2.2
-
APPS.INV_EGO_REVISION_VALIDATE SQL Statements
12.1.1
-
PACKAGE: APPS.INV_EGO_REVISION_VALIDATE
12.1.1
-
PACKAGE: APPS.INV_EGO_REVISION_VALIDATE
12.2.2
-
PACKAGE BODY: APPS.INV_EGO_REVISION_VALIDATE
12.1.1
-
PACKAGE BODY: APPS.INV_EGO_REVISION_VALIDATE
12.2.2
-
APPS.INV_EGO_REVISION_VALIDATE dependencies on MTL_SYSTEM_ITEMS_B
12.2.2
-
APPS.INV_EGO_REVISION_VALIDATE dependencies on MTL_SYSTEM_ITEMS_B
12.1.1
-
APPS.INV_EGO_REVISION_VALIDATE dependencies on MTL_SYSTEM_ITEMS
12.2.2
-
APPS.INV_EGO_REVISION_VALIDATE dependencies on MTL_PARAMETERS
12.2.2
-
APPS.INV_EGO_REVISION_VALIDATE dependencies on MTL_SYSTEM_ITEMS
12.1.1
-
APPS.INV_EGO_REVISION_VALIDATE dependencies on MTL_SYSTEM_ITEMS_INTERFACE
12.2.2
-
APPS.INV_EGO_REVISION_VALIDATE dependencies on MTL_SYSTEM_ITEMS_INTERFACE
12.1.1