Search Results implement_relationship_changes
Overview
ENG_RELATED_ENTITY_PKG is an Oracle EBS Engineering (ENG) package that supports the management of relationships between related entities — most notably related documents and revisions — within the Engineering Change Management (ECM) area. In the Oracle E-Business Suite 12.1.1 and 12.2.2 environments, the engineering modules allow a change order or change line to associate multiple related documents, floating revisions, and dependent entities. The procedures in this package provide the server-side logic used to validate and persist changes to those relationships.
The package body carries a header revision of 120.15 dated 2006/09/05, indicating it is long-standing shipped code that is noship tagged in the header marker line. It is owned by APPS and classified as an "OTHER" API rather than a formally published public API, meaning it is intended primarily for internal use by the engineering forms, concurrent programs, or other seeded code rather than by customer extensions. The package declares two named exceptions — change_policy_defined and duplicate_related_doc — reflecting its role in enforcing change policy rules and preventing duplicate related-document associations. Because the user search term is "implement_relationship_changes," the central entry point of interest is the IMPLEMENT_RELATIONSHIP_CHANGES procedure, which drives the actual update of relationship data.
Key Procedures and Functions
- OPEN_DEBUG_SESSION — Initializes a debug session by opening a UTL_FILE handle to a log file. It resolves the output directory (falling back to the
ECX_UTL_LOG_DIRprofile option when none is supplied) and verifies that the directory is registered in theutl_file_dirdatabase initialization parameter before enabling the global debug flag. Used for test and diagnostic tracing only. - CLOSE_DEBUG_SESSION — Terminates the active debug session by closing the UTL_FILE handle opened by OPEN_DEBUG_SESSION and resetting the internal debug state.
- WRITE_DEBUG — Writes diagnostic messages to the open debug file. It is the helper invoked by the other procedures when the debug flag is enabled, capturing error text and trace information.
- IMPLEMENT_RELATIONSHIP_CHANGES — The principal business procedure of the package. It applies the requested modifications to related-entity relationships, validating them against change policy rules and duplicate-relationship constraints, and raising the declared exceptions when those rules are violated.
- VALIDATE_FLOATING_REVISION — Performs validation of floating revision relationships, ensuring that a related document's floating revision assignment is permissible before it is committed.
No parameter signatures are documented in the available metadata, and none should be assumed.
Tables Accessed
The documented table references are indirect, resolved through APPS synonyms:
- UTL_FILE — the PL/SQL file I/O package used by the debug procedures to open, write, and close the trace log file.
- V$PARAMETER — queried by OPEN_DEBUG_SESSION to read the value of the database initialization parameter
utl_file_dir, confirming that the requested output directory is accessible before a file handle is opened.
The metadata lists no engineering base tables directly, although the procedure names imply that the relationship-change and floating-revision logic operate against the engineering related-entity data model. Those underlying objects are not enumerated in the documented metadata.
Usage Notes
Because APPS.ENG_RELATED_ENTITY_PKG is classified as OTHER and records no inbound package references, it is not a supported public interface for customer code. It is invoked from within the Engineering Change Management flow — typically by the related-document functionality on engineering change forms or by seeded concurrent processing — when a user adds, modifies, or removes a related document or floating revision on a change order. Debug tracing is enabled by calling OPEN_DEBUG_SESSION and disabled via CLOSE_DEBUG_SESSION, which is useful when diagnosing relationship-change or floating-revision failures in a non-production environment.
Custom code should not call IMPLEMENT_RELATIONSHIP_CHANGES directly, since it depends on session context, profile settings (such as ECX_UTL_LOG_DIR), and change policy configuration. Any extension work should use the officially published engineering APIs instead. Administrators investigating the "implement_relationship_changes" search term should treat this package as internal engine logic governing related-entity relationship processing.
-
PACKAGE BODY: APPS.ENG_RELATED_ENTITY_PKG
12.1.1
-
PACKAGE BODY: APPS.ENG_RELATED_ENTITY_PKG
12.2.2
-
PACKAGE: APPS.ENG_RELATED_ENTITY_PKG
12.2.2
-
PACKAGE: APPS.ENG_RELATED_ENTITY_PKG
12.1.1
-
APPS.ENG_RELATED_ENTITY_PKG dependencies on FND_API
12.1.1
-
APPS.ENG_RELATED_ENTITY_PKG dependencies on FND_MSG_PUB
12.1.1
-
APPS.ENG_RELATED_ENTITY_PKG dependencies on FND_API
12.2.2
-
APPS.ENG_RELATED_ENTITY_PKG dependencies on FND_FILE
12.1.1
-
APPS.ENG_RELATED_ENTITY_PKG dependencies on FND_API
12.2.2
-
APPS.ENG_RELATED_ENTITY_PKG dependencies on FND_API
12.1.1
-
APPS.ENG_RELATED_ENTITY_PKG dependencies on STANDARD
12.1.1