Results for “eng_dom_util_pub”
38 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.ENG_DOM_UTIL_PUB is a public PL/SQL utility package in the Oracle E-Business Suite Engineering (ENG) module. Its primary business function is to evaluate engineering change policy rules against items, revisions, and lifecycle phases, with particular emphasis on determining whether floating (uncontrolled) attachments exist for a given item configuration. The package bridges the Engineering Change Management data model—change policies, change rules, and policy values—with item master and revision data, allowing applications to enforce configuration control rules before permitting a lifecycle phase transition.
The package is classified as PUB, indicating it is a published, supported API surface that other modules and custom code may call. The header comment references version 120.1, dated 2006, reflecting a long-standing component of the EBS codebase that has remained stable across 12.1.1 and 12.2.2. A notable internal construct is the attach_query variable, a VARCHAR2(2000) buffer used within the check_floating_attachments function to build a dynamic SQL statement for interrogating attachment catalog associations. The presence of this variable, alongside cursors reading policy and rule attributes, indicates that the package assembles and executes dynamic queries against the attachment and catalog tables to resolve which attachment categories are relevant to the item under evaluation.
Key Procedures and Functions
The documented API surface consists of a single public function:
- CHECK_FLOATING_ATTACHMENTS — Determines whether uncontrolled or floating attachments exist for a specified item configuration. The function evaluates the item, its revision, the owning organization, and the applicable lifecycle and target phase, then returns a status indicator (typically a success, warning, or error code consistent with the package constants G_SUCCESS, G_WARNING, and G_ERROR). Internally it resolves catalog groups and attachment category identifiers, and constructs a dynamic query via the attach_query buffer to count matching attachment records. This result drives the caller's decision on whether the advancing lifecycle phase may proceed or must be blocked pending attachment control.
The package also defines private helper structures, including a code_debug procedure that is effectively a no-op for production debugging, and a policy_cursor that joins engineering change rules, attributes, policies, and policy values. These are not part of the published interface but are essential to the function's rule-evaluation logic.
Tables Accessed
The package reads from the following tables through APPS synonyms:
- ENG_CHANGE_POLICIES and ENG_CHANGE_POLICY_VALUES — supply the policy definitions and their configured values that govern change control behavior.
- ENG_CHANGE_RULES — provides the rule attributes against which item and revision data are matched.
- MTL_SYSTEM_ITEMS, MTL_ITEM_REVISIONS, and MTL_ITEM_CATALOG_GROUPS_B — supply item, revision, and catalog group context for the attachment check.
- EGO_OBJ_TYPE_LIFECYCLES — defines the lifecycle and phase relationships used to determine the active phase context.
- FND_OBJECTS — supports object-level metadata resolution used in policy lookups.
Usage Notes
ENG_DOM_UTIL_PUB is typically invoked from Engineering Change Management forms and concurrent processes, and from custom extensions that need to validate attachment control before promoting an item or revision to a new lifecycle phase. The check_floating_attachments function is called in contexts where a phase transition is being evaluated; a warning or error return signals that floating attachments exist and must be addressed. Because the package is classified PUB, customers and integrators may call it directly, though they should treat the attach_query-based dynamic SQL as internal implementation. No other packages are documented as referencing this package, so its principal consumers are forms, concurrent programs, and custom code rather than dependent PL/SQL APIs.
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
SYNONYM: APPS.FND_OBJECTS 12.2.2
-
SYNONYM: APPS.FND_OBJECTS 12.1.1
-
eTRM - ENG Tables and Views 12.1.1
Change type organization properties
-
12.2.2 DBA Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.1.1 DBA Data 12.1.1
-
eTRM - ENG Tables and Views 12.1.1
Change type organization properties