Search Results ar_interest_headers_pk




Overview

AR_INTEREST_HEADERS_ALL is the Oracle Receivables (AR) transaction table that stores Late Charge headers. A "late charge" in Receivables is the finance charge or interest a business levies on overdue customer invoices, debit memos, and chargebacks. Each row in this table defines a single late charge run: the customer or customer site being charged, the calculation method, the interest and penalty parameters, the currency, and the processing status. Its primary key is AR_INTEREST_HEADERS_PK, defined on INTEREST_HEADER_ID.

The table sits in the AR schema as a central transactional object. In addition to the primary key, a unique index AR_INTEREST_HEADERS_U1 (INTEREST_HEADER_ID) and AR_INTEREST_HEADERS_U2 (INTEREST_BATCH_ID, INTEREST_HEADER_ID) provide business-key candidates. The second index confirms that each late charge header is sequenced within its interest batch. From a Data Vault modeling perspective, this table is hub-leaning: INTEREST_HEADER_ID acts as a durable business key, while many descriptive and calculation attributes arriving from multiple foreign-key relationships behave like satellite and link content. The heuristic classification should be treated as a suggestion rather than a prescriptive model.

Key Information Stored

The 55 documented columns group into identification, calculation, and audit families. The most important are:

Business-key candidates are documented as the unique indexes on INTEREST_HEADER_ID and on (INTEREST_BATCH_ID, INTEREST_HEADER_ID), which should be preferred over surrogate values when de-duplicating source data.

Common Use Cases and Queries

Receivables reporting on late charge activity frequently begins with this table. A typical query joins headers to batches and lines to summarize charges by customer and period:

  • Identifying overdue late charges by status: SELECT interest_header_id, customer_id, currency_code, process_status FROM ar_interest_headers_all WHERE process_status = 'ERROR';
  • Aggregating charged invoices for a batch: join AR_INTEREST_LINES_ALL on INTEREST_HEADER_ID to total charges per header.
  • Reconciling to transactions: join RA_CUSTOMER_TRX_ALL on INTEREST_HEADER_ID to find invoices that generated or received a late charge.
  • Multi-currency analysis: group by CURRENCY_CODE and EXCHANGE_RATE_TYPE to review foreign currency late charge exposure.
  • Auditing accrual timing: filter on CHARGE_BEGIN_DATE, FINANCE_CHARGE_DATE, and LAST_ACCRUE_CHARGE_DATE.

Related Objects

The following objects are most significant, based on the documented foreign-key relationships: