Search Results csi_rma_receipt_pub
Overview
CSI_RMA_RECEIPT_PUB is a public PL/SQL API within the Oracle E-Business Suite (EBS) Customer Service Intelligence (CSI) module, shipped in the APPS schema. Its principal business function is to process and validate Return Material Authorization (RMA) receipts against inventory material transactions, specifically in the context of item instance tracking and installed base management. When a customer returns goods under an RMA, the receiving organization must create the corresponding inventory transaction while simultaneously updating the associated item instance records that CSI maintains for the installed base. This package bridges the Oracle Order Management RMA flow and the CSI repository of customer product instances.
The package is declared with AUTHID CURRENT_USER, meaning it executes with the privileges of the calling user rather than the definer, which is consistent with standard EBS public API conventions. It carries the header revision 120.1.12020000.2 dated 2012/12/05, indicating it was certified for the 12.1.1 and 12.2.2 release lines. It defines a public record type, mtl_txn_rec, which encapsulates the attributes of an inventory material transaction — including transaction ID, order line ID, inventory item, organization, revision, subinventory, locator, lot and serial numbers, quantities, UOM, transaction date, transaction type, and party/customer identifiers — initialised to FND_API.G_MISS_* sentinels for change-detection semantics.
Key Procedures and Functions
The documented package exposes five procedures and functions:
- GET_RMA_INFO — Retrieves RMA and inventory material transaction information for a given receipt context, populating the
mtl_txn_recstructure and related data used by downstream processing. - GET_SUB_TYPE_REC — Derives the transaction sub-type record required to classify the RMA receipt, drawing on the configured CSI source transaction type definitions.
- DECODE_MESSAGE — Translates internal message codes or error tokens into user-readable text, following the standard EBS API message-decoding pattern.
- RMA_RECEIPT — The core public entry point. It performs the RMA receipt processing, creating or reconciling the material transaction and updating the associated CSI item instance and transaction line records.
- CHECK_AND_BREAK_RELATION — Validates and, where required, severs the relationship between an item instance and its prior transaction line, ensuring referential integrity in the installed base when goods are returned.
Tables Accessed
The package reads and writes several CSI and inventory tables through APPS synonyms:
- CSI_ITEM_INSTANCES, CSI_T_TRANSACTION_LINES, CSI_T_TXN_LINE_DETAILS — the installed base instance and transaction tracking tables that record the return movement.
- CSI_I_PARTIES, CSI_IP_ACCOUNTS, CSI_SOURCE_IB_TYPES — party, account, and source-type definitions governing instance ownership and classification.
- MTL_MATERIAL_TRANSACTIONS, MTL_PARAMETERS, MTL_SECONDARY_INVENTORIES, MTL_SYSTEM_ITEMS, MTL_SYSTEM_ITEMS_B — inventory transaction creation, organization defaults, subinventory validation, and item attributes.
- HZ_CUST_ACCOUNTS, HZ_CUST_ACCT_SITES_ALL, HZ_CUST_SITE_USES_ALL, HR_ALL_ORGANIZATION_UNITS — customer account, site, and organization validation.
Usage Notes
CSI_RMA_RECEIPT_PUB is typically invoked from Oracle Order Management and Inventory receiving flows when an RMA is received, and is referenced by at least one other package within the EBS code base. Custom extensions and integrations that need to register or reconcile returned goods against the installed base should call the RMA_RECEIPT procedure after populating the mtl_txn_rec structure. Callers should observe standard EBS API conventions: initialise attributes to FND_API.G_MISS_*, handle the DECODE_MESSAGE output for error reporting, and invoke the API within a properly managed transaction boundary. Because the package runs under AUTHID CURRENT_USER, appropriate grants must exist for the invoking schema.
-
PACKAGE: APPS.CSI_RMA_RECEIPT_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSI_RMA_RECEIPT_PUB, status:VALID,
-
PACKAGE: APPS.CSI_RMA_RECEIPT_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSI_RMA_RECEIPT_PUB, status:VALID,
-
PACKAGE BODY: APPS.CSI_RMA_RECEIPT_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CSI_RMA_RECEIPT_PUB, status:VALID,
-
PACKAGE BODY: APPS.CSI_RMA_RECEIPT_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSI_RMA_RECEIPT_PUB, status:VALID,
-
VIEW: APPS.CSI_TXN_SUB_TYPES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_TXN_SUB_TYPES, object_name:CSI_TXN_SUB_TYPES, status:VALID,
-
SYNONYM: APPS.CSI_SOURCE_IB_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSI_SOURCE_IB_TYPES, status:VALID,
-
VIEW: APPS.CSI_TXN_SUB_TYPES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_TXN_SUB_TYPES, object_name:CSI_TXN_SUB_TYPES, status:VALID,
-
PACKAGE: APPS.CSI_PROCESS_TXN_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSI_PROCESS_TXN_PVT, status:VALID,
-
PACKAGE: APPS.CSI_PROCESS_TXN_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSI_PROCESS_TXN_GRP, status:VALID,
-
PACKAGE: APPS.CSI_PROCESS_TXN_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSI_PROCESS_TXN_PVT, status:VALID,
-
PACKAGE: APPS.CSI_T_TXN_DETAILS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSI_T_TXN_DETAILS_PVT, status:VALID,
-
SYNONYM: APPS.CSI_SOURCE_IB_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSI_SOURCE_IB_TYPES, status:VALID,
-
PACKAGE: APPS.CSI_T_TXN_DETAILS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSI_T_TXN_DETAILS_PVT, status:VALID,
-
PACKAGE: APPS.OE_INSTALL_BASE_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_INSTALL_BASE_UTIL, status:VALID,
-
PACKAGE: APPS.OE_INSTALL_BASE_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_INSTALL_BASE_UTIL, status:VALID,
-
PACKAGE: APPS.CSI_PROCESS_TXN_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSI_PROCESS_TXN_GRP, status:VALID,
-
PACKAGE: APPS.CSI_RMA_RECEIPT_PUB
12.1.1
-
PACKAGE: APPS.CSI_RMA_RECEIPT_PUB
12.2.2
-
PACKAGE: APPS.CSI_ITEM_INSTANCE_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSI_ITEM_INSTANCE_PVT, status:VALID,
-
PACKAGE: APPS.CSI_CZ_INT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSI_CZ_INT, status:VALID,
-
PACKAGE: APPS.CSI_CZ_INT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSI_CZ_INT, status:VALID,
-
PACKAGE BODY: APPS.CSI_INV_TXNSTUB_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSI_INV_TXNSTUB_PKG, status:VALID,
-
PACKAGE BODY: APPS.CSI_INV_TXNSTUB_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CSI_INV_TXNSTUB_PKG, status:VALID,
-
PACKAGE: APPS.CSI_T_TXN_DETAILS_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSI_T_TXN_DETAILS_GRP, status:VALID,
-
PACKAGE: APPS.CSI_T_TXN_DETAILS_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSI_T_TXN_DETAILS_GRP, status:VALID,
-
PACKAGE: APPS.CSI_UTL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSI_UTL_PKG, status:VALID,
-
PACKAGE: APPS.CSI_ITEM_INSTANCE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSI_ITEM_INSTANCE_PVT, status:VALID,
-
SYNONYM: APPS.CSI_IP_ACCOUNTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSI_IP_ACCOUNTS, status:VALID,
-
SYNONYM: APPS.CSI_T_TRANSACTION_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSI_T_TRANSACTION_LINES, status:VALID,
-
SYNONYM: APPS.CSI_IP_ACCOUNTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSI_IP_ACCOUNTS, status:VALID,
-
SYNONYM: APPS.CSI_T_TXN_LINE_DETAILS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSI_T_TXN_LINE_DETAILS, status:VALID,
-
SYNONYM: APPS.CSI_T_TXN_LINE_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSI_T_TXN_LINE_DETAILS, status:VALID,
-
SYNONYM: APPS.CSI_T_TRANSACTION_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSI_T_TRANSACTION_LINES, status:VALID,
-
PACKAGE: APPS.CSI_UTILITY_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSI_UTILITY_GRP, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.CSI_UTILITY_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSI_UTILITY_GRP, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.MTL_UNIT_TRANSACTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_UNIT_TRANSACTIONS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.CSI_I_PARTIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSI_I_PARTIES, status:VALID,
-
SYNONYM: APPS.MTL_UNIT_TRANSACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_UNIT_TRANSACTIONS, status:VALID,
-
PACKAGE: APPS.CSI_GEN_UTILITY_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSI_GEN_UTILITY_PVT, status:VALID,
-
PACKAGE: APPS.CSI_ITEM_INSTANCE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSI_ITEM_INSTANCE_PUB, status:VALID,
-
SYNONYM: APPS.CSI_I_PARTIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSI_I_PARTIES, status:VALID,
-
PACKAGE: APPS.CSI_T_DATASTRUCTURES_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSI_T_DATASTRUCTURES_GRP, status:VALID,
-
PACKAGE: APPS.XNP_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XNP_MESSAGE, status:VALID,
-
PACKAGE: APPS.XNP_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XNP_MESSAGE, status:VALID,
-
PACKAGE: APPS.CSI_GEN_UTILITY_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSI_GEN_UTILITY_PVT, status:VALID,
-
PACKAGE: APPS.CSI_T_DATASTRUCTURES_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSI_T_DATASTRUCTURES_GRP, status:VALID,