Search Results validate_lot_merge_trx
Overview
INV_LOT_TRX_VALIDATION_PVT is a private PL/SQL package in the Oracle E-Business Suite Inventory module (APPS schema). Its business function is to validate lot-related transaction records before they are processed by the Inventory transaction manager. Specifically, the package supports three lot transaction scenarios: lot split, lot merge, and lot translate. For each scenario, the package retrieves the relevant records from the transaction interface tables and then invokes public validation APIs to confirm that the lots, result lots, material statuses, cost groups, and lot attributes are valid prior to the transaction being executed. This validation acts as a gatekeeping layer that prevents invalid lot transactions from reaching the inventory processing engine, thereby protecting inventory accuracy and data integrity.
Key Procedures and Functions
The ETRM documentation identifies three procedures within this package:
- VALIDATE_LOT_SPLIT_TRX — Validates records for lot split transactions. It gathers the lot split records from the transaction interface and calls the public validation APIs to verify the lots, result lots, material status, cost groups, and lot attributes.
- VALIDATE_LOT_MERGE_TRX — Validates records for lot merge transactions. As with the split procedure, it collects the merge records from the interface and applies the same set of public validation APIs. This is the procedure associated with the user's search term "validate_lot_merge_trx."
- VALIDATE_LOT_TRANSLATE_TRX — Validates records for lot translate transactions, applying the same validation pattern to the translate scenario.
Each procedure returns a standard return status, a message count and message data for error reporting, and a validation status flag indicating whether validation succeeded or failed. Parameter lists are not reproduced here; their signatures are defined internally and should be confirmed against the source.
Tables Accessed
The package reads and writes to several interface and base tables, referenced through APPS synonyms:
- MTL_TRANSACTIONS_INTERFACE — Source of the pending lot transaction records to be validated.
- MTL_TRANSACTION_LOTS_INTERFACE — Contains the lot-level detail for interface transactions.
- MTL_LOT_NUMBERS — Base lot master data used to validate lot existence and attributes.
- MTL_SERIAL_NUMBERS and MTL_SERIAL_NUMBERS_INTERFACE — Serial number data used in validation.
- MTL_SYSTEM_ITEMS — Item definition data supporting validation logic.
- MTL_TRANSACTION_TYPES — Transaction type definitions.
- MTL_PARAMETERS — Inventory organization parameters.
- WSM_PARAMETERS — Warehouse management parameters.
- DBMS_SQL and PLITBLM are used as dynamic SQL and PL/SQL table utilities within the package logic.
Usage Notes
This is a private (PVT) package and is not intended for direct invocation by end users or custom code. It is called internally by INV_TXN_MANAGER_PUB.process_transactions, the central transaction manager that drives inventory transaction processing. When a lot split, merge, or translate transaction flows through the transaction manager, this package validates the interface records before processing proceeds. Because it is private, Oracle does not guarantee its signature or behavior across releases, and customizations should call the public transaction manager API rather than referencing this package. It should be noted in context with its associated public validation APIs, which perform the actual lot, status, cost group, and attribute checks.
-
PACKAGE: APPS.INV_LOT_TRX_VALIDATION_PVT
12.1.1
-
PACKAGE: APPS.INV_LOT_TRX_VALIDATION_PVT
12.2.2
-
PACKAGE BODY: APPS.INV_LOT_TRX_VALIDATION_PVT
12.2.2
-
PACKAGE BODY: APPS.INV_LOT_TRX_VALIDATION_PVT
12.1.1
-
APPS.INV_LOT_TRX_VALIDATION_PVT dependencies on FND_MSG_PUB
12.2.2
-
APPS.INV_LOT_TRX_VALIDATION_PVT dependencies on FND_MSG_PUB
12.1.1
-
PACKAGE: APPS.INV_LOT_TRX_VALIDATION_PUB
12.1.1
-
PACKAGE: APPS.INV_LOT_TRX_VALIDATION_PUB
12.2.2
-
APPS.INV_LOT_TRX_VALIDATION_PVT dependencies on FND_API
12.2.2
-
APPS.INV_LOT_TRX_VALIDATION_PVT dependencies on FND_API
12.1.1
-
APPS.INV_LOT_TRX_VALIDATION_PVT dependencies on INV_LOT_TRX_VALIDATION_PUB
12.1.1
-
APPS.INV_LOT_TRX_VALIDATION_PVT dependencies on INV_LOT_TRX_VALIDATION_PUB
12.2.2
-
APPS.INV_LOT_TRX_VALIDATION_PVT dependencies on FND_MESSAGE
12.1.1
-
APPS.INV_LOT_TRX_VALIDATION_PVT dependencies on FND_MESSAGE
12.2.2
-
PACKAGE BODY: APPS.INV_TXN_MANAGER_PUB
12.1.1
-
PACKAGE BODY: APPS.INV_TXN_MANAGER_PUB
12.2.2
-
APPS.INV_TXN_MANAGER_PUB dependencies on INV_TXN_MANAGER_PUB
12.2.2
-
APPS.INV_TXN_MANAGER_PUB dependencies on INV_TXN_MANAGER_PUB
12.1.1
-
APPS.INV_TXN_MANAGER_PUB dependencies on INV_LOG_UTIL
12.1.1
-
APPS.INV_TXN_MANAGER_PUB dependencies on INV_LOG_UTIL
12.2.2