Search Results trxn_document_id




Overview

The IBY_TRXN_DOCUMENTS table is a core data repository within the Oracle E-Business Suite (EBS) Payments (IBY) module. Its primary function is to persistently store XML documents that are programmatically generated and associated with specific financial transactions. This table acts as a centralized document store, enabling the Payments module to manage and reference structured transaction-related data, such as credit applications, terms and conditions, or system messages, in a standardized XML format. Its role is critical for maintaining a complete audit trail and supporting the processing logic of complex payment flows by providing accessible, transaction-specific document metadata and content.

Key Information Stored

The table is designed to uniquely identify each stored XML document and link it to its relevant transaction. The key columns include TRXN_DOCUMENT_ID, which serves as the primary unique identifier for each document record. The TRXNMID column is a foreign key that links the document to its associated transaction record in the IBY_TRXN_SUMMARIES_ALL table. The DOCTYPE column categorizes the nature of the XML document, such as distinguishing a credit application from a terms and conditions document. The table's structure, with primary keys on both TRXN_DOCUMENT_ID and the combination of TRXNMID and DOCTYPE, ensures data integrity and supports efficient retrieval of documents by transaction or specific type.

Common Use Cases and Queries

A primary use case is retrieving all XML documents for a specific transaction for auditing or troubleshooting payment processing issues. For example, a support analyst might run a query to fetch document identifiers and types for a problematic transaction. Another common scenario involves joining to related application tables, such as IBY_F_T_CRDT_APPS_ALL_B, to pull the full XML content of a credit application for review. Sample SQL to list documents for a transaction would be: SELECT trxnm_id, document_type FROM iby_trxn_documents WHERE trxnm_id = :p_trxnm_id;. For reporting, this table is often used in conjunction with IBY_TRXN_SUMMARIES_ALL to create reports that correlate transaction summaries with their supporting electronic documentation.

Related Objects

The IBY_TRXN_DOCUMENTS table has defined foreign key relationships with several other Payments module tables, as documented in the ETRM metadata. Its primary relationship is with the transaction summary table: IBY_TRXN_DOCUMENTS.TRXNMID references IBY_TRXN_SUMMARIES_ALL. Furthermore, its TRXN_DOCUMENT_ID column is referenced as a foreign key by other tables that need to point to a specific XML document. These include IBY_F_T_CRDT_APPS_ALL_B, which references it twice for CREDIT_APP_XML_ID and TERMS_N_CONDITIONS_XML_ID, and IBY_G_T_MESSAGES, which references it for MESSAGE_XML_ID. These relationships solidify its role as the central hub for transactional XML data within the IBY schema.