Results for “delete_lot_ser_trx”
20 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
INV_PO_INTERFACE_GRP is an APPS-owned package body classified as a GRP (group) object within Oracle E-Business Inventory. Its documented purpose, reflected by its single procedure DELETE_LOT_SER_TRX and its underlying delegation to INV_TRX_UTIL_PUB, is to support the maintenance of lot and serial number transaction data associated with the Inventory-to-Purchasing interface. The package sits in the interface layer where inventory transaction records are staged and reconciled before final processing, and it provides a named, callable entry point for removing lot and serial association rows tied to a specific transaction temporary identifier.
The header timestamp ($Header: INVPOIGB.pls 120.0 2005/05/25) indicates the package body is stable and has not required structural revision, consistent with a thin wrapper whose logic resides in the underlying utility package. It is functionally adjacent to the purchasing receipt and inventory transaction interfaces, where lot and serial control must be validated and cleaned up when staged transactions are rejected, reprocessed, or cancelled.
Key Procedures and Functions
The package exposes a single documented procedure:
- DELETE_LOT_SER_TRX — Deletes lot and/or serial number detail records associated with a staged inventory transaction, as identified by the transaction temporary id. It accepts the transaction temp id, organization id, inventory item id, lot control code, and serial control code, and returns a status indicator to the caller. The lot control and serial control codes allow the procedure to determine which detail sets (lot-only, serial-only, or both) require removal for the given item. The procedure performs no logic of its own: it delegates directly to INV_TRX_UTIL_PUB.DELETE_LOT_SER_TRX, passing all parameters through unchanged and returning the resulting status. Callers therefore receive identical semantics to the public utility API, with INV_PO_INTERFACE_GRP serving as the interface-group entry point.
Tables Accessed
The ETRM metadata documents no direct table references for this package body. This is expected: because DELETE_LOT_SER_TRX is a pass-through wrapper, all DML is executed inside INV_TRX_UTIL_PUB against the underlying inventory transaction interface and lot/serial detail tables. Any table activity — deletion of lot and serial rows keyed by transaction temporary id, organization, and item — is therefore attributable to the utility package rather than to INV_PO_INTERFACE_GRP itself. Consequently, no row-level locking, no direct SELECT, INSERT, UPDATE, or DELETE statements, and no direct dependency on APPS synonym tables are recorded for this object.
Usage Notes
INV_PO_INTERFACE_GRP is intended for programmatic invocation rather than end-user form interaction. It is typically called from custom PL/SQL, correction scripts, or interface cleanup routines that need to purge lot and serial references for rejected or re-staged purchasing-to-inventory transactions. The metadata records zero referencing packages, indicating it is not part of a documented dependency chain within the ETRM repository and is not invoked by standard Oracle concurrent programs or forms as a documented call site.
When invoked, callers should supply a valid transaction temporary id together with the correct organization, item, lot control, and serial control values, and must inspect the returned status rather than assuming success. Because the procedure is a wrapper, error handling, validation, and commit semantics follow INV_TRX_UTIL_PUB; callers remain responsible for transaction control and for ensuring the referenced interface records are eligible for deletion. Custom code should call the public utility API directly where direct dependencies are preferred, reserving this package for contexts that specifically target the interface group entry point.