Search Results ahl_workorder_mtl_txns_s
Overview
The APPS.AHL_WORKORDER_MTL_TXNS_PKG package body is a core data-maintenance component within the Oracle Enterprise Asset Management (eAM) and Complex Maintenance, Repair, and Overhaul (CMRO) modules of Oracle E-Business Suite. Its primary business function is to provide the procedural interface for creating, modifying, and removing records in the AHL_WORKORDER_MTL_TXNS table, which stores the material transaction details associated with a work order. In the maintenance lifecycle, when a technician issues, returns, or transfers inventory items against a work order, the corresponding material movement must be persisted against the work order so that costs, quantities, and on-hand balances remain synchronized with Oracle Inventory. This package encapsulates that persistence logic, shielding calling forms and concurrent programs from direct DML against the underlying tables.
The object resides in the APPS schema and holds a VALID status in both EBS 12.1.1 and 12.2.2. The ETRM metadata classifies it as an "OTHER" API rather than a public, supported interface, indicating that it is intended principally for internal use by Oracle's own eAM forms and related packages rather than as a customer-facing extension point.
Key Procedures and Functions
The package body exposes four documented procedures, which together form a complete CRUD surface for the material transaction entity:
- INSERT_ROW — Inserts a new material transaction record into
AHL_WORKORDER_MTL_TXNS, establishing the association between a work order and its inventory transaction line. - LOCK_ROW — Acquires a row-level lock on an existing transaction record, ensuring serialized access when multiple sessions attempt to update the same work order material line concurrently.
- UPDATE_ROW — Modifies an existing material transaction record, typically reflecting quantity, cost, or status changes resulting from subsequent inventory movements.
- DELETE_ROW — Removes a material transaction record from
AHL_WORKORDER_MTL_TXNS, used when a transaction is reversed or purged.
These procedures follow the conventional EBS "table handler" pattern. The underlying insert and update logic also involves the companion table AHL_WORKORDER_MTL_TXNS_S, which stores the translated or descriptive (non-numeric) attribute columns for the entity.
Tables Accessed
The package references the following objects, resolved through APPS synonyms:
- AHL_WORKORDER_MTL_TXNS — The primary transaction table. The INSERT_ROW, UPDATE_ROW, and DELETE_ROW procedures perform DML against this table, while LOCK_ROW selects from it with a locking clause.
- AHL_WORKORDER_MTL_TXNS_S — The associated "_S" (descriptive/translation) table, where user-enterable descriptive columns and their language-specific values are stored. It is populated and maintained in concert with the base table during insert and update operations.
Error handling within the package relies on the APP_EXCEPTION and FND_MESSAGE utilities to raise and format standardized Oracle Application error messages, and on STANDARD for PL/SQL built-in exceptions.
Usage Notes
AHL_WORKORDER_MTL_TXNS_PKG is referenced by at least one other APPS package and, per the ETRM dependency listing, is not referenced by any database object outside the APPS schema. It is therefore invoked internally—most commonly by the eAM Work Order and material transaction forms when a user records, edits, or reverses work order material activity, and by related business logic that programmatically manages work order inventory.
Because the package is designated an "OTHER" API rather than a documented public interface, Oracle does not guarantee its signature or behavior across patches and upgrades. Customizations and extensions should avoid calling these procedures directly; instead, customers are advised to use supported integration points and public eAM/Inventory APIs. Any direct dependency on this package body must be validated against each new release, particularly when migrating from 12.1.1 to 12.2.2, where table structures and internal package implementations may differ subtly.
-
SYNONYM: APPS.AHL_WORKORDER_MTL_TXNS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_WORKORDER_MTL_TXNS_S, status:VALID,
-
SEQUENCE: AHL.AHL_WORKORDER_MTL_TXNS_S
12.1.1
owner:AHL, object_type:SEQUENCE, object_name:AHL_WORKORDER_MTL_TXNS_S, status:VALID,
-
SEQUENCE: AHL.AHL_WORKORDER_MTL_TXNS_S
12.2.2
owner:AHL, object_type:SEQUENCE, object_name:AHL_WORKORDER_MTL_TXNS_S, status:VALID,
-
SYNONYM: APPS.AHL_WORKORDER_MTL_TXNS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_WORKORDER_MTL_TXNS_S, status:VALID,
-
PACKAGE BODY: APPS.AHL_WORKORDER_MTL_TXNS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_WORKORDER_MTL_TXNS_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.AHL_WORKORDER_MTL_TXNS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_WORKORDER_MTL_TXNS_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.AHL_PRD_MTLTXN_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_MTLTXN_PVT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.AHL_PRD_MTLTXN_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_MTLTXN_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.AHL_WORKORDER_MTL_TXNS_PKG dependencies on AHL_WORKORDER_MTL_TXNS_S
12.1.1
-
APPS.AHL_WORKORDER_MTL_TXNS_PKG dependencies on AHL_WORKORDER_MTL_TXNS_S
12.2.2
-
APPS.AHL_PRD_MTLTXN_PVT dependencies on AHL_WORKORDER_MTL_TXNS_S
12.1.1
-
APPS.AHL_PRD_MTLTXN_PVT dependencies on AHL_WORKORDER_MTL_TXNS_S
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1