Search Results validate_lot_translate
Overview
INV_LOT_TRX_VALIDATION_PVT is a private (PVT) PL/SQL package body owned by APPS in Oracle E-Business Suite Release 12.1.1 and 12.2.2. It supports Oracle Inventory's lot-controlled transaction processing by validating the lot-level content of pending inventory transactions before they are committed. The package is invoked by the public API layer that sits above it, and it is referenced by one additional package in the Inventory module, confirming its role as an internal validation utility rather than a directly callable interface.
The package addresses the three principal ways lot numbers are manipulated in a transaction: translation (moving a lot number between organizations or renumbering), splitting (breaking a quantity from one lot into an additional lot), and merging (combining lots into one). In each case, the package confirms that the lot being referenced exists, belongs to the correct item and organization, and satisfies the setup defined in inventory parameters and transaction types before the interface record is permitted to proceed to the transaction processor.
Key Procedures and Functions
Three documented procedures constitute the validation surface of this package:
- VALIDATE_LOT_SPLIT_TRX — Validates a pending lot split transaction. It verifies that the source lot and the newly created target lot are consistent with the item, organization, and transaction type defined on the interface record, and that the split quantity is permissible.
- VALIDATE_LOT_MERGE_TRX — Validates a pending lot merge transaction. It confirms that the lots being consolidated are eligible for merging and that the resulting lot reference is valid for the transaction being processed.
- VALIDATE_LOT_TRANSLATE_TRX — The procedure most commonly associated with the search term "validate_lot_translate." It validates a lot translation transaction, checking the lot number, its attributes, and its organizational context before the translation is allowed to proceed.
The package also contains internal helper logic, reflected in the header comments, that constructs a dynamic SQL statement to retrieve lot attributes from either the transaction interface lot table or the master lot table, using NVL to prefer interface values and fall back to the master definition. This is driven by a global attribute table populated from INV_LOT_SEL_ATTR.
Tables Accessed
The package reads and writes the following documented tables through APPS synonyms:
- MTL_LOT_NUMBERS — the master lot definition, source of lot attributes, descriptions, dates, and physical characteristics.
- MTL_TRANSACTION_LOTS_INTERFACE — the pending lot-level interface rows being validated.
- MTL_TRANSACTIONS_INTERFACE — the header transaction interface record supplying transaction type, item, and organization context.
- MTL_SYSTEM_ITEMS and MTL_PARAMETERS — item and organization setup used to confirm lot control and validation rules.
- MTL_TRANSACTION_TYPES — determines whether the transaction type permits the requested lot operation.
- MTL_SERIAL_NUMBERS and MTL_SERIAL_NUMBERS_INTERFACE — serial-to-lot relationships relevant to the transaction.
- WSM_PARAMETERS and DBMS_SQL — supporting validation and dynamic SQL execution.
Usage Notes
This package is not intended for direct invocation by end users or custom code. It is called internally by the Inventory transaction validation framework when lot-controlled transactions are processed through the transaction manager, including transactions submitted from the Inventory transaction forms and from interface-based loads such as open interfaces and concurrent interface programs. Custom integrators who populate MTL_TRANSACTIONS_INTERFACE with lot split, merge, or translation records trigger this logic indirectly when the transaction manager processes those rows. Because the procedures are private, any customization should be accomplished by extending or wrapping the public APIs rather than by calling this package directly.
-
PACKAGE BODY: APPS.INV_LOT_TRX_VALIDATION_PVT
12.2.2
-
PACKAGE BODY: APPS.INV_LOT_TRX_VALIDATION_PVT
12.1.1
-
PACKAGE BODY: APPS.INV_LOT_TRX_VALIDATION_PUB
12.1.1
-
PACKAGE BODY: APPS.INV_LOT_TRX_VALIDATION_PUB
12.2.2
-
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 MTL_PARAMETERS
12.1.1
-
APPS.INV_LOT_TRX_VALIDATION_PVT dependencies on MTL_PARAMETERS
12.2.2
-
APPS.INV_LOT_TRX_VALIDATION_PUB dependencies on FND_PROFILE
12.1.1
-
APPS.INV_LOT_TRX_VALIDATION_PUB dependencies on FND_PROFILE
12.2.2
-
APPS.INV_LOT_TRX_VALIDATION_PVT dependencies on MTL_TRANSACTIONS_INTERFACE
12.1.1
-
APPS.INV_LOT_TRX_VALIDATION_PVT dependencies on MTL_TRANSACTIONS_INTERFACE
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
-
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
-
APPS.INV_LOT_TRX_VALIDATION_PUB dependencies on FND_MSG_PUB
12.1.1
-
APPS.INV_LOT_TRX_VALIDATION_PUB dependencies on FND_MSG_PUB
12.2.2
-
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_API
12.2.2
-
APPS.INV_LOT_TRX_VALIDATION_PVT dependencies on FND_API
12.1.1
-
APPS.INV_LOT_TRX_VALIDATION_PUB dependencies on FND_API
12.2.2
-
APPS.INV_LOT_TRX_VALIDATION_PUB dependencies on FND_API
12.1.1