Search Results get_serial_diff_wrp




Overview

APPS.INV_TXN_MANAGER_GRP is a Group (GRP) classified PL/SQL package in the Oracle E-Business Suite Inventory module. It functions as the batch-facing validation layer of the Inventory transaction manager architecture rather than as a transaction-insertion engine itself. Its principal business role is to accept a set of pending inventory transaction interface records (rows in the transaction interface tables) and subject each one to the full suite of Inventory validation rules before downstream processing commits or rejects them. This includes validating item and revision eligibility, subinventory and locator combinations, lot and serial attributes, accounting flexfield derivations, open period checks, and source-to-destination transfer logic.

The GRP classification reflects that the package bundles a related group of validation primitives used by the higher-level public API, INV_TXN_MANAGER_PUB. In the dependency hierarchy, INV_TXN_MANAGER_GRP references FND_API, INV_LOT_SEL_ATTR, and INV_TXN_MANAGER_PUB, and is in turn referenced by INV_TXN_MANAGER_PUB itself as well as by WIP manufacturing, process manufacturing (GME), and warehouse management (WMS) packages. This confirms its role as a shared validation service across Inventory, Work in Process, and Process Execution.

Key Procedures and Functions

Thirteen documented program units are exposed within the package:

  • VALIDATE_GROUP — validates an entire batch/group of transactions, orchestrating line-level checks across the whole set.
  • VALIDATE_LINES — validates the individual transaction lines belonging to the group.
  • VALIDATE_TRANSACTIONS — the core transaction validation routine invoked for the transaction set.
  • VALIDATE_ADDITIONAL_ATTR — validates supplementary, context-driven attributes that the standard checks do not cover.
  • GET_OPEN_PERIOD — resolves the open accounting period applicable to a transaction.
  • GETITEMID — resolves the inventory item identifier.
  • GETACCTID — resolves the accounting identifier for the transaction.
  • GETLOCID — resolves the locator identifier, typically for the source or destination location.
  • GETSRCID — resolves the source identifier (for example, source subinventory or source organization context).
  • GET_SERIAL_DIFF_WRP — a wrapper returning the serial number difference required for serial-controlled transactions.
  • TMPINSERT and TMPINSERT2 — temporary insertion helpers used to stage data during validation.

The parameter signatures are not documented in the ETRM metadata and should be confirmed against the package specification in the target environment.

Tables Accessed

The package reads and writes a broad set of Inventory, costing, and organization tables through APPS synonyms. Item and revision master validation relies on MTL_ITEM_REVISIONS and MTL_ITEM_SUB_DEFAULTS, while locator resolution draws on MTL_ITEM_LOCATIONS and MTL_ITEM_LOC_DEFAULTS. Inter-organization transfer logic uses MTL_INTERORG_PARAMETERS. Costing and accounting derivations reference CST_COST_GROUPS, CST_INV_LAYERS, and GL_CODE_COMBINATIONS. Organization context is obtained from HR_ALL_ORGANIZATION_UNITS and HR_ORGANIZATION_INFORMATION. Flexible context validation uses MTL_FLEX_CONTEXT, and disposition handling uses MTL_GENERIC_DISPOSITIONS. Routing and project-related checks reference BOM_OPERATIONAL_ROUTINGS and MRP_PROJECT_PARAMETERS. Process manufacturing transaction pairing uses GME_TRANSACTION_PAIRS.

Usage Notes

INV_TXN_MANAGER_GRP is not normally called directly by end users. It is invoked indirectly through INV_TXN_MANAGER_PUB and, by dependency, from WIP_MTI_PUB, WIP_MTLTEMPPROC_PRIV, GME_TRANSACTIONS_PVT, WMS_CATCH_WEIGHT_PVT, and WSMPLBMI. Custom code interfacing with Inventory should call the public API (INV_TXN_MANAGER_PUB) rather than the GRP package, since Oracle does not guarantee the GRP signatures as public interface. Validation is typically triggered by concurrent programs such as the transaction manager and by forms that process inventory transaction interface records.

Oracle Proprietary, Confidential Information — Legal Notices.