Search Results xtr_market_data_interface




Overview

The XTR_MARKET_DATA_INTERFACE table is a core data interface object within the Oracle Treasury (XTR) module of Oracle E-Business Suite (EBS) versions 12.1.1 and 12.2.2. It serves as a staging table designed to facilitate the bulk import of external market data into the Treasury application. Its primary role is to act as a temporary holding area where data from third-party financial data providers or internal systems can be loaded, validated, and subsequently transferred into the permanent market data tables of Oracle Treasury. This interface-driven approach ensures data integrity, allows for cleansing and transformation, and provides a controlled mechanism for updating critical financial information used for valuation, risk analysis, and deal processing.

Key Information Stored

While the provided ETRM metadata does not list specific columns, the table's description and foreign key relationship indicate it stores records intended for the XTR_MARKET_PRICES table. Based on its function, typical columns would include identifiers for financial instruments, price or rate values, valuation dates, and source system references. A critical column is REF_CODE, which acts as a foreign key to the XTR_MARKET_PRICES table, linking the interface records to the target market data. Other common attributes would likely include INTEREST_RATE, PRICE, CURRENCY_CODE, MARKET_DATA_DATE, and STATUS fields to track the processing state of each interface record (e.g., 'NEW', 'PROCESSED', 'ERROR').

Common Use Cases and Queries

The primary use case is the automated nightly or intraday refresh of market data, such as foreign exchange rates, interest rate curves, and security prices. A scheduled concurrent program or a custom PL/SQL procedure would typically poll this table for new records with a specific status, validate them against Treasury business rules, and then insert or update the XTR_MARKET_PRICES table. Common SQL operations include querying for unprocessed records and monitoring load errors.

  • Selecting pending records for processing: SELECT * FROM XTR_MARKET_DATA_INTERFACE WHERE status = 'NEW' ORDER BY market_data_date;
  • Identifying failed interface records: SELECT ref_code, error_message FROM XTR_MARKET_DATA_INTERFACE WHERE status = 'ERROR';
  • Purging successfully processed data: DELETE FROM XTR_MARKET_DATA_INTERFACE WHERE status = 'PROCESSED' AND creation_date < SYSDATE - 7;

Related Objects

The table has a direct and documented relationship with a key permanent table in the Treasury module, as per the provided foreign key metadata.

  • XTR_MARKET_PRICES: This is the primary target table. The interface table references it via the foreign key on the column XTR_MARKET_DATA_INTERFACE.REF_CODE. This relationship ensures that data fed through the interface corresponds to valid, predefined financial instruments or rate codes within the Treasury system before being transferred.