Search Results rosetta_table_copy_in_p1
Overview
INV_OA_GEN_PVT is a private PL/SQL package body owned by APPS in Oracle E-Business Suite Release 12.1.1 and 12.2.2. It belongs to the Inventory (INV) module and is classified as a PVT (private) API, meaning it is intended for internal use by Oracle's own code rather than as a supported public integration point. The package supports Oracle Applications (OA) integration, specifically handling the transfer of assembly lot and serial number data between the Oracle EBS database and JTF (Java Technology Foundation / Oracle Applications Framework) client-tier structures.
The central problem the package solves is data type impedance mismatch. JTF-based UI components communicate with the database using flat PL/SQL tables of the type JTF_VARCHAR2_TABLE_100, while inventory logic operates on richly structured collections such as assembly_lot_sel_tbl_type, whose elements carry separate lot_number and serial_number attributes. The two rosetta_table_copy_* procedures perform the translation between these representations, which is why the user's search term "rosetta_table_copy_in_p1" resolves to this object.
Key Procedures and Functions
- BUILD_ASSEMBLY_LOT_SERIAL_TBL — Accepts an incoming assembly lot/serial selection collection and loads it into the temporary staging table MTL_ALLOCATIONS_GTMP. The documented header shows it returns standard error-handling OUT parameters (
x_return_status,x_msg_count,x_msg_data) plus the input collection parameter. The body clears the staging table with a DELETE before performing a row-by-row insert loop over the collection. Notably, an earlierFORALLbulk-insert implementation appears commented out in the source, leaving the slower cursor-based loop in effect. - ROSETTA_TABLE_COPY_IN_P1 — Converts two flat JTF varchar2 tables (one holding lot numbers, one holding serial numbers) into the structured
assembly_lot_sel_tbl_typecollection. It walks the first table usingFIRST/NEXTtraversal, populating correspondinglot_numberandserial_numberelements by position. This is the procedure the user searched for. - ROSETTA_TABLE_COPY_OUT_P1 — Performs the reverse mapping, exploding the structured collection back into two
JTF_VARCHAR2_TABLE_100tables for consumption by the JTF/client layer. It handles the empty or null collection case by returning empty JTF tables, and otherwise extends both output tables to the source count before filling them.
Tables Accessed
- MTL_ALLOCATIONS_GTMP — A global temporary table used to stage lot and serial records for the allocation process. BUILD_ASSEMBLY_LOT_SERIAL_TBL deletes existing rows and inserts the incoming selection, making it a transient work area rather than a persistent store.
- PLITBLM — Referenced through APPS synonyms; this is a standard Oracle EBS PL/SQL index-by table work area used internally for bulk processing and collection handling.
Usage Notes
Because INV_OA_GEN_PVT is marked PVT, it is invoked indirectly through Oracle's OA/JTF framework rather than by customer code. Typical call paths include OA-based Inventory forms or pages that present lot and serial selection dialogs, where the JTF client passes flat tables that must be converted into structured PL/SQL collections before allocation logic runs. The package is referenced by zero other documented packages, confirming it sits at a leaf position in the call graph and is tightly coupled to its calling UI layer.
Developers inspecting this package are usually troubleshooting lot/serial allocation behavior or tracing a "rosetta" conversion failure. Direct invocation from custom code is discouraged; a supported public API should be used instead. Any modification would also be overwritten by Oracle patches, since the header indicates the file is marked noship.
-
PACKAGE BODY: APPS.INV_OA_GEN_PVT
12.2.2
-
PACKAGE BODY: APPS.INV_OA_GEN_PVT
12.1.1
-
PACKAGE: APPS.AMS_DISCOVERER_PVT_W
12.2.2
-
PACKAGE: APPS.AMS_DISCOVERER_PVT_W
12.1.1
-
PACKAGE: APPS.OKC_AQ_PVT_W
12.1.1
-
PACKAGE: APPS.OKC_AQ_PVT_W
12.2.2
-
PACKAGE BODY: APPS.AMS_DISCOVERER_PVT_W
12.1.1
-
PACKAGE BODY: APPS.OKC_AQ_PVT_W
12.2.2
-
PACKAGE BODY: APPS.AMS_DISCOVERER_PVT_W
12.2.2
-
PACKAGE BODY: APPS.OKC_AQ_PVT_W
12.1.1
-
PACKAGE: APPS.AHL_UTIL_PKG_W
12.1.1
-
PACKAGE: APPS.AMS_IBA_SEGMENTS_PUB_W
12.2.2
-
PACKAGE: APPS.AMS_IBA_SEGMENTS_PUB_W
12.1.1
-
PACKAGE: APPS.EAM_SAFETY_REPORTS_PVT_W
12.2.2
-
PACKAGE BODY: APPS.ARW_SEARCH_CUSTOMERS_W
12.1.1
-
PACKAGE: APPS.JTF_CAL_GRANTS_PVT_W
12.1.1
-
PACKAGE: APPS.AHL_UTIL_PKG_W
12.2.2
-
PACKAGE: APPS.ARW_SEARCH_CUSTOMERS_W
12.2.2
-
PACKAGE: APPS.OKL_AM_SV_WRITEDOWN_PVT_W
12.1.1
-
PACKAGE: APPS.OKL_AM_SV_WRITEDOWN_PVT_W
12.2.2
-
PACKAGE BODY: APPS.ARW_SEARCH_CUSTOMERS_W
12.2.2
-
PACKAGE: APPS.JTF_CAL_GRANTS_PVT_W
12.2.2
-
PACKAGE: APPS.ARW_SEARCH_CUSTOMERS_W
12.1.1
-
PACKAGE: APPS.OKL_VP_STS_PUB_W
12.1.1
-
PACKAGE: APPS.OKL_AM_RV_WRITEDOWN_PVT_W
12.2.2
-
PACKAGE: APPS.AMS_LIST_RUNNING_TOTAL_PVT_W
12.2.2
-
PACKAGE: APPS.IEM_AMV_PVT_W
12.2.2
-
PACKAGE: APPS.OZF_PRICE_LIST_REPORT_PVT_W
12.2.2
-
PACKAGE: APPS.IEM_AMV_PVT_W
12.1.1
-
PACKAGE: APPS.OKL_AM_RV_WRITEDOWN_PVT_W
12.1.1
-
PACKAGE: APPS.AMS_LIST_RUNNING_TOTAL_PVT_W
12.1.1
-
PACKAGE: APPS.UMX_REGISTRATION_PVT_W
12.1.1
-
PACKAGE: APPS.AMS_LIST_SRC_MAPPING_W
12.1.1
-
PACKAGE: APPS.AMS_LIST_SRC_MAPPING_W
12.2.2
-
PACKAGE BODY: APPS.OKL_VP_STS_PUB_W
12.2.2
-
PACKAGE: APPS.OZF_PRICE_LIST_REPORT_PVT_W
12.1.1
-
PACKAGE: APPS.OKL_VP_STS_PVT_W
12.1.1
-
PACKAGE: APPS.JTF_UM_RESP_INFO_PVT_W
12.1.1
-
PACKAGE: APPS.PV_CMDASHBOARD_UTIL_W
12.1.1
-
PACKAGE: APPS.OKL_SPLIT_CONTRACT_PVT_W
12.2.2
-
PACKAGE: APPS.PA_PWP_INVOICE_LINKS_W
12.1.1
-
PACKAGE: APPS.OKL_VP_STS_PUB_W
12.2.2
-
PACKAGE: APPS.FND_UPDATE_USER_PREF_PUB_W
12.2.2
-
PACKAGE BODY: APPS.OKL_VP_STS_PVT_W
12.2.2
-
PACKAGE BODY: APPS.OKL_VP_STS_PUB_W
12.1.1
-
PACKAGE: APPS.EAM_PM_LAST_SERVICE_PUB_W
12.1.1
-
PACKAGE: APPS.CN_IMPORT_PVT_W
12.2.2
-
PACKAGE: APPS.CN_IMPORT_PVT_W
12.1.1
-
PACKAGE: APPS.OKL_VP_STS_PVT_W
12.2.2
-
PACKAGE: APPS.HZ_UI_UTIL_PKG_W
12.1.1