Results for “eng_change_line_util”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

ENG_CHANGE_LINE_UTIL is a utility PL/SQL package owned by the APPS schema in Oracle E-Business Suite, delivered as part of the Engineering (ENG) module. Its purpose is to encapsulate the low-level data-access and write operations that support engineering change order (ECO) line maintenance. In the Oracle EBS data model, an engineering change order is represented by a header record in ENG_ENGINEERING_CHANGES and one or more affected item or change lines in ENG_CHANGE_LINES and ENG_CHANGE_LINES_TL. The utility package isolates the mechanical work of querying, inserting, updating, and deleting those line records, and of resolving the descriptive "subject" text associated with a change, so that higher-level business logic in sibling packages does not embed direct table manipulation. The ETRM classifies the package as a UTIL API, indicating that it is an internal support package rather than a public, supported integration interface. It is marked VALID in the ETRM repository for both 12.1.1 and 12.2.2, and it depends on the STANDARD library, ERROR_HANDLER, and the public package ENG_ECO_PUB.

Key Procedures and Functions

The package exposes eight documented procedures and functions, all oriented toward record-level processing of change lines:

  • QUERY_ROW — retrieves a single engineering change line (or a related row) into the package's working structures, providing the read path for callers that need to inspect an existing line before acting on it.
  • PERFORM_WRITES — executes the pending insert, update, and delete operations accumulated during a processing cycle, acting as the commit/driver routine for row maintenance.
  • INSERT_ROW — creates a new change line record from the values supplied by the calling process.
  • UPDATE_ROW — modifies the attributes of an existing change line.
  • DELETE_ROW — removes a change line record.
  • CHANGE_SUBJECTS — maintains the relationship between a change and its subject entities, handling the change-subject linkage used to describe what the ECO affects.
  • GET_CONCATENATED_SUBJECTS — returns the concatenated, human-readable description of the subjects attached to a change, typically for display purposes.
  • GET_CONCATENATED_SUBJECTS_URL — a variant that returns the concatenated subject text formatted as a URL reference, supporting navigational or hyperlinked presentation of the change subjects.

Tables Accessed

The package reads and writes the core engineering change tables and their supporting reference data:

  • ENG_CHANGE_LINES and ENG_CHANGE_LINES_TL — the base and translated change line tables; the primary targets of INSERT_ROW, UPDATE_ROW, DELETE_ROW, and QUERY_ROW.
  • ENG_CHANGE_OBJECTS and ENG_CHANGE_SUBJECTS, with ENG_CHANGE_SUBJECTS_S as the sequence — used by CHANGE_SUBJECTS and the concatenation routines to resolve which objects and subjects a change applies to.
  • ENG_ENGINEERING_CHANGES — the ECO header, providing context and validation for line-level operations.
  • ENG_SUBJECT_ENTITIES — defines subject entity types referenced when building concatenated subject text.
  • FND_LANGUAGES — supplies the installed languages used for translated (TL) row handling.
  • MTL_SYSTEM_ITEMS — the item master, referenced to resolve and validate the items affected by a change line.
  • DBMS_SQL — Oracle's dynamic SQL package, used where the utility must build and execute SQL dynamically, commonly for language- or attribute-driven queries.

Usage Notes

Because ENG_CHANGE_LINE_UTIL is an internal utility, it is not intended for direct invocation by external integrations or customer extensions. It is referenced by two other packages — ENG_ECO_PVT and ENG_VALIDATE_CHANGE_LINE — and is surfaced indirectly through the Engineering Change Order forms, where user actions on the change lines block are routed through the ECO private APIs that in turn call this utility. Its concatenation functions (GET_CONCATENATED_SUBJECTS and GET_CONCATENATED_SUBJECTS_URL) are invoked when the form or a concurrent process needs to present the descriptive subject text of a change. Typical execution paths include the Engineering Change Order form (ENG_ECO_PVT layer), change-line validation routines, and any internal concurrent program processing ECO lines. Custom code should avoid calling these procedures directly; the supported entry point for engineering change operations is ENG_ECO_PUB and its related public APIs, which handle validation, error handling, and transaction control. Direct use risks bypassing the validation enforced by ENG_VALIDATE_CHANGE_LINE and the error-handling conventions implemented through ERROR_HANDLER and STANDARD.