Search Results ra_site_uses_u1




Overview

AR.RA_SITE_USES_ALL is the Oracle Receivables (AR) transactional table that stores customer site use records — the business-purpose instances of a customer address. While AR.RA_ADDRESSES_ALL holds the physical address itself, RA_SITE_USES_ALL records how that address is used by the customer, for example as a Bill-To, Ship-To, Statement-To, Dunning-To, or Deliver-To location. Each row represents one such usage and carries the operational, financial, and tax attributes that govern transactions flowing through that site. In EBS 12.1.1 and 12.2.2, it is a core hub object for order-to-cash flows, referenced heavily by Order Management, Shipping, Payments, and Receivables modules.

The _ALL suffix indicates a multi-org (Operating Unit) aware table, controlled through the ORG_ID column. The heuristic Data Vault classification is hub-leaning: the table is centered on a stable business key (SITE_USE_ID) with many outbound and inbound foreign keys, but also carries descriptive and operational attributes that behave satellite-like. In practice it is best modeled as a hub with associated satellites for financial, shipping, and tax attributes. The table is owned by the AR schema and stored in tablespace APPS_TS_TX_DATA.

Key Information Stored

The documented schema contains 114 columns. The most significant are:

The business-key candidate documented by unique index is SITE_USE_ID; two non-unique indexes support address-based and concurrent-program access.

Common Use Cases and Queries

Typical scenarios include retrieving all ship-to sites for a customer, validating a Bill-To before invoice creation, and reporting on tax-exempt sites. A common join pattern is:

  • Joining RA_SITE_USES_ALL to RA_ADDRESSES_ALL on ADDRESS_ID to obtain street, city, and country details.
  • Joining to RA_CUSTOMERS via the customer's address/site relationships to produce a customer-site listing.
  • Filtering by SITE_USE_CODE = 'SHIP_TO' and PRIMARY_FLAG = 'Y' to isolate primary ship-to sites.
  • Using BILL_TO_SITE_USE_ID to resolve the bill-to for a given ship-to.

Sample pattern:

SELECT su.site_use_id, su.site_use_code, su.primary_flag, a.address1, a.city
FROM ra_site_uses_all su, ra_addresses_all a
WHERE su.address_id = a.address_id
AND su.org_id = :org_id
AND su.site_use_code = 'SHIP_TO';

Reporting use cases include customer master extracts, tax-exemption audits, credit and collection reporting (via the Dunning-To and Statement-To sites), and data migration validation where ORIG_SYSTEM_REFERENCE is used to map legacy identifiers.

Related Objects

The table participates in a dense relationship network. The most significant related objects are:

Because this is documented Oracle internal data, direct DML should be avoided; changes should flow through supported Receivables APIs such as the Customer Interface or the Trading Community Architecture (TCA) APIs.