Search Results insert_lot_trx
Overview
APPS.INV_TRX_MGR is the PL/SQL package that provides the programmatic entry point to the Oracle Inventory Transaction Manager. Its central role is to process batches of pending inventory transactions that have been staged in the MTL_MATERIAL_TRANSACTIONS_TEMP table, applying the same validation and processing logic historically executed by the older inltpu.ppc routine. In the Oracle EBS 12.1.1 and 12.2.2 environments, this package is the component that converts staged, unposted transaction records into fully validated material transactions that can subsequently be costed and posted to the general ledger. The package header carries a CVS identifier dating to 2005 (INVJTRXS.pls 120.1), reflecting that the interface has been stable across many releases of the E-Business Suite. Its classification in ETRM is OTHER, indicating it is neither a pure public API nor a purely internal utility, but operational processing code invoked during transaction resolution.
Key Procedures and Functions
- PROCESS_TRX_BATCH — The primary entry point and the procedure that implements the batch-processing logic. It accepts a header identifier (the TRANSACTION_HEADER_ID grouping the records to be processed), commit and atomicity flags, and a business flow code used to determine which label is printed. It returns a processing message and a status flag indicating success or error. When invoked in atomic mode, a single failing record rolls back the entire batch; in non-atomic mode, only the failing row's changes are rolled back.
- GENERATE_SERIALS — A supporting routine associated with serial-controlled processing, used within the inventory transaction flow to produce serial number records required by transactions that reference serial-tracked items.
- VALIDATE_SERIALS — A companion routine that validates serial numbers before or during batch processing, ensuring that serial-controlled transactions satisfy Inventory's serial integrity rules.
These procedures work together: serial and lot data are inserted into the temporary transaction tables by the INV_TRX_UTIL_PUB insertion routines, and PROCESS_TRX_BATCH then consumes and validates that staged data.
Tables Accessed
The documented, central table is MTL_MATERIAL_TRANSACTIONS_TEMP, which holds unprocessed transaction records grouped by TRANSACTION_HEADER_ID. INV_TRX_MGR reads this staging table, validates the records, and moves them toward the permanent MTL_MATERIAL_TRANSACTIONS structure. The ETRM metadata does not enumerate additional referenced tables via APPS synonyms, though in practice serial and lot validation touches the corresponding serial and lot control tables. The referenced-by relationship (one other package) confirms the package is consumed by higher-level transaction processing callers rather than standing alone.
Usage Notes
INV_TRX_MGR is typically invoked from custom or extension code rather than directly by an end user. The documented example shows a Java client making three sequential calls: INSERT_LINE_TRX and INSERT_LOT_TRX (both in INV_TRX_UTIL_PUB) to stage the line and lot records and to retrieve the generated temporary transaction ID, followed by INV_TRX_MGR.PROCESS_TRX_BATCH to process the batch. This places it firmly in the custom-integration and interface space, where external systems push inventory transactions into EBS. Callers must manage commit behavior and choose atomic versus per-row processing based on their error-handling requirements. Because the package carries the legacy label-printing business flow code, it remains tied to Inventory's standard transaction resolution and reporting behavior in both 12.1.1 and 12.2.2. Custom code should always stage records first and let this package perform the authoritative processing rather than inserting directly into the permanent transaction tables.
-
PACKAGE: APPS.INV_TRX_MGR
12.1.1
-
PACKAGE: APPS.INV_TRX_MGR
12.2.2
-
APPS.INV_LPN_TRX_PUB SQL Statements
12.1.1
-
APPS.INV_LPN_TRX_PUB SQL Statements
12.2.2
-
PACKAGE: APPS.INV_TRX_UTIL_PUB
12.1.1
-
PACKAGE: APPS.INV_TRX_UTIL_PUB
12.2.2
-
APPS.WMS_CONTAINER_PVT SQL Statements
12.1.1
-
APPS.WMS_CONTAINER_PVT SQL Statements
12.2.2
-
APPS.WMS_ITEM_LOAD SQL Statements
12.2.2
-
APPS.WMS_ITEM_LOAD SQL Statements
12.1.1
-
APPS.WMS_OP_INBOUND_PVT SQL Statements
12.1.1
-
APPS.WMS_OP_INBOUND_PVT SQL Statements
12.2.2
-
APPS.WMS_PACKING_WORKBENCH_PVT SQL Statements
12.1.1
-
APPS.WMS_PACKING_WORKBENCH_PVT SQL Statements
12.2.2
-
APPS.WMS_ITEM_LOAD dependencies on MTL_TRANSACTION_LOTS_TEMP
12.1.1
-
APPS.INV_TRX_UTIL_PUB SQL Statements
12.1.1
-
APPS.WMS_ITEM_LOAD dependencies on MTL_TRANSACTION_LOTS_TEMP
12.2.2
-
APPS.INV_TRX_UTIL_PUB SQL Statements
12.2.2
-
PACKAGE BODY: APPS.INV_TRX_UTIL_PUB
12.1.1
-
PACKAGE BODY: APPS.INV_TRX_UTIL_PUB
12.2.2
-
APPS.INV_LPN_TRX_PUB dependencies on FND_MESSAGE
12.1.1
-
APPS.INV_LPN_TRX_PUB dependencies on FND_MESSAGE
12.2.2
-
APPS.INV_TRX_UTIL_PUB dependencies on MTL_MATERIAL_TRANSACTIONS_TEMP
12.1.1
-
APPS.INV_TRX_UTIL_PUB dependencies on MTL_MATERIAL_TRANSACTIONS_TEMP
12.2.2
-
APPS.INV_LPN_TRX_PUB dependencies on MTL_TRANSACTION_LOTS_TEMP
12.1.1
-
APPS.WMS_TASK_DISPATCH_PUT_AWAY dependencies on MTL_TRANSACTION_LOTS_TEMP
12.1.1
-
APPS.INV_LPN_TRX_PUB dependencies on MTL_TRANSACTION_LOTS_TEMP
12.2.2
-
PACKAGE BODY: APPS.INV_LPN_TRX_PUB
12.1.1
-
APPS.WMS_TASK_DISPATCH_PUT_AWAY dependencies on MTL_TRANSACTION_LOTS_TEMP
12.2.2
-
APPS.WMS_TASK_DISPATCH_PUT_AWAY SQL Statements
12.1.1
-
APPS.INV_TRX_UTIL_PUB dependencies on MTL_MATERIAL_TRANSACTIONS
12.2.2
-
APPS.WMS_TASK_DISPATCH_PUT_AWAY SQL Statements
12.2.2
-
PACKAGE BODY: APPS.INV_LPN_TRX_PUB
12.2.2
-
APPS.INV_LPN_TRX_PUB dependencies on WMS_CONTAINER_PUB
12.1.1
-
APPS.WMS_OP_INBOUND_PVT dependencies on INV_TRX_UTIL_PUB
12.1.1
-
APPS.WMS_OP_INBOUND_PVT dependencies on INV_TRX_UTIL_PUB
12.2.2
-
APPS.INV_LPN_TRX_PUB dependencies on WMS_CONTAINER_PUB
12.2.2
-
PACKAGE BODY: APPS.WMS_CONTAINER_PVT
12.1.1
-
PACKAGE BODY: APPS.WMS_PACKING_WORKBENCH_PVT
12.2.2
-
PACKAGE BODY: APPS.WMS_PACKING_WORKBENCH_PVT
12.1.1
-
PACKAGE BODY: APPS.WMS_OP_INBOUND_PVT
12.2.2
-
PACKAGE BODY: APPS.WMS_OP_INBOUND_PVT
12.1.1
-
PACKAGE BODY: APPS.WMS_CONTAINER_PVT
12.2.2
-
APPS.INV_LPN_TRX_PUB dependencies on FND_MSG_PUB
12.1.1
-
PACKAGE BODY: APPS.WMS_ITEM_LOAD
12.2.2
-
PACKAGE BODY: APPS.WMS_ITEM_LOAD
12.1.1
-
APPS.INV_LPN_TRX_PUB dependencies on FND_MSG_PUB
12.2.2
-
APPS.WMS_CONTAINER_PVT dependencies on FND_MESSAGE
12.1.1
-
APPS.WMS_CONTAINER_PVT dependencies on FND_MESSAGE
12.2.2
-
APPS.INV_LPN_TRX_PUB dependencies on FND_API
12.1.1